Hi,
I've been using XFS on my laptop for about a year now and overall I'm quite
satisfied with its performance. I can't however, say that about stability.
I've experienced file zeroing every now and then on various occasions
(mostly .bash_history), though I had the impression that this issue has
been substantialy improved over the time.
However, it seems it has not been the case. I'm currently using 2.4.23 +
various patches (including xfs-2.4.23-all-i386 dated 2003-12-01_00:33_UTC,
compiled with no debug, no ACLs and any other additional stuff). Anyway,
about 15 minutes ago I ran out of battery power, resulting in an unclean fs
shutdown. Upon reboot I noticed that this time not only my .bash_history
was lost, but also all of the bookmarks. This is doubly strange, since I
did issue a sync several seconds before the shutdown happened and, what is
more interesting, I did shutdown mozilla at least 30 seconds before that,
so there's no way the bookmarks file could have been open at the time of
shutdown.
Yeah, I know you'll tell me to keep backups at hand, but come on, how come
other filesystems are not so picky about open files? Or am I doing
something wrong? How to prevent data loss? I'd have accepted the loss if
there had been any I/O operations, but there virtually none after the
sync() had returned. Do you have any ideas?
Best regards,
--
Karol 'sziwan' Kozimor
sziwan@xxxxxxxxxxx
|