Find the answer to your Linux question:
Results 1 to 5 of 5
Hi I have deleted accidentally all my /home/* user accounts and data directories. Some home directories are in separate partitions (they contain the data I want to RESTORE): /home/personal <-- ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    ext3 undeletion


    Hi

    I have deleted accidentally all my /home/* user accounts and data directories.

    Some home directories are in separate partitions (they contain the data I want to RESTORE):
    /home/personal <-- /dev/hdb3
    /home/office <-- /dev/hdb5

    I have care and I dont access by any reason to this partitions yet, so the data is there... only marked as deleted... 50GB of personal data.

    With this conditions, is possible the ext3 undeletion and restore all the directory trees and data files? that is: navigate and mark then as not deleted.

    Thanks

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    post the output of 'fdisk -l' and 'df -h' commands. you must be root to execute 'fdisk' command.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    Re: ext3 undeletion

    linuxkitten@linuxkitten:~$ sudo fdisk -l

    Disco /dev/hda: 40.0 GB, 40020664320 bytes
    255 cabezas, 63 sectores/pista, 4865 cilindros
    Unidades = cilindros de 16065 * 512 = 8225280 bytes

    Disposit. Inicio Comienzo Fin Bloques Id Sistema
    /dev/hda1 * 1 1104 8867848+ 83 Linux
    /dev/hda2 2305 4865 20571232+ f W95 Ext'd (LBA)
    /dev/hda3 1105 2304 9639000 83 Linux
    /dev/hda5 2305 4865 20571201 83 Linux

    Las entradas de la tabla de particiones no están en el orden del disco

    Disco /dev/hdb: 40.0 GB, 40020664320 bytes
    255 cabezas, 63 sectores/pista, 4865 cilindros
    Unidades = cilindros de 16065 * 512 = 8225280 bytes

    Disposit. Inicio Comienzo Fin Bloques Id Sistema
    /dev/hdb1 1 196 1574338+ 82 Linux swap / Solaris
    /dev/hdb2 * 197 849 5245222+ 83 Linux
    /dev/hdb3 850 4865 32258520 83 Linux

    linuxkitten@linuxkitten:~$ df -h
    S.ficheros Tamaño Usado Disp Uso% Montado en
    /dev/hda5 20G 4,5G 14G 25% /
    varrun 379M 108K 379M 1% /var/run
    varlock 379M 4,0K 379M 1% /var/lock
    udev 379M 132K 379M 1% /dev
    devshm 379M 0 379M 0% /dev/shm
    /dev/hda3 9,1G 2,9G 5,8G 34% /home
    /dev/hdb2 5,0G 129M 4,6G 3% /home/backup
    /dev/hda1 8,4G 657M 7,3G 9% /home/suse10
    /dev/hdb3 31G 83M 29G 1% /home/suse90
    /dev/hdc 4,1G 4,1G 0 100% /media/cdrom0

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    hdb3 is already mounted in /home/suse90 folder and it has 83 MB data but hdb5 isn't listed in fdisk -l. i think its erased and chances are very low to recover it.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    Exclamation Re: ext3 undeletion

    Hello casper.

    The most important data is in /dev/hdb3 (/home/suse90). I do not touch this partition, and not access to it. I would like to recover all the directory tree.
    The only thing I made, since I made the rm, was a reset last night (xawt crashes X), so on the reset linux mount the partition again on /home/suse90.

    I was reading that ext3 has no undeletion... ext2 has recovery tools but it does not work on ext3. I found two programs for Windows: one of diskinternals (a reader with GPL license?, but does not work on wine) and other of disk doctors (NOT FREE: $99). I will read something about ext3 on internet... then make a program to read /dev/hdb3 using ext3 data structures... but this is my hope, I do not know nothing about kernel.

    is this idea, use ext3 structures to read /dev/hdb3, a good idea... or, rent a hard disk and install W2000 and a PAY for a recovery tool for Windows that reads ext3 partitions?

    Any idea?

    Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •