linux - e2fsck如何修复磁盘
怪我咯
怪我咯 2017-04-17 15:24:59
0
1
981

我的debian8开机时,总是出现下面的提示:

[ 908.954911] ata5.00: status: { DRDY ERR }
[ 923.285748] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 923.285757] ata5.00: irq_stat 0x40000001
[ 923.285766] sr 4:0:0:0: CDB:
[ 923.285770] Get event status notification: 4a 01 00 00 10 00 00 00 08 00
[ 923.285791] ata5.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 24 pio 16392 in
res 51/54:03:00:08:00/00:03:00:08:00/a0 Emask 0x1 (device error)
[ 923.285796] ata5.00: status: { DRDY ERR }

查了资料说是磁盘需要修复。

e2fsck -a /dev/sda2
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.

umount /dev/sda2
umount: /home: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)

请问,如何处理?

怪我咯
怪我咯

走同样的路,发现不同的人生

모든 응답(1)
洪涛

가상 머신에서 이 문제가 발생했습니다.
Debian이 시작되면 grub에서 두 번째 옵션을 선택하여 단일 사용자 모드(단일 모드)로 들어가는 것이 올바른 작업입니다.
시스템에서 작동시키면 /파티션을 언마운트할 수 없어서 실패하게 됩니다.

최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿