Interesting XFS note

Brett I. Holcomb bholcomb
Mon May 17 11:44:58 PDT 2004


As someone else explained to this person.  The system essentially tracks 
where it is so that if it does lose power, etc. it can restore to the last 
known point.  However, if something has been done before the changes are 
committed and they aren't journaled then the data will be lost.  It's like 
a database - you do work but it's not in the database until it's commited 
so if the db goes down it retrieves what it last knew about but anything 
after that is gone.

Yes, there isn't anyway any system will keep ALL the data in the event of 
pulling the plug.  I guess you could if you wrote every character, 
everychange to disk at the exact momemnt it occured but then you'd still 
loose it.

I think the person who posted badly about XFS doesn't understand what 
happens.

Ken Moffat wrote:

> Brett I. Holcomb wrote:
>> Yes, a box on XFS comes RIGHT UP after a hard
>> shutdown, but things are and will be missing.
>> 
> 
> Would any system save unsaved material if you pulled the plug? I'm
> surprised you'd end up with a partially corrupted file. Don't these
> journaling systems step back to a stable time before the power was lost?
> (I'm probably confused about journaling)
> 
> 

-- 
Brett I. Holcomb
brettholcomb at R777charter.net
AKA Grunt <><
Registered Linux User #188143
Remove R777 to email


More information about the Linux-users mailing list