[Top] [All Lists]

zero size file after power failure with kernel

To: xfs@xxxxxxxxxxx
Subject: zero size file after power failure with kernel
From: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Aug 2009 21:02:21 +0200
Organization: it-management http://it-management.at
User-agent: KMail/1.10.3 (Linux/; KDE/4.1.3; x86_64; ; )
I have /home mounted like this:
/dev/sda3 on /disks/work1 type xfs 

Hardware: onboard SATA with a single WD VelociRaptor drive.

My power supply melted and so I had a power fail and a sudden death 
( So please remember: even when you have a UPS, your power can fail ! )

After replacing the part, I had almost no isse with my KDE desktop. In 
earlier XFS releases, I constantly lost several config files all 
truncated to 0 length or at some point only contained NULLs on such 
occasions. So the situation improved a lot.

But almost is not good enough: Exactly my kmail config file was 0 sized 
- obviously: at least when I started kmail, it started fresh without any 
accounts or config, but once I exited kmail the config was created with 
the default values and about 12KB size, while my config has >200KB.

Shouldn't it be that this doesn't happen anymore? I'd love to be in a 
position where I really can rely on a crash not trashing any of my files 
anymore. I used to have reiserfs previously, and never, not a single 
time despite many crashes, did I have such an issue. I'd really be 
pleased so see such stability in XFS. I'm using barriers - what else 
must I do?

mfg zmi
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

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