Data recover help

Discussion in 'Installation/Configuration' started by Toucan, Aug 2, 2011.

  1. Toucan

    Toucan Member

    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:
    # /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:
    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
    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?
  2. erosbk

    erosbk New Member

  3. Toucan

    Toucan Member

  4. erosbk

    erosbk New Member

  5. lapwlover

    lapwlover New Member

    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.
  6. nbhadauria

    nbhadauria New Member

Share This Page