XFS checks on boot

Brett I. Holcomb bholcomb
Mon May 17 11:42:09 PDT 2004


Thank you.  I'll set the parameter and see what happens and I'll probably 
have to edit the startup script.


> 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.
> 

-- 
Brett I. Holcomb
brettholcomb at R777charter.net
AKA Grunt <><
Registered Linux User #188143
Remove R777 to email


More information about the Linux-users mailing list