XFS checks on boot
Andrew Mathews
andrew_mathews
Mon May 17 11:42:09 PDT 2004
Brett I. Holcomb wrote:
> I've installed Gentoo on a partition on one of my systems and 've noticed
> that Gentoo runs a file system check when it starts. My system is all xfs
> and Gentoo runs fsck - not very useful for this system. I assume I need to
> edit the /etc/init.d checkfs and checkroot scripts to put in the xfs tools.
> Or does XFS do it's own checking when it boots?
>
> Thanks.
>
>
XFS is intelligent in the fact that it knows when it needs to replay the
journal due to an unclean shutdown, there's no need for intervention.
You may want to use tune2fs -c 0 /dev/xxx to set the MAX_MOUNT_COUNTS to
zero for your partitions. This won't stop a startup script from calling
fsck on boot, but will prevent it as a scheduled process after X amount
of reboots.
--
Andrew Mathews
---------------------------------------------------------------------
7:00pm up 9:47, 6 users, load average: 1.05, 1.05, 1.07
---------------------------------------------------------------------
You can't run away forever,
But there's nothing wrong with getting a good head start.
-- Jim Steinman, "Rock and Roll Dreams Come Through"
More information about the Linux-users
mailing list