Linux file mistakenly deleted recovery

Source: Internet
Author: User

Experimental Requirements:

??? Recovering files that are deleted in new disk SDB1

Experimental steps:

??? First, install the environment package

rpm-ivh/mnt/packages/e2fsprogs-libs-1.41.12-18.el6.x86_64.rpm

rpm-ivh/mnt/packages/libcom_err-devel-1.41.12-18.el6.x86_64.rpm

rpm-ivh/mnt/packages/e2fsprogs-devel-1.41.12-18.el6.x86_64.rpm

??? Second, install the compiler

Yum Install gcc Gcc-c++–y

??? Third, mount the extracted files

Mkdir/abc

Mount.cifs//192.168.100.102/USERS/ABC

Tar jxvf extundelete-0.2.4.tar.bz2-c/opt/

??? Four, installation tools

CD extundelete-0.2.4/

./configure # Configuration

Make????????? #把配置文件转换成二进制文件

Make install? #安装

??? V. Recovery operations

Umount/sdb1/? # to mount a directory

EXTUNDELETE/DEV/SDB1--restore-all?? #恢复sdb1所有被删除的内容, restore the recovered_files in the current directory? In

Experimental content:

??? First, install the environment package

??? Second, install the compiler

??? Third, mount the extracted files

??? Four, installation tools

??? V. Recovery operations

Tips for failure:

① the content in the SDB1 to restore the first unload mount operation, otherwise it will not be able to recover.

Linux file mistakenly deleted recovery

Related Article

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.