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
- 5.
It has recognized that it's present. It shows in the volumes section of the web interface. But, it shows with "no filesystem". - mdgm-ntgrNETGEAR Employee RetiredWhat happens if you do the following?:
mdadm --assemble --scan gavinbox:/dev# mdadm --assemble --scan
mdadm: /dev/md/ubuntu:333 has been started with 1 drive (out of 2).
mdadm: /dev/md/ubuntu:222 has been started with 1 drive (out of 2).
mdadm: /dev/md/ubuntu:111 has been started with 1 drive.
gavinbox:/dev#
ubuntu:333 should be the partition with the data on it- mdgm-ntgrNETGEAR Employee RetiredO.K. That looks good.
Now do a
vgscan - Here's what I receive:
gavinbox:/dev# vgscan
Reading all physical volumes. This may take a while...
WARNING: Duplicate VG name c: Existing MKGJNt-RKEh-Yudt-7E5Y-85rF-Zdqf-4UDZlI (created here) takes precedence over IRRhWe-NS8K-Caiv-vcho-ZlyM-2zZQ-QO9dFv
Found volume group "c" using metadata type lvm2
Found volume group "c" using metadata type lvm2
gavinbox:/dev# - mdgm-ntgrNETGEAR Employee RetiredO.K. You'll need to
do
mdadm --stop /dev/md/ubuntu:333
mdadm --stop /dev/md/ubuntu:222
mdadm --stop /dev/md/ubuntu:111
Then unmount the disk, connect it back to ubuntu and do
mdadm --assemble --scan
vgscan
vgrename /dev/c /dev/oldvol
Edit: vgscan not vgchange - is there a specific command at this point to safely unmount the disk, or has the mdadm --stop done that?
- mdgm-ntgrNETGEAR Employee RetiredIf the mdadm --stop worked then it would've safely unmounted the disk.
- Is there anything missing from the vgchange cmd?
root@ubuntu:/home/ubuntu# mdadm --assemble --scan
mdadm: /dev/md/111 has been started with 1 drive.
mdadm: /dev/md/222 has been started with 1 drive (out of 2).
mdadm: /dev/md/333 has been started with 1 drive (out of 2).
root@ubuntu:/home/ubuntu# vgchange
Need 1 or more of -a, -c, -l, -p, -s, -x, --refresh, --uuid, --alloc, --addtag, --deltag, --monitor or --poll
Run `vgchange --help' for more information.
root@ubuntu:/home/ubuntu# - mdgm-ntgrNETGEAR Employee RetiredOops. You should do vgscan not vgchange.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!