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?
Recent comments
20 hours 9 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 16 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 6 hours ago
2 days 11 hours ago
2 days 11 hours ago