[Top] [All Lists]

Re: EFSCORRUPTED on mount?

To: Gregory Farnum <gregory.farnum@xxxxxxxxxxxxx>
Subject: Re: EFSCORRUPTED on mount?
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 22 Nov 2011 17:11:50 -0500
Cc: xfs@xxxxxxxxxxx, sandeen@xxxxxxxxxxx
In-reply-to: <CAF3hT9Cu+56WJqzHVu+fMgquddwoMsfW-WC8CvRRBtC4PA3uHw@xxxxxxxxxxxxxx>
References: <CAF3hT9B8-ou-4RhfCkfFWTwwB_tb7nWSP-5pgP3G6oTE+1gAvA@xxxxxxxxxxxxxx> <CAF3hT9AurrVi7xosauVmhQcsbqJgLsxkNYm6dWDNCpB+GR69=w@xxxxxxxxxxxxxx> <20111122014114.GJ2386@dastard> <CAF3hT9Cu+56WJqzHVu+fMgquddwoMsfW-WC8CvRRBtC4PA3uHw@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Nov 22, 2011 at 10:47:24AM -0800, Gregory Farnum wrote:
> Barriers on (at least, nobody turned them off); the RAID card is
> battery-backed; here are megacli dumps:
> http://pastebin.com/yTskgzWG
> http://pastebin.com/ekhczycy

I had a lot of of issues with megaraid cards and their unsafe caching
settings, up to the point that I'd recommend staying away from them
now.  Can you check in the megacli config if the _disk_ write caches
are enabled?  megaraid adapters used to do that a lot, and given that
the disk cache isn't batter backed it's fairly fatal.

I think in your dump this one might be the culprit given that SATA
disks outside of a few niches come with a writeback cache policy:

Disk Cache Policy: Disk's Default

try changing that to an explicit writethrough mode - and maybe try
running a crash data integrity test like


on this controller.

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