[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <460B068C.6060903@tlinx.org>
Date: Wed, 28 Mar 2007 17:21:32 -0700
From: Linda Walsh <lkml@...nx.org>
To: Oliver Joa <oliver@...-a.de>
CC: Eric Sandeen <sandeen@...deen.net>, David Chinner <dgc@....com>,
linux-kernel@...r.kernel.org, xfs-oss <xfs@....sgi.com>
Subject: Re: Corrupt XFS -Filesystems on new Hardware and Kernel
Oliver Joa wrote:
>> eason or another, xfs has detected a corrupted on-disk inode format
>> which it cannot recognize, and shuts down. It is likely the result
>> of something which has gone wrong previously. xfs_repair should fix
>> it. Are there other non-xfs messages in your logs indicating other
>> problems prior to this?
> i sent already the dmesg output to the list. there is nothing else.
> I made a xfs_repair. Now I have some Files in lost+found.
> So I tried it again with a new cable:
---
I doubt it has changed significantly, but xfs was designed for
stable hardware. That doesn't mean you can't pull the plug, but if
you are getting SATA resets, you may be getting some writes aborted,
with subsequent writes going through (speculation). I know when
I had a flakey SCSI disk problem (was cable or connector in my
case), I'd get a rare XFS corruption (out of ~10 years of XFS use,
maybe 2-3 corruptions, all caused by loose connections, cables, etc).
I'd strongly suggest you get to the bottom of the SATA reset
problem. After that is fixed, then try to clean up your XFS disks (or
restore from backups). Sometimes, after some intermittent hardware
problems, my xfs file system was too corrupt for me to repair (at
least with default xfs_repair options). Doesn't mean it was irreparable,
just, I didn't know how to proceed and it was easier to restore from
a daily backup than attempt to manually repair the damage.
The above is based solely on my own experience. I use xfs
with max(8?) logbuffs, and noatime/nodiratime, and find it to have among
the best performance characteristics of any file system (overall;
lowest performance aspect was file delete).
XFS has a low fragmentation rate, due to how it allocates
space and can delay writes. Even so, it is also one of the few
file systems (only?) that comes with a "defragmenter"
(xfs_fsr (file system reorganizer)).
Sgi used to ship systems with xfs_fsr configured to run
weekly to "watch out for" rare, degenerate cases (important for some
real-time video apps). My cron runs it nightly, but often it
will pass through all file systems making no changes.
Fix the flakey hw -- then see if your xfs probs don't "magically"
go away...however, YMMV...
Linda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists