lundi 2 février 2015

linux rescue lost+found contents


One of the linux VM went into kernel panic due to storage related issues.


Booting it in linux rescue, it said there are no valid linux partitions. After getting into the shell, and listing the partitions, /dev/sda1 (the boot partition) was only available. The rest partitions claimed to be new, stating that there are no valid partition table.


Ran fsck against the partition /dev/sda1


Activated vg_root using vgchange command.


Ran fsck against the lv vg_root_lv_root.


Mounted it under /tmp/root


After doing



cd /tmp/root


and listing the files, i can see, lot of directories/files were missing. Like entire /etc directory, /bin and so on.



cd lost+found


And ls gives me lots of files with inode numbers.


I got to know when and why files are being placed here.


lost+found about


Now, my question is, these files under lost+found, does it do any good?


As in, is there a way to recover files, with the entries under lost+found?


If yes, then how to proceed?


If not, then what is the use of this feature, the lost+found?



Aucun commentaire:

Enregistrer un commentaire