NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
brettgavin
Feb 12, 2012Tutor
Mount previously created raid via USB
Hi,
Please forgive me if this has already been covered, but I didn't find it.
I set up my Pro6 the other day with one 2TB disk and planned to add my other, smaller disks later. I didn't realize that Xraid2 requires that the smaller disks be the first disks in the volume. So, I offloaded almost 2TB worth of data onto the first disk. I inserted the first of my smaller disks, and the readynas displayed an error about the size of the disk being to small. I pulled the 2TB disk and did a factory reset with one of the small disks in bay 1. I have since recreated the raid with 4 disks (3x500, 1x1000).
Here's what I would like to do:
option A:
either plug the 2TB disk into the Readynas via USB and do a direct file copy from the 2TB to the internal volume;
or
option B:
plug the disk into the computer using ubuntu or knoppix, mount the 2TB, and push it over the network to the readynas.
My questions are:
is option A possible? I don't want it to erase the disk and create a new partition.
if option A isn't going to work, what is the best procedure for accomplishing option B?
Thanks in advance,
Brett
Please forgive me if this has already been covered, but I didn't find it.
I set up my Pro6 the other day with one 2TB disk and planned to add my other, smaller disks later. I didn't realize that Xraid2 requires that the smaller disks be the first disks in the volume. So, I offloaded almost 2TB worth of data onto the first disk. I inserted the first of my smaller disks, and the readynas displayed an error about the size of the disk being to small. I pulled the 2TB disk and did a factory reset with one of the small disks in bay 1. I have since recreated the raid with 4 disks (3x500, 1x1000).
Here's what I would like to do:
option A:
either plug the 2TB disk into the Readynas via USB and do a direct file copy from the 2TB to the internal volume;
or
option B:
plug the disk into the computer using ubuntu or knoppix, mount the 2TB, and push it over the network to the readynas.
My questions are:
is option A possible? I don't want it to erase the disk and create a new partition.
if option A isn't going to work, what is the best procedure for accomplishing option B?
Thanks in advance,
Brett
51 Replies
Replies have been turned off for this discussion
- oh man. thanks. it's getting late here.
now i see the edit... i'm starting to doubt myself... :wink: - it was successful.
root@ubuntu:/home/ubuntu# vgscan
Reading all physical volumes. This may take a while...
Found volume group "c" using metadata type lvm2
root@ubuntu:/home/ubuntu# vgrename /dev/c /dev/oldvol
Volume group "c" successfully renamed to "oldvol"
root@ubuntu:/home/ubuntu#
can i mount it to the readynas now? - mdgm-ntgrNETGEAR Employee RetiredYes you should be able to use mdadm to stop the RAID
mdadm --stop --scan
then disconnect it, connect it to the NAS and mount it.
mdadm --assemble --scan
vgscan
vgchange -ay oldvol
mkdir -p /oldvol
mount /dev/oldvol/oldvol /oldvol
You can then use e.g. "cp" to copy the files across. - would you look at that...
everything is copying :D
I'll let you know how it goes in the morning!
Thank you for your help these past few days! - mdgm-ntgrNETGEAR Employee RetiredYou're welcome!
Glad to be of help. - Wow! that was quite a project you helped me with. Thanks again.
All of the data from the first array has now been copied to the new array. The disk has been inserted into slot 5 and is rebuilding as I type. One of my HDs to go in the readynas has failed the SMART test, so thats a bummer, but it'll be fine for a while without the extra space. - mdgm-ntgrNETGEAR Employee RetiredGlad to hear!
Pity about that problem disk, but disks can and do fail at any time.
I do recommend you backup important data primarily stored on your ReadyNAS regularly. - I have a backup solution in place that I'll re-setup as soon as it finishes syncing.
There was something I was going to ask you right before I read your post... now that thought's gone... another day, i guess... - Oh!
To clean up what we did, I need to remove the /oldvol directory. How should I set the permissions inside /media? This morning I moved a folder into another via AFP and copy portion of the move failed due to permissions, but the original cut portion succeeded and deleted the folder. Should I chown it all to nobody and chmod it to 666? - mdgm-ntgrNETGEAR Employee RetiredYou can reset ownership and permissions by going to Shares > Share Listing > Sharename > CIFS and then going to the Advanced Options tab, setting owner and group, set permissions for existing files and folders and clicking Apply.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!