Posts Tagged ‘ fsck

修复 Linux 开机出现档案系统有不一致性 (UNEXPECTED INCONSISTENCY) 的错误问题

Linux 无法正常开机,出现错误讯息:

Checking filesystems

/dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
         (i.e., without -a or -p options)
                                                  [FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

错误讯息指出 /dev/sda1 分割区有不一致性的问题!!

Read more

解决 "maximal mount count reached" 与硬盘检测

检查 mount 次数

当 mount 硬盘时老是出现

"EXT3-fs warning: maximal mount count reached, running e2fsck is recommended"

是提醒你该用 e2fsck 做档案系统的检查,请依下列步骤处理:

1. 查看目前的 mount 次数及限制

$ tune2fs -l /dev/sdb1 | grep ^M
Mount count:              26
Maximum mount count:      22

2. 取消最大 mount 次数检查

$ tune2fs -c0 -i0 /dev/sdb1
tune2fs 1.39 (29-May-2006)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds

3. 查看目前的 mount 次数及限制

$ tune2fs -l /dev/sdb1 | grep ^M
Mount count:              26
Maximum mount count:      -1

Read more

return top