ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 如何取消linux下文件系统定期check

如何取消linux下文件系统定期check

原创 Linux操作系统 作者:tolywang 时间:2006-08-03 00:00:00 0 删除 编辑

Linux AS2.1 EXT3 File System.

35 天没有关闭机器,需要调整Oracle参数,顺便保养一些硬件。结果关闭Linux系统之后几分钟,重新开启之后一直检查文件系统。信息如下:

Checking filesystems .
/boot : clean , 44/130560 files , 31139/522112 blocks

/dev/sdb1 has gone 212 days without being checked .
Check forced .

/tmp : clean .....

......


http://www.itpub.net/showthread.php?threadid=604570&pagenumber=

使用dmesg 察看Linux系统, 发现没有异常关闭的迹象 。经过网友们的讨论发现是没有使用tune2fs -c or -i 去设置check时间或mounts。 详细的用法可以参考Linux帮助: man tune2fs 。

--------------------------------

mkfs.ext3/dev/md0将RAID分区格式化为ext3格式

结果如下所示:


[root@localhost root]# mkfs.ext3 /dev/md0
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
53040 inodes, 211456 blocks
10572 blocks (5.00%) reserved for the super user
First data block=1
26 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801

raid5: switching cache buffer size, 4096 --> 1024
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information:
done

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

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-84425/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14332932