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
- martinjochimsenAspirant
doyley86 wrote: Guys I have been struggling with this for months, I have found a simple easier way of restoring all my files using some free software called DiskInternals Linux Reader you can download it free from here:http://www.diskinternals.com/linux-reader/
it finds your drive straight away and allows you to copy off all your data! Hope this helps.
Cheers
While waiting for the Ubuntu vmware image to download, I scrolled through the thread and found this post with the link to linux reader.
AMAZING!!!!
I have for weeks been fighting to get access to my disk after I made an upgrade on my ReadyNAS Duo.
I was beginning to loose hope and I thought I would give linux reader a shot (it wouldn't probably work anyway), but.....now I'm backing up everything form my disk.
Have saved more than 30 GB and still no error messages.
Thank you so much for this tip!!!!
Martin :-) - Please help me.
If i virtualise the debain 5 image (the first in the post), it is ok.
But after in terminal of this image :
modprobe fuse
Nothing, but OK !?
vgscan
Reading all physcial volumes. This may take a while...
Found volume group "vmw.debian5" using metadata type lvm2
OK !?
vgchange -ay c
Volume group "c" not found
if i enter :
vgchange -ay vmw.debian5
6 logical volume(s) in volume group "vmw.debian5" now active
OK !?
mkdir /mnt/lvm
mkdir: cannot creat directory '/mnt/lvm/': File exists
rmdir and mkdir again.
OK !?
ext2fuse /dev/c/c /mnt/lvm
fuse-ext2fs: No such file or directory while trying to open /dev/c/c
And nothing...
If i enter :
ext2fuse /dev/sdb3 /mnt/lvm
fuse-ext2fs: Bad magic number in super-block while trying to open /dev/sdb3
(Because sdb3 is my partition to recovery). - mdgm-ntgrNETGEAR Employee RetiredWere you using X-RAID or Flex-RAID?
mdgm wrote: Were you using X-RAID or Flex-RAID?
Thanks for your answer.
I am not sure. I don't remember.
What is the different with this tuto ?
NB : I have a Readynas duo (SPARC), 1 partition with RAID0 et 1 partition with RAID1.
I want recovery only the RAID1 partition.- mdgm-ntgrNETGEAR Employee RetiredAh, Flex-RAID. That uses a custom mdconfig. So if you find a way to start the md devices you could then recover your data.
mdgm wrote: Ah, Flex-RAID. That uses a custom mdconfig. So if you find a way to start the md devices you could then recover your data.
If i have Flex-RAID, what should I do ?- mdgm-ntgrNETGEAR Employee RetiredI'm not sure. All the guides for mounting Sparc arrays that I can recall refer to mounting X-RAID arrays.
mdgm wrote: I'm not sure. All the guides for mounting Sparc arrays that I can recall refer to mounting X-RAID arrays.
It is dead if i have flex-raid !?- DougChandlerAspirantHi,
I just wanted to say thanks to all the great suggestions in this topic and to document my experience when my power supply failed.
Firstly I have an NV (from Infrant) which I bought from eBay several years ago, then the power supply failed about 2 years ago and I contacted Netgear as it was one of the ones that there were concerns about the power supply. Despite buying from eBay, Netgear actually replaced the PSU and I was up and running again within a week.
All good until about a month ago I turned off the NV as we were going away (and disabled the power schedule) and when I came back and turned it on again, nothing :( I contacted Netgear but the response this time was that because I bought it from eBay they could not do anything (I guess it depends who picks up the support ticket), but after doing a bit of reading through topics like this one I bought a couple of power extension cables (20-pin and 4-pin) and rewired it for the NV, then using one of the PCs I have, I plugged in my adapter cable to tried to fire up the NV. This worked on the second PSU I tried (not sure why the first didn't though), but the NV was stuck in a continuous reboot cycle (not sure why it was doing that either), so I thought I would try getting the data off as I already had an NV+ v2 (again bought from eBay and 2 x 3TB disks fitted) but never configured. I tried connecting disk 1 to a USB disk caddy I had and tried LinuxReader and R-Linux but neither would see any data. So I tried attaching the drive directly to a PC and hey presto! I then spent the next three days copying data using LinuxReader at first but then R-Linux to the new NV+ v2 (both PC and NV+ v2 connected to gigabit switch). The network throughput was not as great as I had hoped, achieving at most peaks of 25% of 1Gbps. I don't know whether the bottleneck was reading from the drive, interpreting EXT3, the network, or the NAS, but anyway it is done now.
Some thoughts on the two programs, LinuxReader is good and managed to read the disks but failed on several files, I assume through the path length being too great or something. And when I tried to recopy the files to see if there was anything missing, if there were duplicate files, it simply copied the second copy as <name>_1 with no option to overwrite, skip, etc. R-Linux is a far superior program which has these options to overwrite or skip if a file already exists, and it will preserve hidden file attributes and security. But if like me you are restoring to a network location such as \\nas\media it will complain that the folder does not exist and would you like to create it, if you say yes it does actually do what it is supposed to. The other annoying thing about R-Linux is if you say skip files if they exist, it writes each entry to the log and with a maximum of 10000 lines in the log if you are copying a lot of files as I was >200,000 files the log entries will get lost so I had to do a comparison of the file directories after the copy to validate everything was copied.
I would definitely recommend R-Linux to anyone attempting to recover files from their broken NAS, it has saved my life. Now to see about repairing the PSU in my NV... - jackal1Aspirant
bmorden wrote:
I then tried easeus partition manager/recovery - which was free and it found a NTFS partiton left over from a previous use in a PC and two deleted EXT3 partitions - one small at the front of the disk and obviously a linux instal, and the other was large and looked full of Appley files.
I think the NTFS partition records confused the data recovery software . Anyway it took 30 minutes to rebuild the large EXT3 partition, and then Sysinternals Linux Reader happily read it and offered to copy the files.
Hope this helps
I have tried all the VM methods but failed. (vgscan couldn't detect any volume in my case)
However, bmorden's method worked for me. Here's how I did it in Windows with a USB sata cable:
1. Run the free easeus partition recovery tool.
2. Run the complete scan by using sector range (put sector range as 1 - 1000000. Should take about only 5 min. Without the range, it takes hours! to complete the scan)
3. It should detect the 'c' volume. Double click to explore and make sure it is ALL the data you need.
4. Then proceed to recover the partition.
5. Run Sysinternals Linux Reader and recover all the files needed from the 'c' volume. (this may take some time)
That's it! All the best!
Thanks bmorden!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!