* last xfs_repair time?
@ 2008-11-12 22:41 Lars Damerow
2008-11-13 0:05 ` Timothy Shimmin
0 siblings, 1 reply; 8+ messages in thread
From: Lars Damerow @ 2008-11-12 22:41 UTC (permalink / raw)
To: xfs
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.
thanks!
-lars
--
lars r. damerow :: button pusher :: pixar animation studios
<lars@pixar.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: last xfs_repair time?
2008-11-12 22:41 last xfs_repair time? Lars Damerow
@ 2008-11-13 0:05 ` Timothy Shimmin
2008-11-13 1:11 ` Eric Sandeen
0 siblings, 1 reply; 8+ messages in thread
From: Timothy Shimmin @ 2008-11-13 0:05 UTC (permalink / raw)
To: Lars Damerow; +Cc: xfs
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.
>
> thanks!
> -lars
>
> --
> lars r. damerow :: button pusher :: pixar animation studios
> <lars@pixar.com>
>
Not that I know of.
Barry is the repair maintainer/expert though.
--Tim
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: last xfs_repair time?
2008-11-13 0:05 ` Timothy Shimmin
@ 2008-11-13 1:11 ` Eric Sandeen
2008-11-13 1:20 ` Lars Damerow
2008-11-13 2:16 ` Barry Naujok
0 siblings, 2 replies; 8+ messages in thread
From: Eric Sandeen @ 2008-11-13 1:11 UTC (permalink / raw)
To: Timothy Shimmin; +Cc: Lars Damerow, xfs
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.
>>
>> thanks!
>> -lars
>>
>> --
>> lars r. damerow :: button pusher :: pixar animation studios
>> <lars@pixar.com>
>>
> 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.
-Eric
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: last xfs_repair time?
2008-11-13 1:11 ` Eric Sandeen
@ 2008-11-13 1:20 ` Lars Damerow
2008-11-13 1:33 ` Eric Sandeen
2008-11-13 2:16 ` Barry Naujok
1 sibling, 1 reply; 8+ messages in thread
From: Lars Damerow @ 2008-11-13 1:20 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Timothy Shimmin, xfs
>From Eric Sandeen <sandeen@sandeen.net>, 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. :/
Here's what we can get from ext3:
% sudo dumpe2fs -h /dev/sda1 | grep 2008
dumpe2fs 1.40.8 (13-Mar-2008)
Inodes per group: 2008
Filesystem created: Thu May 29 11:11:12 2008
Last mount time: Tue Sep 30 18:01:18 2008
Last write time: Tue Sep 30 18:01:18 2008
Last checked: Thu May 29 11:11:12 2008
cheers,
-lars
--
lars r. damerow :: button pusher :: pixar animation studios
<lars@pixar.com>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: last xfs_repair time?
2008-11-13 1:20 ` Lars Damerow
@ 2008-11-13 1:33 ` Eric Sandeen
2008-11-13 1:55 ` Lars Damerow
0 siblings, 1 reply; 8+ messages in thread
From: Eric Sandeen @ 2008-11-13 1:33 UTC (permalink / raw)
To: Lars Damerow; +Cc: Timothy Shimmin, xfs
Lars Damerow wrote:
> From Eric Sandeen <sandeen@sandeen.net>, 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: last xfs_repair time?
2008-11-13 1:33 ` Eric Sandeen
@ 2008-11-13 1:55 ` Lars Damerow
2008-11-13 9:48 ` [xfs] " Martin Steigerwald
0 siblings, 1 reply; 8+ messages in thread
From: Lars Damerow @ 2008-11-13 1:55 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Timothy Shimmin, xfs
>From Eric Sandeen <sandeen@sandeen.net>, Wed, Nov 12, 2008 at 07:33:25PM -0600:
> 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...
Our disks are partitioned with LVM, so we don't have write barriers. We
just recently disabled write caching, though, so our future should be
brighter than it's been. :)
-lars
--
lars r. damerow :: button pusher :: pixar animation studios
<lars@pixar.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [xfs] last xfs_repair time?
2008-11-13 1:55 ` Lars Damerow
@ 2008-11-13 9:48 ` Martin Steigerwald
0 siblings, 0 replies; 8+ messages in thread
From: Martin Steigerwald @ 2008-11-13 9:48 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 1233 bytes --]
Hi!
Lets see whether MailMan lets GPG signature unmangled or whether it is
something else that mangles it.
Am Donnerstag 13 November 2008 schrieb Lars Damerow:
> From Eric Sandeen <sandeen@sandeen.net>, Wed, Nov 12, 2008 at
07:33:25PM -0600:
> > 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...
>
> Our disks are partitioned with LVM, so we don't have write barriers. We
> just recently disabled write caching, though, so our future should be
> brighter than it's been. :)
I really hope that LVM gets write barrier support for write barrier
capable targets. Unless it does my notebook will use plain partitions for
anything but testing filesystems. Otherwise with 2.6.16 back then I
hardly felt a difference in XFS speed after turning off write caches.
If you like add your vote here:
http://bugzilla.kernel.org/show_bug.cgi?id=9554
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: last xfs_repair time?
2008-11-13 1:11 ` Eric Sandeen
2008-11-13 1:20 ` Lars Damerow
@ 2008-11-13 2:16 ` Barry Naujok
1 sibling, 0 replies; 8+ messages in thread
From: Barry Naujok @ 2008-11-13 2:16 UTC (permalink / raw)
To: Eric Sandeen, Timothy Shimmin; +Cc: Lars Damerow, xfs
On Thu, 13 Nov 2008 12:11:21 +1100, Eric Sandeen <sandeen@sandeen.net>
wrote:
> 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.
>>>
>>> thanks!
>>> -lars
>>>
>>> --
>>> lars r. damerow :: button pusher :: pixar animation studios
>>> <lars@pixar.com>
>>>
>> 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.
>
> -Eric
That would sort of fall under the last repair logs still on the todo list.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-11-13 9:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 22:41 last xfs_repair time? Lars Damerow
2008-11-13 0:05 ` Timothy Shimmin
2008-11-13 1:11 ` Eric Sandeen
2008-11-13 1:20 ` Lars Damerow
2008-11-13 1:33 ` Eric Sandeen
2008-11-13 1:55 ` Lars Damerow
2008-11-13 9:48 ` [xfs] " Martin Steigerwald
2008-11-13 2:16 ` Barry Naujok
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox