Haiyanliang’s Weblog

Linux FSCK tips

Posted in Uncategorized by haiyanliang on January 24, 2010

1. How to check the last time FSCK was run

ou should be able to tell by using tune2fs

tune2fs -l /dev/sXxN | grep Last checked

See the man page for more information on the options available with tune2fs

2. Force fsck on boot using /forcefsck

# touch /forcefsck

3. Show/change check intervals – Maximum mount count ,  Check interval

tune2fs -i …

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.