硬盘挂载出现Structure needs cleaning的情况处理

使用
fsck -vcfy /dev/sda3

进行修复,中间可能出现修复到一般的时候aborted的情况,此时处理:

Create /etc/e2fsck.conf with the following content:

[scratch_files]
directory = /var/cache/e2fsck

Updated e2fsck:

wget http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.43.1/e2fsprogs-1.43.1.tar.gz
tar xzf e2fsprogs-1.43.1.tar.gz
cd e2fsprogs-1.43.1
./configure 
make
cd e2fsck/
./e2fsck

Reran. Same error but I noticed it was completing more with each run. Ran until completion



最后修复完成,但是发现数据都被清空了。。。。


你可能感兴趣的:(硬盘挂载出现Structure needs cleaning的情况处理)