Over the weekend my virtual debian lenny machine in a data centre failed to reboot having suffered damage to the file system. A new debian lenny machine has now been made and the hard disk (san) of the old one has been attached as /dev/sdb2 The fstab look like this: Code: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/sda2 / ext3 errors=remount-ro,usrquota,grpquota 0 1 /dev/sdb2 /mnt/oldfs ext3 defaults 0 0 /dev/sda1 none swap sw 0 0 /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 and I've been trying to mount it like this: Code: mount /dev/sdb2 /mnt/oldfs In that directory I see a lost+found directory and another directory called orig. The lost+found directory has many files like #23424. There is nothing in the orig directory. This is the result of df -h Code: Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.4G 2.3G 6.7G 26% / tmpfs 503M 0 503M 0% /lib/init/rw udev 10M 596K 9.5M 6% /dev tmpfs 503M 0 503M 0% /dev/shm /dev/sdb2 9.4G 3.9G 5.1G 44% /mnt/oldfs With sdb2 being the old file system gives me hope that the information is still there. It seems the directory structure is missing. I'm desperate to rescue files from the file system. I've tried fsck on the sdb2 when it's unmounted but it doesn't report any errors. Can anyone help me recover these files please?
I have no experience with linux partition recovery but... maybe this could help you? http://www.r-tt.com/data_recovery_linux/ This post talks about a corrupted ext3 partition, after a resize... http://www.linuxquestions.org/quest...orrupt-ext3-partition-need-to-recover-376366/
No, the first link seems to be a software package for £79 that I would struggle to get into a data centre. The second doesn't seem be related to my issue...
Sorry, bad links... this should help you a little more than previous... http://icl.cs.utk.edu/~mucci/restore/ Just info: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html
you can try i am not a expert on this field. i just talk about my experience, my partition become the RAW, may the file system has been destroyed. i lost my data on it , i googled this free partition recovery software, i get the partition back. you can have a look.