xfs
[Top] [All Lists]

Re: last xfs_repair time?

To: Lars Damerow <lars@xxxxxxxxx>
Subject: Re: last xfs_repair time?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 12 Nov 2008 19:33:25 -0600
Cc: Timothy Shimmin <tes@xxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20081113012045.GL18990@xxxxxxxxx>
References: <20081112224109.GC18990@xxxxxxxxx> <491B6F4C.6030506@xxxxxxx> <491B7EB9.1050207@xxxxxxxxxxx> <20081113012045.GL18990@xxxxxxxxx>
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)
Lars Damerow wrote:
> From Eric Sandeen <sandeen@xxxxxxxxxxx>, Wed, Nov 12, 2008 at 07:11:21PM 
> -0600:
>> Timothy Shimmin wrote:
>>> Lars Damerow wrote:
>>>> Hi folks,
>>>>
>>>> Is it possible to query XFS for the last time xfs_repair fixed a
>>>> filesystem? I've been searching the man pages and haven't found anything
>>>> useful.
>>>>
>>> Not that I know of.
>>> Barry is the repair maintainer/expert though.
>>>
>>> --Tim
>>>
>>>
>> AFAIK it doesn't, but that'd be a neat feature - adding space for that,
>> and maybe date of mkfs (or mkfs version) etc might be nice too.
> 
> Thanks for the responses! It's handy to have that information
> available, especially when you're maintaining hundreds of workstations
> whose power cables occasionally get yanked out by their users. :/

So, for what it's worth, power loss should not necessarily require a
repair; as long as you have barriers enabled and/or you're not losing
log writes to a volatile write cache, power loss should never corrupt
the filesystem metadata; that is what the log is for, after all...

-Eric

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