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
- mdgm-ntgrNETGEAR Employee RetiredIf you connect the disk to a computer running Ubuntu you should be able to do something like this (I think, not sure if these are all the steps):
# sudo su
# apt-get install lvm2
# vgscan
# vgchange -ay c
# mount /dev/c/c/ /mnt
There is a page describing how to mount Sparc ReadyNAS drives in x86 linux, but x86 and ARM NAS use the standard block size so there is no need for "fuseext2".
Other alternative would be to power down NAS, remove all disks (label order), put 2TB disk in NAS, power on, backup data, power off, put disks back in same order as before, power on, verify things are working fine, hot-add 2TB disk (add while NAS is on), 2TB disk will be wiped etc., restore data from backup (you could restore the data backed up from the 2TB disk before inserting the 2TB disk if you prefer). - Thanks! I'll give the ubuntu mounting a try.
I don't have enough HDs right now to do another backup of the data. - mdgm-ntgrNETGEAR Employee RetiredNote if you already mount stuff at /mnt (or in it) you could create a new directory and mount to that.
- ok, I'm running ubuntu from a live cd. will that be a problem?
when i execute vgscan, i receive:
Reading all physical volumes, this may take a while.
No physical volumes available. - mdgm-ntgrNETGEAR Employee RetiredIs lvm2 installed?
- i believe so. here is my terminal output:
ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# apt-get install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
watershed
The following NEW packages will be installed:
lvm2 watershed
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 429 kB of archives.
After this operation, 1,331 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ oneiric/main watershed i386 5 [10.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ oneiric/main lvm2 i386 2.02.66-4ubuntu3 [419 kB]
Fetched 429 kB in 2s (196 kB/s)
Selecting previously deselected package watershed.
(Reading database ... 132576 files and directories currently installed.)
Unpacking watershed (from .../archives/watershed_5_i386.deb) ...
Selecting previously deselected package lvm2.
Unpacking lvm2 (from .../lvm2_2.02.66-4ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Setting up watershed (5) ...
update-initramfs is disabled since running on read-only media
Setting up lvm2 (2.02.66-4ubuntu3) ...
update-initramfs is disabled since running on read-only media
root@ubuntu:/home/ubuntu# vgscan
Reading all physical volumes. This may take a while...
No volume groups found
root@ubuntu:/home/ubuntu# vgscan
Reading all physical volumes. This may take a while...
No volume groups found - mdgm-ntgrNETGEAR Employee RetiredWhat happens if you do
mdadm --assemble --scan
Then attempt to do a vgscan? - This worked. I am able to view the files. I am having difficulty connecting to the readynas with nautilus, however. I can't login with smb and afp gives me an error when i copy the files.
Would it be safe to plug the drive into the front usb port on the readynas and use a backup job to copy the data? - PapaBear1ApprenticeLooking at your drive sizes, you still have a problem. You said you offloaded almost 2TB of data onto the 2TB drive. You then removed it and added 3x500GB and 1x1TB drive. The system will use the 1TB as the partiy disk leaving only an array with approximately 1.5TB of space, so you can't add almost 2TB of data.
- Since my original posting, I have a different collection of drives. Here is my new set:
3x500
1x750
1x1TB
1x2TB
I have the first 5 disks in place and the system is re-synching the data. it says i should have 2.29ish TB of space. Also, on the 2TB disk, there is a 500GB iscsi target which has replaceable data if needed.
Does anyone have any experience plugging in a disk from a previous config via usb? I'm having trouble getting the files to transfer over the network in ubuntu, and this seems like a more direct route. I just don't want to have it repartition the drive when i plug it in or anything.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!