Short version:
Want to mount 4 HDDs in RAID 5, mount a USB 3 HDD as well, copy data from RAID 5 volume to USB 3 drive.
Long version:
I owned a Netgear ReadyNAS for a long time. It died and now I'm trying to get the new version of the NAS with a newer version of the OS(OS6 vs. OS4) to recognize the drives so I can mount them and then copy the data off to an USB 3 drive.
Apparently I can take the drives, connect them in a linux environment and see the data
by doing the following:
(1) sudo su
(2) apt-get install fuseext2
(3) apt-get install lvm2
(4) modprobe fuse
(5) vgscan
(6) vgchange -ay c
(7) fuseext2 -o ro -o sync_read /dev/c/c /mnt
From what I understand about the above, I am installing ext2 so that the drives are readable and then mount the drives so I can copy them elsewhere. Is that right?
Now, I don't have a linux PC to do this, so I bought the newer version of my NAS, which has a different CPU(sparc vs. arm) hich prevents me form jsut putting the drive in and having them work. According to Netgear, I can mount these drives somehow within the NAS, but they won't tell me how to do it and want to charge me money. I figured out how to get root access and now I can see Busybox tools are installed, but not sure how to mount the drives from here? When I do a df, I just see this:
# df
Filesystem Size Used Available Use% Mounted on
udev 10.0M 0 10.0M 0% /dev
(BTW, df -a doesn't work)How can I see the current drives in the system and mount them?
Any ideas/ Here is some info:
# cat cpuinfo
processor : 0
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 1099.36
Features : half thumb fastmult vfp edsp vfpv3 vfpv3d16 tls idivt
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x1
CPU part : 0x581
CPU revision : 1
Hardware : Marvell Armada 370/XP (Device Tree)
Revision : 0000
Serial : 0000000000000000
# cat devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
21 sg
60 vpd
89 i2c
90 mtd
128 ptm
136 pts
180 usb
189 usb_device
250 ubi0
251 bsg
252 ptp
253 pps
254 rtc
Block devices:
259 blkext
7 loop
8 sd
9 md
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
93 nftl
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
253 device-mapper
254 mdp
# cat diskstats
7 0 loop0 0 0 0 0 0 0 0 0 0 0 0
7 1 loop1 0 0 0 0 0 0 0 0 0 0 0
7 2 loop2 0 0 0 0 0 0 0 0 0 0 0
7 3 loop3 0 0 0 0 0 0 0 0 0 0 0
7 4 loop4 0 0 0 0 0 0 0 0 0 0 0
7 5 loop5 0 0 0 0 0 0 0 0 0 0 0
7 6 loop6 0 0 0 0 0 0 0 0 0 0 0
7 7 loop7 0 0 0 0 0 0 0 0 0 0 0
31 0 mtdblock0 0 0 0 0 0 0 0 0 0 0 0
31 1 mtdblock1 0 0 0 0 0 0 0 0 0 0 0
31 2 mtdblock2 0 0 0 0 0 0 0 0 0 0 0
31 3 mtdblock3 0 0 0 0 0 0 0 0 0 0 0
31 4 mtdblock4 0 0 0 0 0 0 0 0 0 0 0
8 0 sda 75 0 600 20 0 0 0 0 0 20 20
8 1 sda1 20 0 160 0 0 0 0 0 0 0 0
8 2 sda2 20 0 160 0 0 0 0 0 0 0 0
8 3 sda3 20 0 160 0 0 0 0 0 0 0 0
8 16 sdb 43 0 344 2300 0 0 0 0 0 2300 2300
8 17 sdb1 28 0 224 1480 0 0 0 0 0 1480 1480
# cat filesystems
nodev sysfs
nodev rootfs
nodev tmpfs
nodev bdev
nodev proc
nodev cpuset
nodev cgroup
nodev devtmpfs
nodev configfs
nodev sockfs
nodev pipefs
nodev ramfs
nodev rpc_pipefs
nodev devpts
ext3
ext2
ext4
vfat
msdos
nodev nfs
nodev nfs4
nodev nfsd
nodev cifs
nodev autofs
fuseblk
nodev fuse
nodev fusectl
nodev ubifs
btrfs
# cd fs
# ls
btrfs cifs ext4 fscache jbd2 lockd nfs nfsd nfsfs
# pwd
/proc/fs
# cat mounts
rootfs / rootfs rw,size=252804k,nr_inodes=63201 0 0
proc /proc proc rw,noatime,nodiratime 0 0
sysfs /sys sysfs rw,noatime,nodiratime 0 0
udev /dev devtmpfs rw,noatime,nodiratime,size=10240k,nr_inodes=63201,mode=755 0 0
devpts /dev/pts devpts rw,noatime,nodiratime,mode=600 0 0
# ls
1 388 583 829 cpu kmsg softirqs
10 4 584 9 cpuinfo kpagecount stat
1072 400 585 911 crypto kpageflags swaps
1073 454 588 926 device-tree loadavg sys
1089 464 601 929 devices locks sysrq-trigger
11 470 7 930 diskstats mdstat sysvipc
12 5 704 931 driver meminfo thread-self
13 563 708 932 execdomains misc timer_list
2 564 744 962 filesystems modules tty
265 567 759 LCD fs mounts uptime
266 568 763 LCDinfo interrupts mtd version
268 571 771 LCDstatus iomem net vmallocinfo
269 572 772 buddyinfo ioports pagetypeinfo vmstat
271 575 773 bus irq partitions zoneinfo
280 576 777 cgroups kallsyms scsi
299 577 8 cmdline key-users self
3 581 814 consoles keys slabinfo
# pwd
/proc
# ls
bin etc init lib32 mnt proc run sys tmp var
dev home lib media opt root sbin sysroot usr
Thanks for taking a look!