Linux data recovery ext3grep rm-rf 1. First install ext3grep software: yum install ext3grep-y 2. umount/data0 partition: umount/data2 if busy is prompted, kill the process that is using this directory first, and then umount: fuser-k/data2 www.2cto.com
Umount/data2 3. query all Inode (execution takes several minutes ~ More than 10 minutes): ext3grep/dev/sdb1-ls-inode 2 4. Search for Inode step by step to see if httpcws can be found. cpp file (this step can also be omitted): 5, recovery/data0/tcsql/cankao/phpcws-1.5.0/httpcws. cpp file: ext3grep/dev/sdb1-restore-file tcsql/cankao/phpcws-1.5.0/httpcws. cpp:
Restoring tcsqls/cankao/phpcws-1.5.0/httpcws. cpp then, execute the ext3grep command under the current directory will automatically generate a folder named RESTORED_FILES, tcsql/cankao/phpcws-1.5.0/httpcws under the folder. cpp is the recovered file.
After checking the content, it is the same as the content before the deletion. Www.2cto.com 6. mount/data0 again: mount/dev/sdb1/data0 author Mu Yushan