How to get the data off of a ReadyNAS drive?
Solution 1
I was able to gain read access (I did not require write access and did not seek it) to a ReadyNAS Duo (v1) drive (X-RAID - the two drives were acting redundantly) in Arch Linux by following a process similar to that laid out in this blogpost and this other blogpost:
-
lsblk
(before and after plugging in the drive via USB) to identify the path to the device (in my case /dev/sdb) -
vgscan
to confirm thatc
was the appropriate drive group. -
vgchange -ay c
to activate thec
drive group. -
fuse-ext2 -o allow_other,ro /dev/c/c /mnt/readynas
to mount the disk. I had to use Fuse (fuse-ext2
from the AUR). The standard mount command returned an error. - When finished, unmount the disk:
fusermount -u /mnt/readynas
Note, however, that I was only able to read the "left" drive (in bay 1) with this process. The "right" drive (bay 2) has no partitions according to fdisk -l
and does not appear in a vgscan
.
Solution 2
Apparently a ReadyNAS can use either EXT4 or BTRFS filesystems, and may use a RAID for multiple drives (like yours might).
Windows does not natively read those filesystems (currently), some 3rd party drivers are available, I've found their effectiveness to be mixed.
I found some interesting links with info on reading a non-RAID drive, and most linuxes (linuses? linuxii?) - most any Linux distribution - can read ext4 & btrfs.
This link Restoring Data from Netgear ReadyNAS Duo Hard Drive has instructions for non-RAID drives, should be worth a try. It sources this very very long forum thread as a reference. I'm sure there are RAID instructions available from a regular web search, if required. The basics are:
[to 6. on the original link] Get a Linux going that can read your hard drive
-
Here, some newer distributions may already be able to see & mount the hard drive's partitions.
If your file manager lists devices, it's possible that just clicking on the hard drive there may mount & open it.
Easiest way I can think if would be to try running Disks /
gnome-disk-utility
and see if it can mount them with a few clicks. (Disks can also erase or overwrite partitions with a few clicks too, so BE CAREFUL!).Or
system-config-lvm
is a gui lvm manager, probably not required though. modprobe fuse
This command is used to add modules to linux to be able to "talk" to the HDDvgscan
scans all SCSI, IDE and other disk devices on the system looking for LVM physical volumesvgchange -ay c
allows you to change the attribute of the HDD volume groups to "activate" and name the volume group as Cmkdir /mnt/lvm
create a mount point for the volume group-
mount -v /dev/c/c /mnt/lvm
to mount the volume/group. [Original page's command wasext2fuse /dev/c/c /mnt/lvm
but it's apparently no longer in Ubuntu or Mint or Ubuntu's software repositories (there is afuseext2
package & fuseext2 binary...) It would've used the installed ext2fuse utility to support the mounted EXT3 file system. You will notice a slight delay in output until this is displayed:/dev/c/c is to be mounted at /mnt/lvm fuse-ext2 intiailized for device: /dev/c/c block size is 16384
Once this is displayed, your HDD should be accesible.
[Use a file manager/browser to read your files in
/mnt/lvm
]. Or Open another terminal window and entercd /mnt/lvm
. You should notice a few folders such as Media, Home, etc. If you enter incd media
thenls
, this will list the files/folders in the Media folder.
Related videos on Youtube
jo99blackops
Updated on September 18, 2022Comments
-
jo99blackops over 1 year
I have a Netgear ReadyNAS Duo network backup system with two drives in it. The data is accessible through the network, but when I remove a drive to get the data off in another computer, it shows that the drive is un formatted. I was thinking that maybe it is encrypted, or maybe I'm doing something wrong.
The question is: How can I get the data off of either of the drives in an external environment?
-
Xen2050 over 8 yearsWhat OS did you try reading the drive in? Linux can read an awful lot of formats, and it's possible the drives are in a RAID type setup too.
-
jo99blackops over 8 years@Xen2050 I tried reading them in Windows, but I can try Ubuntu
-
Xen2050 over 8 yearsWindows really likes to advise formatting anything it can't read - don't do it (obviously ;-) I found some helpful looking info, posting an A now
-
jo99blackops over 8 years@Xen2050 No luck with Ubuntu :(
-
Xen2050 over 8 yearsWas the drive detected? Anything in
lsblk
,blkid
,gparted
,gnome-disk-utility
, messages indmesg
//var/log/syslog
? Just read other message, keep tryin. It might be possible that the drive is failing too, but I'd expect windows to see something else wrong besides just "unformatted" -
jo99blackops over 8 years@Xen2050 Sorry, in the above comment, I hadn't tried your answer yet. I meant no luck with just plugging in the drive to Ubuntu :)
-
jo99blackops over 8 yearsLet us continue this discussion in chat.
-
-
jo99blackops over 8 yearsI'll try this right now and keep you posted..
-
jo99blackops over 8 yearsOk, I'm stuck at step 7. It says the command "ext2fuse" is not found
-
Xen2050 over 8 yearsThat command wasn't available in Mint either, or in the mint/ubuntu software repos apparently. Just
mount /dev/c/c /mnt/lvm
should work, it should auto-detect the type, or-t ext4
(or ext3/ext2, whichever type you've got) should work? -
Daniel B over 8 yearsMost Linux distributions would have the ext* driver available. No need for FUSE or anything the like.
-
Xen2050 over 8 yearsThat's what confused me too, even in 2011 (when the instructions were posted) I'm sure ext2/3/4? was pretty standard. And instructions the last page of the reference thread replaced the fuse command with a plain mount too