Linux data recovery ext3grep rm-rf

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.