EXT3-fs warning: maximal mount count reached

What should I do when I see the message "kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended" ?

 

由于 ext3文件系统挂载系统起过最大限制,在重启的时候必须进行磁盘检测,在检测的时候

进度到50.4%就停止不动了,根据以下的方法即可解决。

 

Release Found:
All releases of Red Hat Enterprise Linux

Note:
This will only be seen on file systems the user creates themself post-install, as anaconda will automatically disable both interval checking and mount count checking for all ext3 file systems that it creates. The rational being, these checks are not required for journaled file systems.

Solution:
When mounting /path/to/device, a warning is seen "kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended". This is a non-fatal warning. Please follow the following procedure:

1.进入单用户模式

2.重新挂载/文件系统为rw

mount -o remount,rw /

3.查看磁盘信息

tune2fs -l /dev/hugwww/data1 | grep ^M 
Mount count:              37  
Maximum mount count:      33

 

4.修改磁盘信息

tune2fs -c0 -i0 /dev/hugwww/data1

 

5.Alternatviely, run e2fsck on it, and remount the file system. You will not see the warning again until the maximal count is exceeded.

unmount /dev/hugwww/data1
e2fsck -p /dev/hugwww/data1

 

完成!

你可能感兴趣的:(ext,user,File,磁盘)