Ubuntu - Folder replaced by lost+found/ on raid1 disks

by eleven   Last Updated April 28, 2015 21:00 PM

Running Ubuntu Server 12.04 LTS

I have setup a RAID1 on disks sdb & sdc (md0) following strictly this tutorial which I guess is very classical. I loaded data on my disk for archive purposes.

A few days later the server wouldn't boot with the following error :

“Continue to wait; Press S to skip mounting or M for manual recovery”

I found a solution here adding nobootwait to fstab file. The server rebooted fine and the drive was mounted again.

Many files are missing and lost+found/ dir appeared, but it is empty (I only looked 2 months later - the server was not used in the meantime).

Is there a way to recover the files beyond the fsck that apparently didn't work ?

Tags : ubuntu raid fsck


Answers 1


It isn't simple, but you can recover files from a lost+found directory. I found this page that gives a lengthy example of file recovery:

http://karuppuswamy.com/wordpress/2010/06/09/how-to-recover-files-from-lostfound-after-fsck-in-linux-how-i-did-it-in-ubuntu/comment-page-1/

Chad Smith
Chad Smith
April 29, 2015 04:51 AM

Related Questions


Recover RAID 1 after unclean unmount

Updated May 10, 2018 00:00 AM

e2fsck / resize2fs problems

Updated April 01, 2015 19:00 PM

How to repair multiply-claimed blocks?

Updated June 29, 2015 13:00 PM