小樱 发表于 2020/2/14 07:42

linux 挂载硬盘后提示This filesystem will be automatically checked every 29 mounts or 180 days

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.Use tune2fs -c or -i to override.

查询命令
tune2fs -l /dev/sdb | grep 'Check interval'
tune2fs -l /dev/sdb | grep 'Maximum mount count'
Check interval:         15552000 (6 months)
Maximum mount count:      29


修改为关闭时间超时检测,和16000次开机挂载(也就是-1)
tune2fs -i 0 /dev/sdb
tune2fs -c -1 /dev/sdb
tune2fs -l /dev/sdb | grep 'Check interval'
tune2fs -l /dev/sdb | grep 'Maximum mount count'
Check interval:         0 (<none>)
Maximum mount count:      -1

983274718 发表于 2020/2/14 22:12

不好,是dalao,看不懂

不可名 发表于 2020/2/15 01:48

起床
页: [1]
查看完整版本: linux 挂载硬盘后提示This filesystem will be automatically checked every 29 mounts or 180 days