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
- Angel40kAspirantI am trying also to retrieve the data from a disk coming from my Ready NAS Duo with th VMWare image of Debian system (downloaded from the first page of the topic)
Badly I have yet some problem with this image.
Here you are the procedure that I applied to try to recover my data:
From a first terminal, I execute the following script:
debian-vm:/# cat mynas
#!/bin/bash
modprobe fuse
vgscan
vgchange -ay c
mkdir /mnt/lvm
ext2fuse /dev/c/c /mnt/lvm
cd /mnt/lvm
debian-vm:/# ./mynas
Reading all physical volumes. This may take a while...
Found volume group "c" using metadata type lvm2
1 logical volume(s) in volume group "c" now active
mkdir: cannot create directory `/mnt/lvm': File exists
/dev/c/c is to be mounted at /mnt/lvm
fuse-ext2: Can't read an inode bitmap while reading inode bitmap
-> here is the first error. What's that?
In addition, no information about block size is 16384". Why?
At this time this first console do'nt return to the prompt.
From a second terminal TERMINAL-2, I try to access my data:
debian-vm:/home/vmplanet# cd /mnt
debian-vm:/mnt# cd lvm
debian-vm:/mnt/lvm# ls
aquota.group Archives Download home media Pictures webroot
aquota.user Data eBooks lost+found Music Video
debian-vm:/mnt/lvm#
debian-vm:/mnt/lvm# ls eBooks
ls: cannot access eBooks: No such file or directory
debian-vm:/mnt/lvm#
In the same time, the following error messages are displayed on the first terminal:
TERMINAL-1
ext2fuse_dbg_msg: Bad address while reading inode 7798785
ext2fuse_dbg_msg: Operation not permitted while reading inode 7798785
ext2fuse_dbg_msg: Bad address while reading inode 7798785
ext2fuse_dbg_msg: Operation not permitted while reading inode 7798785
Could you help me to restore my data? Please !!! - dekkitAspirantAngel40k try acmtn's release ~1.6GB download (the link is also provided on the first page of this thread from the readynas server) and see if you get the same issues.
my version (dekkit release) has the known issue of "fuse-ext2: Can't read an inode bitmap while reading inode bitmap" which acmtn's release has managed to resolve.
dek - Angel40kAspirantThanks you very much for the advice. With the acmtn Debian release, I can now read the disk.
Now I can restore my data!
I would like to thank all persons having participated in this topic. Without them I n 'aurais never achieved to recover my data - JallamambaAspirantThank you all for the work you have done in this matter :)
I have downloaded the acmtn Debian release, and it runs fine in VMware.
I have connected my disk that was in my Duo, using a SATA -> USB and I get this icon in WMware, I have connected it (disconnected from host), but I cant find it...
When it comes to linux, I'm tootaly blank, but I can still read :lol: so I can manage to do stuff, if the reading is in a 'easy language'.
also:
I saw this folder called app_install on desktop, and I guess I need one or several progs from there? If so, can somebody explain me step by step how to install them? please? - chapsAspirantHi,
I'm also with Jallamamba... and not sure how to see the disk in Linux?
If someone could explain a little simler (sorry!) that would be great!
Thanks... - dekkitAspirantUsing acmtn.vmw.Debian5, plugin your usb disk and once you boot and get to the welcome screen:
1/ Login using the user: vmuser (pw:vmuser1) account
2/ Run the root terminal (the red icon)
3/ Enter the commands at the start of this thread (taking note of other comments raised by people in the forum)
Edit: It will then tell you that it has been mounted but it will seem like the script has stalled but this is normal, you just need to minimise this terminal window.
4/ OPEN a second root terminal
5/ enter the following terminal commands
"cd /mnt"
"cd lvm"
"ls"
Your folders and file should be listed (if all goes well) in this terminal, you can now copy them to another HDD (usb, share etc that you have connected to the VMWare). Be aware there is a 4GB file limit on each filesize (a limitation of the ext2fuse). - JallamambaAspirantToday I got a step further :)
I tried my second disk I have from my ReadyNAS, and with this connected, I managed to write those commands that is on first page of this thread.
But still, I can't find ANY files... :?
So I have figured out that I don't have to install any programs, it was already there, thats good 8)
But when I have done these commands, I tried to go to 'Computer' and click on disk (Generic STORAGE DEVICE), but I get the message:Unable to mount media. There is probably no media in the drive.
Anyone care to give a stupid man the next step to get to see his files? - mdgm-ntgrNETGEAR Employee RetiredI believe with the Duo, data recovery using the VMWare tool needs to be done on disk 1 from a X-RAID array.
If your disk 2 is fine, you should be able to boot with that without disk 1 in the NAS. - chapsAspirantI have just installed this R-Stuio software http://www.r-studio.com/ and after scannning it found all my files now I'm just in the process of recovering everything I can get!
I pulled disk 1 out of the DUO and plugged it into an external USB enclosure and all is going good so far... chaps wrote: I have just installed this R-Stuio software http://www.r-studio.com/ and after scannning it found all my files now I'm just in the process of recovering everything I can get!
I pulled disk 1 out of the DUO and plugged it into an external USB enclosure and all is going good so far...
I was wondering if an app like R-Studio would work. Keep us informed. It sounds promising!
What RAID type did you have on your Duo?
I wonder if this would work with X-RAID?
Related Content
NETGEAR Academy

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