xfs
[Top] [All Lists]

data loss

To: linux-xfs@xxxxxxxxxxx
Subject: data loss
From: Glenn Burkhardt <gbburkhardt@xxxxxxxxxxx>
Date: Tue, 28 Oct 2003 20:56:59 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.5
I'm using XFS with Mandrake 9.1, from the patched kernel file 
kernel-2.4.21.0.25mdk-1-1mdk.rpm.  The rev that's logged during boot is 
"SGI XFS 1.3.0pre2 with ACLs"

I've seen a couple of times that files are filled with zero's after rebooting.  
This time it was my ".bashrc" file.  I might have just powered off the 
machine, but the this file wasn't open for writing at the time of shutdown.
After turning the machine on last night, I noticed that my shell prompt had 
changed, and discovered that the file was full of ASCII null characters.

I've seen this happen a couple of times before on other machines.  Then the 
file "/usr/share/config/kdm/kdmrc" had been similiarly trashed - full of 
zeros.  And, it seems that the file size was larger than usual.

Unfortunately, this is not easily reproduced.  It's happened once in the 4 or 
5 months since I've had 9.1 installed.

I'm not the only one who's seen this.  Please see the attached emails from the 
Mandrake "expert" list.  I can understand that if a file is being written, 
and the power is turned off, that the data might not make it to disk.  But a 
file that hasn't been changed in a while shouldn't get trashed.

--------------------------------------------------------------------------------------------------
From: Bryan Whitehead <driver@xxxxxxxxxxxx>
To: Glenn Burkhardt <gbburkhardt@xxxxxxxxxxx>
Re: [expert] does the XFS filesystem lose data, or is my disk broken?

It seems if the file is open at all files can get trashed.

Here is some other problems we've had:

With ext2 we had problems with large files randomly becomming corrupt 
from one momment to the next. The suddenly they would be better. Then 
being totally bad for hours. Reboot makes the problem go away for about 
a day. (Basically we'd run md5sum on the same file in a loop and it 
would change from one moment to the next when it was set to read-only 
with no-one accessing it).

Another problem we get (regardeless of filesystem) is randomly files 
will not be accessable. When we try to read them we will get an "io 
error". If we "mount -o remount" the parition, the problem will go away 
for a bit.

For each problem we have been unable to find a way to trigger the bug 
for other people to see.... :(

-- 
Bryan Whitehead
SysAdmin - JPL - Interferometry and Large Optical Systems
Phone: 818 354 2903
driver@xxxxxxxxxxxx

--------------------------------------------------------------------------------------------
From: Luca Olivetti <luca@xxxxxxxxxxx>
To: expert@xxxxxxxxxxxxxxxxxx
Re: [expert] does the XFS filesystem lose data, or is my disk broken?

Re: [expert] does the XFS filesystem lose data, or is my disk broken?
From: Luca Olivetti <luca@xxxxxxxxxxx>
To: expert@xxxxxxxxxxxxxxxxxx

I've seen this many times (xfs too). Don't know the cause (apart from 
power failure/reset after a crash), but I'd like to.

Bye
-- 


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