Apr
02
2010

How to force a fsck after reboot?

For various reasons you may want to force a check (fsck) of a filesystem you currently use (most likely the root / filesystem as you cannot umount it on-the-go). To achieve that do: (below is for the / mount)

    # touch /forcefsck

and after the reboot you’ll see that the fsck is being done.

Share
Written by in: linux | Tweet This

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com