xfs
[Top] [All Lists]

Re: XFS check script on boot?

To: xfs@xxxxxxxxxxx
Subject: Re: XFS check script on boot?
From: Jason White <jason@xxxxxxxxxxxx>
Date: Tue, 18 Mar 2008 12:12:10 +1100
In-reply-to: <20080317134847.GJ14510@xxxxxxxxx>
Mail-followup-to: xfs@xxxxxxxxxxx
References: <20080317134847.GJ14510@xxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Mon, Mar 17, 2008 at 02:48:47PM +0100, Marco Gaiarin wrote:
 
> This was the first tile i hit a xfs filesystem corruption, so i'm
> asking why seems there's no /etc/init.d/checkfs.sh-like script that
> check and repair XFS filesystem at boot.

Because XFS is a journaling file system which can, and should, recover
automatically from an unclean shutdown such as a system crash or power
failure.

If you get XFS corruption after a reboot then you have a hardware or software
problem that shouldn't be happening and which ought to be investigated and
fixed.

The purpose of a journaling file system is to make time-consuming fsck and
similar checks unnecessary after a reboot.


<Prev in Thread] Current Thread [Next in Thread>