xfs
[Top] [All Lists]

Re: file corruption

To: Chris Wedgwood <cw@xxxxxxxx>
Subject: Re: file corruption
From: Dmitry Nikiforov <dniq_kraft@xxxxxxxxxxxxxxx>
Date: Thu, 01 Apr 2004 19:42:48 -0600
Cc: Dmitry Nikiforov <dniq_kraft@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20040402011618.GA25511@xxxxxxxxxxxxxxxxxxxxxxx>
References: <406AF7B6.6030405@xxxxxxxxxxxxxxx> <20040402001801.GA24900@xxxxxxxxxxxxxxxxxxxxxxx> <406CB95B.4040500@xxxxxxxxxxxxxxx> <20040402011618.GA25511@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
Chris Wedgwood wrote:

>Incorrect data can/will happen for some files.  XFS journals metadata
>not data so this is expected unless applications take sufficient care
>(MTAs like postfix a good example of applications which do the right
>thing).
>  
>
  So technically the whole purpose of this is to provide faster startup 
time after crash and not the consistency of data, correct?

>>Well, it looks like a random garbage. Last time it happened to
>>/var/log/messages - there was some random binary data at the end of
>>it.
>>    
>>
>
>That shouldn't happen (nulls might though).  Can you reproduce this?
>  
>
  I'll try to experiment a little bit...

>Such as?  You mentioned log files, what else?
>  
>
  I can't tell you right now, since I have never paid too much attention 
to this (it just wasn't too critical to me). The reason I've sent my 
original message was that I've just lost all my KDE settings and Mozilla 
settings (all bookmarks, all e-mail accounts and all cookies). In case 
of Mozilla and its e-mail accounts - subdirectories and files were 
there, but Mozilla didn't have the mailbox configuration, so I've had to 
create it again and then copy the mailbox data files over the newly 
created ones.

>It would be good to know what these files are and when they were last
>used relative to the crash.
>  
>
  As far as I can tell, they were being used at the moment of crash.

>>While I don't have too many crashes (about 4-5 in total so far) - it
>>always involves something missing.
>>    
>>
>
>What causes these crashes?
>  
>
  Power outage, or me being impatient when I need to restart my system 
(never caused any problems while I was using EXT3).

>I've seen this (I use KDE here).  As best as I can tell it's KDE and
>Mozilla making dumb assumptions.
>
  Unfortunately I didn't get a chance to look at what was in its config 
files after the crash... :(

>>And, like I said, there were a couple of times when there was some
>>random garbage in /var/log/messages, for example:
>>    
>>
>
>[...]
>
>  
>
>>Mar 31 22:01:00 dniq CROND[24797]: (root) CMDL$|.?..?.??.
>>    
>>
>
>[... non-NULL cruft deleted ...]
>
>Is that common and/or reproducible?  That doesn't seem right.
>  
>
  Well. I didn't try to get this problem specifically, but I've had at 
least two occasions when I've had such situation. I'll try this weekend 
and see if this is something I can reproduce intentionally :)

-- 
Regards, DNiq.


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