Re: writing file to disk: not as easy as it looks

From: Folkert van Heusden
Date: Mon Dec 15 2008 - 15:09:23 EST


> > There are certainly things you can do. Put your fileservers's on
> > UPS's. Use RAID. Make backups. Do all three. :-)
>
> Okay, so we pretty much know that ext3 journalling helps in "user hit
> the reset button" case. (And we are pretty sure ext2/ext3 works in
> "clean unmount" case). Otherwise
>
> *) kernel bug -> journalling does not help.
>
> *) sudden powerfail -> journalling helps works on SGI high-end
> hardware. It may or may not help on PC-class hardware.
>
> We already do periodic checks, even on ext3. Maybe we should do fsck
> more often if we see evidence of unclean shutdowns (because we know
> PC hardware is crap...).

What we might need is on-line fsck. E.g. fsck while the fs is still
mounted.

Might be tricky to implement.



Folkert van Heusden

--
MultiTail is a versatile tool for watching logfiles and output of
commands. Filtering, coloring, merging, diff-view, etc.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/