LWN.net Logo

Fedora and LVM

Fedora and LVM

Posted Nov 1, 2012 22:31 UTC (Thu) by nix (subscriber, #2304)
In reply to: Fedora and LVM by ssmith32
Parent article: Fedora and LVM

/var is written to very frequently: in particular, because wtmp is on /var, it is written to right before major changes of system state when the system is particularly likely to go wrong (suspend/resume, login, logout, reboot, shutdown, any event that triggers a log write). Thus it is likely dirty at such times, which makes it particularly prone to corruption.

Writes to /home are relatively rare by comparison (even for me, with subscriptions to dozens of mailing lists all going into nnml spools under /home).


(Log in to post comments)

Fedora and LVM

Posted Nov 2, 2012 0:25 UTC (Fri) by ssmith32 (subscriber, #72404) [Link]

That does make sense :)
Much better than the hand-waving I've heard before.. ;)

Fedora and LVM

Posted Nov 2, 2012 17:31 UTC (Fri) by nix (subscriber, #2304) [Link]

Oh it started as handwaving -- i.e. I didn't do more than simple blktrace benchmarking for a few minutes to look at the relative write rates after the initial mkfs -- but it became clear in the recent ext4 corruption fiasco that the handwaving had a basis in fact :) I corrupted /var repeatedly, and /home once or twice at most.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds