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
- I must not understand how to properly mount this disk as something other than /dev/c/, How should I do that?
- mdgm-ntgrNETGEAR Employee RetiredTry something like
mdadm --stop /dev/md2
mdadm -A /dev/md6 -m2 --update=super-minor - Here is what I receive when I issue the first command:
gavinbox:/dev# mdadm --stop /dev/md2
mdadm: failed to stop array /dev/md2: Device or resource busy
Perhaps a running process, mounted filesystem or active volume group?
the second command doesn't return anything - mdgm-ntgrNETGEAR Employee RetiredYou need to unmount the volume and run "vgchange -an" before you can stop the RAID.
What do you see if you do a "fdisk -l" - here is the fdisk
gavinbox:/dev# fdisk -l
Found valid GPT with protective MBR; using GPT
Disk /dev/sda: 976773168 sectors, 465G
Logical sector size: 512
Disk identifier (GUID): bc9a0a56-8d52-4051-9104-9a450ed7fc9a
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 976769072 461G 0700
Found valid GPT with protective MBR; using GPT
Disk /dev/sdb: 976773168 sectors, 465G
Logical sector size: 512
Disk identifier (GUID): 4dda6578-a403-4019-bff0-b859bd7bd354
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 976769072 461G 0700
Found valid GPT with protective MBR; using GPT
Disk /dev/sdc: 976773168 sectors, 465G
Logical sector size: 512
Disk identifier (GUID): d1f8e243-9122-4915-bf63-1c5db83b6179
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 976769072 461G 0700
Found valid GPT with protective MBR; using GPT
Disk /dev/sdd: 1953525168 sectors, 931G
Logical sector size: 512
Disk identifier (GUID): 6047c70f-4ead-41dc-8996-21d7e2972124
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 976769072 461G 0700
4 976769080 1953521038 465G 0700
Found valid GPT with protective MBR; using GPT
Disk /dev/sde: 1953525168 sectors, 931G
Logical sector size: 512
Disk identifier (GUID): fc14cf8b-615a-4df4-9878-92efcb58e4fa
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 976769072 461G 0700
4 976769080 1953521038 465G 0700
Disk /dev/md0: 4293 MB, 4293906432 bytes
2 heads, 4 sectors/track, 1048317 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
fdisk: device has more than 2^32 sectors, can't use all of them
Disk /dev/dm-0: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Found valid GPT with protective MBR; using GPT
Disk /dev/sdf: 3907029168 sectors, 1863G
Logical sector size: 512
Disk identifier (GUID): 320e102a-4f72-4c78-9d4d-714f0ea27b78
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700 Linux RAID
2 8388672 9437247 512M 0700 Linux RAID
5 9437256 3907024064 1858G 0700 Linux RAID - mdgm-ntgrNETGEAR Employee RetiredIs that from the NAS? I should have specified that I meant in Ubuntu.
- Yes, the drive is plugged into the nas right now. Do I need to go back to ubuntu? Or can this be done from the NAS?
- mdgm-ntgrNETGEAR Employee RetiredI think so. But first, what's the output of "df -h" on the NAS like?
- here you go:
gavinbox:/dev# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md0 4.0G 351M 3.5G 10% /
tmpfs 16K 0 16K 0% /USB
/dev/c/c 2.3T 838G 1.5T 37% /c
gavinbox:/dev# - mdgm-ntgrNETGEAR Employee RetiredSo it hasn't mounted the external disk.
How many disks are in your NAS right now?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!