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 18:52:43 -0600
Cc: Dmitry Nikiforov <dniq_kraft@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20040402001801.GA24900@dingdong.cryptoapps.com>
References: <406AF7B6.6030405@dniq-online.com> <20040402001801.GA24900@dingdong.cryptoapps.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
Chris Wedgwood wrote:

>>I currently am running kernel 2.6.3 on my system, and virtually
>>every time my system gets rebooted without shutdown (which happens
>>sometime), I get corrupted files.
>>    
>>
>
>Define corrupted.
>  
>
'Corrupted' as in 'incorrect data in them'. Besides, a few files were 
lost (Mozilla bookmarks.html, for example, is one of them).

>>Most often I get just random garbage _within_ a file, even though
>>there are no complaints while checking filesystem.
>>    
>>
>
>Random garbage?  As someone else pointed out you can get nulls in
>files at times, but I wouldn't expect it to be that common or
>problematic --- it's also arguably the correct behavior.
>  
>
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. 
At the same time, there were no error messages nor warnings when the 
system was being started and fsck was running, which I find very odd...

>>virtually every time I get power failure or unconditional reboot for
>>whatever reason - I get corrupted files with random garbage inside.
>>    
>>
>
>which files are these?
>  
>
Open files, as far as I can tell right now. Some files I find just later 
that they were corrupted, so I can't tell what was happening to them at 
that very moment :( While I don't have too many crashes (about 4-5 in 
total so far) - it always involves something missing. On my office 
machine (which is 100% linux box with XFS all over it :) ) every time it 
gets unconditionally rebooted, I loose most of my KDE settings and most 
of Mozilla settings (these are that I can notice immediately after the 
reboot). And, like I said, there were a couple of times when there was 
some random garbage in /var/log/messages, for example:

Mar 31 19:01:00 dniq CROND[23308]: (root) CMD (nice -n 19 run-parts 
/etc/cron.hourly)
Mar 31 20:01:00 dniq CROND[23803]: (root) CMD (nice -n 19 run-parts 
/etc/cron.hourly)
Mar 31 21:01:00 dniq CROND[24300]: (root) CMD (nice -n 19 run-parts 
/etc/cron.hourly)
Mar 31 22:01:00 dniq CROND[24797]: (root) CMDL$|.?..?.??. 
?.?#..?L$.??.?L$.??..$..A.?..$.L$|#A..?L$ ??.?L
$$??..$...D$|A..$.H...$!?.???.???..@;\$t..$s.;t$(r..t&..?'....?D$0.D$4.T$,).$.L$x.?9L$0...???.?T[^_]??.....T$.)\$.?????©.....|$.)\$.?.????.....D$.)\$.?t???.v.UW1?VS.?.
.L$(.|$..D$,.T$8.l$0.?.\R?.D$..T$4.D$4.??..R.?.?.??.?.?..T$..T$89T$.......?..$..?&....1?;t$4..?....l$..?.9?..?....T$4.???F.<..?..?.A.D$..?.A.?.A..C..C.?T$...C;t$4......9?.......?t2.?.FA.D$..?.A.?.A..C..C.?T$...C;t$4s]9?sY.?.?'.....?.FA.D
$..?.A.?.A..C..C.?T$...C9?s-.?.FA.D$..?.A.?.A..C..C.?T$...C;t$4s.9?r?.t&.?D$..4$.T$..D$8)?.?9D$....???.?.[^_]?.t&..?'....UWVS.?P.t$d.D$h.T$t.L$l.?.TR?.D$4.D$p.??.D$x..
.?..$.?u.?...?.?..?..T$x.R..?.T$.u..L$x?.?...D$.?A..?...D$x.@..?.D$.u..T$x??....D$.?B.?....?.??????t@1??.u8??B?.u1??B?.u*??B?.u#??B?.u.??B?.u.??B?.u.??B?.u.??B?.t?.?.l
$L.?.???1?1?.D$.??..?t$.?...?.............??C??.t.....?.~?.?........D+?.D$

(this is just a simulation, not the actual file fragment).

-- 

Regards, DNiq.



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