xfs
[Top] [All Lists]

Re: [Bug 207] Filesystem corruption at boot, with data loss

To: dgborin@xxxxxxxxx, bugzilla-daemon@xxxxxxxxxxx
Subject: Re: [Bug 207] Filesystem corruption at boot, with data loss
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Wed, 8 Jan 2003 12:49:43 -0800
Cc: xfs-master@xxxxxxxxxxx
In-reply-to: <200301080842.h088gCLj007810@oss.sgi.com>
References: <200301080842.h088gCLj007810@oss.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Wed, Jan 08, 2003 at 12:42:12AM -0800, bugzilla-daemon@xxxxxxxxxxx wrote:

> I don't know if HD write cache is enabled: I kept factory set up, so
> I think it's not. I will look, but I don't think it could be
> related, because with 2.4.19 kernel and XFS patch 2002-09-27 all
> works well.

*Many* IDE drives default to write-caching on.  The disk may then
reorder writes potentially break journalling or worse still, have
unflushed data in the cache when it reboots...

Please check if this is the case.  "hdparm -W0 /dev/sda" or whatever
should turn this off... (hdparm man pages calls this dangerous, I've
never actually had a problem myself with it).



  --cw


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