Sunday, October 11, 2009

Recover Deleted 1Tb WD My Book World

I know it has been a while since I posted and this might come off as a bit of a non-sequitor, but I feel like I just won the lottery. Earlier this week I accidentally deleted a folder share on my WD My Book World Edition (white light.) That folder had pretty much every piece of data I've ever created in the world and I hadn't yet backed it up. (You, go back-up now!) If it's too late, This entry might just save your life like it did mine.

Just so you know, I tried a week's worth of recovery applications in both XP and Linux with the drive hard-wired to my mobo and networked before I found the solution.

The 1Tb WD My Book World is an NAS drive. It basically has a small on board controller and a miniature Linux build that serves the file sharing system. If you are reading this you are probably in a panic, but don't skip ahead, this stuff is important to know. The drive has 4 partitions, two are RAIDed EXT3 partitions, this is where the file server lives along with the Linux share as a third Partition. These partitions come up anywhere between 100 Mb and 2 Gb. The file store is in the 928 Gb fourth partition. That partition is XFS. This is important, and why the manual says it is not possible to recover deleted files. Basically the drive is just not configured for undelete. Do not despair.

If you accidentally deleted a file share on your WD My Book and you haven't been able to recover anything that seems even slightly logical, try this:

Warning: You are going to void the warranty of your drive if you follow my directions. If you don't want to void your warranty, use one of the data recovery services listed on WD's website. That will run you anywhere form $300 - $2700 to recover your files.

Disconnect your drive. You should have done this in a panic already, in fact if you haven't and you have been messing around on the drive too much, some or all of your data may already be corrupt.

Now remove the drive from the white case. Be gentle, a strategically applied screwdriver along the front corner seams, gently twisted is sufficient for opening the drive. You are going to plug this directly into your motherboard. The drive is a SATA drive, you might need a cable, Radio Shack sells them for 9 bucks. Plug the drive into your motherboard, there are tutorials for this all over the net if you don't know how to do this.

In Windows, you want to make sure you can see the drive and it's partitions. You won't see it in My Computer, but you should see it in Administrator Tools>Computer Management>Disk Manager. It will show up as a group of unnamed partitions totaling 931.51 GB for the 1Tb version. At this point, don't mess around.

Windows can't access EXT2/3 file systems by default so a helpful utility to install on your main C: drive is FS-Driver. Find it at This will give you shell level access to the ext3 file sytem. The data you are recovering is in an XFS file system, but it is good to be able to access these partitions.

The only other tool you will need is Raise Data Recovery for XFS. Make sure you get the XFS version. This is not free, but you can test it for free and do your scan, but not save any file over 64K. The program only costs 30 euros, so it is well worth it, because it works perfectly. SysDev Laboratories, the Ukrainian outfit that makes Raise Data Recovery estimates that their software can recover 99% of the lost data in XFS file system and 80% of the directory naming. This is important, because what are you going to do with a pile of files named lostfile_xxxxxxx.ext. That's what some recovery aps recover. Raise gets everything. So if a folder was recently rewritten, it might change the directory name to something like inode1234567 but for the most part, I found everything else intact.

At first, I wasn't sure I had gotten everything. So be sure to check every folder Raise spits out. My stuff was really far down the list and two inode1234546 directories deep, but it was all intact with the correct names.

Now, if you haven't, register your software and save the important files to another HD and back it up. The reassemble your WD my book and plug it in and start over.

All I can say is thanks Raise Data Recovery. I hope this post helps someone who, like me, was stupid twice; once for not backing up and once for deleting without checking.


Matt Wynn said...

Just want to thank you for this blog posting. I have the exact same WD drive (1TB MyBookWorld). In trying to clean up the network drive, I ended up accidentally deleting 1/3 of it. I was devastated for a full day until I came across your blog. It gave me a glimmer of hope. I followed your instructions step by step, and everything worked exactly as you said it would! Thanks again man. Your blog definitely saved my day.


Brooke said...

Hey for some reason my My Book World deleted all of my last years stuff but saved the other users files. When I put them in there two months ago I checked to make sure that they were saved and they were. Then today I went into my files and they were gone. My folder was empty. So is it too late to see if I can recover my files?

Jake Blais said...

Matt, Glad I could help.
Brooke, Sorry this is so late, I hope you recovered your files already, but if not, I'd say as long as the disk was not written to in that time, its a fair certainty, but the chances go down with every file written. I'm no expert, but there is loads of info out there. The utility I posted a link to helped me find all kinds of files on my NAS. Good luck.

Pierre van Mever said...

Thank You, Thank You!

You made my day! Some went wrong with a cut and paste action and my summer vacation movie was gone. I followed your tips and got all my HD movie files back!

Thanks again

Anonymous said...

Hi Jake,
I have the same problem and tried to follow your instructions. But I can't open the case of the NAS. How did you open the case?
Thanks for your help.

Anonymous said...

Man I have to say a very big THANK YOU!! I Just downloaded the program and paid for it, small cost to pay for access to all of my old files! I spent countless hours and frustration with this drive, not knowing that I could not see the XFS file system!! You are a life saver! I am recovering my data as I type this too you!!!!

You Have my undying thanks my friend!!!


Anonymous said...

Just wanted to thank you very much for writing that down. Now, 3 years later, your post saved 2TB of photo's.

It works just as good on a mybook world II white light 4TB.

thanx again!