xfs
[Top] [All Lists]

RE: XFS data corruption 2

To: "Chris Wedgwood" <cw@xxxxxxxx>
Subject: RE: XFS data corruption 2
From: "Tang Lingbo\(Allan\)" <allan@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Dec 2002 09:27:54 +0800
Cc: <linux-xfs@xxxxxxxxxxx>
Importance: Normal
In-reply-to: <20021210205115.GA2505@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
> -----Original Message-----
> From: linux-xfs-bounce@xxxxxxxxxxx 
> [mailto:linux-xfs-bounce@xxxxxxxxxxx]On Behalf Of Chris Wedgwood
> Sent: Wednesday, December 11, 2002 4:51 AM
> To: Lukas Hejtmanek
> Cc: linux-xfs@xxxxxxxxxxx
> Subject: Re: XFS data corruption 2
> 
> 
> On Tue, Dec 10, 2002 at 08:41:00PM +0100, Lukas Hejtmanek wrote:
> 
> > today we've had power failure again I've noticed that I've got
> > binary nulls in files last modified 19 minutes ago the power
> > failure.
> 
> metadata is journalled --- not data; if you write to a file and crash
> (for example) you may see null bytes at the end of the file or similar
>

How about to use O_SYNC for file data change?
It's also impossible to make sure the last write?
 
> > Is that ok?
> 
> depends on your application; many applications know about these things
> and will deal with it one way or another (eg. mail software and
> databases).
> 
> > Or there is a bug in xfs recovery?
> 
> no
> 
> 
> 
>   --cw
> 
> 


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