NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dekkit
Nov 10, 2009Aspirant
ReadyNAS Data Recovery - VMware recovery tool
Description
This topic contains links to linux VMware images (Debian / Ubuntu) that have been modified to enable you to access your ReadyNAS duo HDDs from any machine with a USB plug and a SATA to USB cable.
Advantages:
* VMware player be downloaded freely
* Can run in both existing linux / MS Windows (XP,Vista etc) operating system without any further modification
Disadvantages:
* Requires a SATA to USB cable
* Mac users will need to find another program to run the VMware files
Background
At some point your ReadyNAS Duo unit is going to stop working (which hopefully will be long and far into in the future) and there may be a point where you'll need to rely on your external backups.
While it's a good strategy to ensure you (and your family / clients) have a good disaster recovery process (having external off-site backups, checking the backups, knowing how to restore from backups etc), in some cases the backups might not work or the backups aren't available to you.
Due to the architecture of the ReadyNAS Duo (more specifically the 16KB blocksize of the partitions), you cannot simply pull out the hard disks, place them into a standard windows / linux pc, then copy all your files across to another computer or storage device.
Unfortunately there are no windows drivers that can properly access the drives and the process to configure a linux pc is complex (see viewtopic.php?f=25&t=24861&hilit=16+blocksize for further background on this)
The following VMware images contain all required patches to read your HDDs in linux just by entering a few terminal commands.
VMplayer Link
To get started, you will need to download a version of VMplayer for your operating system Win/Linux (Mac not directly supported yet), this can be found
http://www.vmware.com/products/player/
VMware Linux Image with Ext2Fuse
acmtn Debian release - tested ok, reports are that it works fine except for files greater than 4GB)
http://www.readynas.com/contributed/dek ... ebian5.zip
acmtn VM login info (username/password): root/rootadmin, vmuser/vmuser1
(please read the forums for more details on how to use this vmware )
_vito Ubuntu release - currently being tested, enables you to use the HDDs directly plugged into your pc without the need for a SATA to usb cable.
http://www.readynas.com/contributed/dek ... buntu9.rar
Details on this alternative vmware can be found on this post (you'll need to review the instructions carefully):
viewtopic.php?p=203653#p203653
dekkit Debian release - tested, a number of issues.
my initial attempt that helped start this thread has been found to have quite a few issues and may not work for you, but can be found here if you would like to try:
http://www.readynas.com/contributed/dekkit/VMwareDebian5.0%20-%20ext2Fuse.rar
dekkit VM login info: User: vmplanet pass: vmplanet.net
the acmtn version at this stage appears to be getting more reliable results for users. Unfortunately, I have not had time improve on my original dekkit release due to time constraints but if you would like to try please post your results.
Dekkit release Notes:
* You will need 8GB of free disk space once you have uncompressed the image
* You will still need to execute some of the terminal commands to mount the drive (take precaution so you don't accidently blow away your data)
* This VMware can access other windows file shares and can also be configured to host windows shares (see the docs for debian for more info on this)
* To uncompress the file use WinRar: http://download.cnet.com/WinRAR-32-bit/ ... 07677.html or for non-windows platforms try: http://www.rarlab.com/download.htm
* This image is a work in progress (WIP) so please post all errrors !!!!!.
Dekkit release Usage- this may apply to the other versions (eg acmtn
Login to the OS
Access the terminal and enter the following once the HDD has been attached (take note that your /dev/c may differ):
modprobe fuse
vgscan
vgchange -ay c
mkdir /mnt/lvm
ext2fuse /dev/c/c /mnt/lvm
there is a delay in output but then ..
"/dev/c/c is to be mounted at /mnt/lvm
fuse-ext2 initialized for device: /dev/c/c
block size is 16384"
Dekkit Release Acknowledgements
The original VMware image was found http://www.vmplanet.net/node/85 (before the various patches were applied - so feel free to drop them a donation), if you can improve this image by way of a script to make it even easier to use for us 'non-linux users' then please do so and share it back with the rest of us
This topic contains links to linux VMware images (Debian / Ubuntu) that have been modified to enable you to access your ReadyNAS duo HDDs from any machine with a USB plug and a SATA to USB cable.
Advantages:
* VMware player be downloaded freely
* Can run in both existing linux / MS Windows (XP,Vista etc) operating system without any further modification
Disadvantages:
* Requires a SATA to USB cable
* Mac users will need to find another program to run the VMware files
Background
At some point your ReadyNAS Duo unit is going to stop working (which hopefully will be long and far into in the future) and there may be a point where you'll need to rely on your external backups.
While it's a good strategy to ensure you (and your family / clients) have a good disaster recovery process (having external off-site backups, checking the backups, knowing how to restore from backups etc), in some cases the backups might not work or the backups aren't available to you.
Due to the architecture of the ReadyNAS Duo (more specifically the 16KB blocksize of the partitions), you cannot simply pull out the hard disks, place them into a standard windows / linux pc, then copy all your files across to another computer or storage device.
Unfortunately there are no windows drivers that can properly access the drives and the process to configure a linux pc is complex (see viewtopic.php?f=25&t=24861&hilit=16+blocksize for further background on this)
The following VMware images contain all required patches to read your HDDs in linux just by entering a few terminal commands.
VMplayer Link
To get started, you will need to download a version of VMplayer for your operating system Win/Linux (Mac not directly supported yet), this can be found
http://www.vmware.com/products/player/
VMware Linux Image with Ext2Fuse
acmtn Debian release - tested ok, reports are that it works fine except for files greater than 4GB)
http://www.readynas.com/contributed/dek ... ebian5.zip
acmtn VM login info (username/password): root/rootadmin, vmuser/vmuser1
(please read the forums for more details on how to use this vmware )
_vito Ubuntu release - currently being tested, enables you to use the HDDs directly plugged into your pc without the need for a SATA to usb cable.
http://www.readynas.com/contributed/dek ... buntu9.rar
Details on this alternative vmware can be found on this post (you'll need to review the instructions carefully):
viewtopic.php?p=203653#p203653
dekkit Debian release - tested, a number of issues.
my initial attempt that helped start this thread has been found to have quite a few issues and may not work for you, but can be found here if you would like to try:
http://www.readynas.com/contributed/dekkit/VMwareDebian5.0%20-%20ext2Fuse.rar
dekkit VM login info: User: vmplanet pass: vmplanet.net
the acmtn version at this stage appears to be getting more reliable results for users. Unfortunately, I have not had time improve on my original dekkit release due to time constraints but if you would like to try please post your results.
Dekkit release Notes:
* You will need 8GB of free disk space once you have uncompressed the image
* You will still need to execute some of the terminal commands to mount the drive (take precaution so you don't accidently blow away your data)
* This VMware can access other windows file shares and can also be configured to host windows shares (see the docs for debian for more info on this)
* To uncompress the file use WinRar: http://download.cnet.com/WinRAR-32-bit/ ... 07677.html or for non-windows platforms try: http://www.rarlab.com/download.htm
* This image is a work in progress (WIP) so please post all errrors !!!!!.
Dekkit release Usage- this may apply to the other versions (eg acmtn
Login to the OS
Access the terminal and enter the following once the HDD has been attached (take note that your /dev/c may differ):
modprobe fuse
vgscan
vgchange -ay c
mkdir /mnt/lvm
ext2fuse /dev/c/c /mnt/lvm
there is a delay in output but then ..
"/dev/c/c is to be mounted at /mnt/lvm
fuse-ext2 initialized for device: /dev/c/c
block size is 16384"
Dekkit Release Acknowledgements
The original VMware image was found http://www.vmplanet.net/node/85 (before the various patches were applied - so feel free to drop them a donation), if you can improve this image by way of a script to make it even easier to use for us 'non-linux users' then please do so and share it back with the rest of us
187 Replies
Replies have been turned off for this discussion
- simtekAspirantHi, Ive followed this thread and downloaded VM Player and installed in Windows and downloaded Debian 5.0 and Ubuntu images.
Ive followed both instructions but in terminal, I get stuck in the same place for both:
(I have a 2TB drive, [disk2] from X-Raid setup where I imported a corrupt config file, which after rebooting stated 'Volume: DEAD' but both drives are ok. Disk1 has since been formatted before I found out that this process wasn't as simple as a typical end user like myself had expected...
debian-vm:/home/vmplanet# vgscan
Reading all physical volumes. This may take a while...
debian-vm:/home/vmplanet#
I have no reference to 'c' that everyone refers to, and therefore cannot proceed any further with the other commands. please help!
I'm gutted about this whole experience and so surprised that netgear don't have a 'copy and paste' solution. - sushivoreAspiranthello everyone;
I am trying also to retrieve the data from a disk coming from my Ready NAS Duo with acmtn Debian release
my readynas duo was on RAID1 . can i use any of the disk ? cause one wont mount.
when i run the 1st terminal i got an error ; "mkdir: cannot create directory `/mnt/lvm': File exists"
vmw:/home/vmuser# modprobe fuse
vmw:/home/vmuser# vgscan
Reading all physical volumes. This may take a while...
Found volume group "c" using metadata type lvm2
Found volume group "vmw.debian5" using metadata type lvm2
vmw:/home/vmuser# vgchange -ay c
1 logical volume(s) in volume group "c" now active
vmw:/home/vmuser# mkdir /mnt/lvm
mkdir: cannot create directory `/mnt/lvm': File exists
vmw:/home/vmuser# ext2fuse /dev/c/c /mnt/lvm
why do i get this error ?
i m stock at this step...
PS i dont understand what Dekkit mean by (take note that your /dev/c may differ)
thx for your help. - mdgm-ntgrNETGEAR Employee RetiredUsing X-RAID, disk 2 is the parity disk so for recovery using the VMWare Tool you'll need to use disk 1 (or if you have the necessary skills you may be able to copy the partition table from disk 1 onto disk 2). Not sure what the situation is with RAID-1.
- sushivoreAspiranti dt think i use X raid. can u see it from the log this archive of my system log file ?
http://buzzby.biz/nas/System_log.zip
thx - mdgm-ntgrNETGEAR Employee RetiredNot sure. I'm not an expert at reading the logs, but you probably are using X-RAID. Unless you chose to use Flex-RAID when setting up your NAS (you do using RAIDar within 10 minutes of first turning NAS on or after a factory default), you would be using X-RAID (I recommend you use X-RAID anyway).
Anyway in xraid_config.log it mentions that you have a parity disk. So using the VMWare tool, disk 2 would be pretty useless for attempting data recovery. I'd suggest if you don't know what you're doing that it'd be better to contact technical support and see if they can help you without needing to use the VMWare tool. - sushivoreAspirantok :( thx for u answer, but i dt understand the purpose to use 2 disk, if one is down, and u ct recover ur data from the other one,
i thought it was a miror of the data? i know the readynas is not a back up, but when i was tryin to save my data on usb or from ethernet i had many problems, so unfortunatly i was trustin my nas too much....
about the support, i already contact them, they was useless for my problem, the first thing they told me to do ,it s an hard reset, holding reset 30sec, but that i might lost my data so.... not point to try it. - mdgm-ntgrNETGEAR Employee Retired
sushivore wrote:
i thought it was a miror of the data?
It is, if you leave the disks in the NAS, say disk 1 fails, disk 2 will still work fine. It's just only disk 1 will work for data recovery.sushivore wrote:
i know the readynas is not a back up, but when i was tryin to save my data on usb or from ethernet i had many problems, so unfortunatly i was trustin my nas too much....
Yes you should backup your data regularly.sushivore wrote:
about the support, i already contact them, they was useless for my problem, the first thing they told me to do ,it s an hard reset, holding reset 30sec, but that i might lost my data so.... not point to try it.
The 30 second reset would mean you lose your data. The 5 second reset would not. Start a new thread and post your case number. You should contact support again and ask them to escalate your case. - whywhymeAspirantHi guys,
I have a DUO. I tried to use the Ubuntu 10.04 live CD to recover my date.
I could mount it using ext2fuse but after doing it, I still can not access the file.
Could someone help, please?
Thank you!
I have a screenshot.
http://tinypic.com/r/11hwegx/6
These are the commands for anyone that is interested in doing it.
sudo apt-get install lvm2
sudo vgchange -ay c
sudo cp /home/ubuntu/ext2fuse/* /bin
mkdir /home/ubuntu/test
sudo ext2fuse -n /dev/c/c -m /home/ubuntu/test - NorDemoniacAspirantHow's the image now? Still work in progress?
I still doesn't trust my NAS. I've had three ones that has failed before this one (All readynas duo).
I would like to put a couple of 2TB disks in it, and use it as a DLNA-server, and maybe some backup (need to get familiar with all the weird settings though). - br0k3n1Aspirantacmtn worked great for me.
My ReadNas Duo stopped booting, displayed a pulsing power, solid disc 1 and blinking disc 2, would not fully boot in any drive configuration, would respond to PINGS but RAIDar would list 'booting' and eventually lose the connection, FrontView was never accessible, 5 second reset did nothing, USB reset seemed to work fine but had no effect on the state. NetGear online support has been completely useless after a week of form/bot replies at 6 hour intervals, so I decided to try the VMware approach, after duplicating the drive that is. So I picked up one of these,
http://ca.startech.com/product/SATDOCK2 ... cator-Dock
Approx $60 USD, I chose this one because it doesn't require a PC connection to duplicate, avoiding any chance for the PC to attempt to mount the disc to be recovered. I also picked up as close to the same model of drive as I could then duplicated disc 1 to the new drive. This took about 4 hours for 1TB. Then using VMware Workstation 7.1 and the acmtn image I was able to mount the cloned version of the drive and access my data, without having to mess with the original drive. Some notes, some obvious perhaps,
* Ensure the drive you wish to recover the data to is FAT32, not NTFS, mounting NTFS as Read/Write is not a given in Debian
* Files over 4G will be truncated when copied without warning
* Do not attempt to write to the mounted recovery drive in anyway ( delete, rename, create files / directories, etc) you will lose the mount
Some useful commands for those with limited Linux knowledge,
* Mount a fat32 drive ( may not be sdb1, try sdb's and sdc listed under /dev/ )
mkdir /mnt/myfat32drive
mount /dev/sdb1 /mnt/myfat32drive -t vfat
* Copy Directory or File and Sub-Directories and show items as they copy ( verbose )
cp -R -v /mnt/lvm/backup /mnt/myfat32drive
* Find files over 4G and dump list to a file ( run from /mnt/lvm )
find -type f -size +3500M > /mnt/myfat32drive/bigfiles.txt
All in all I'm very grateful for the image. Great work, I highly suggest duplicating the drive before attempting this, if the data is valuable enough than it should be totally worth the $150 it would cost for a duplicator and a new drive.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!