All,
I just read the below piece of advice which was new to me.
Ted Tso, the main ext4 developer is advising users to keep
ext2/ext3/ext4 partitions on LVM volumes. That way a snapshot can be
taken weekly and the filesystem snapshot checked.
If there are no issues, there is nothing to do.
If there are issues, then start a maintenance effort to correct the
issues on the main filesystem.
He does not detail how to do that, but I assume booting into single
user mode and doing a fsck or something similar.
Hope some of you find that informative / useful.
Greg
---------- Forwarded message ----------
From: Theodore Tso
Well, in SUSE11-or-so, distro stopped period fscks, silently :-(. I believed that it was really bad idea at that point, but because I could not find piece of documentation recommending them, I lost the argument.
It's an engineering trade-off. If you have perfect memory that is never has cosmic-ray hiccups, and hard drives that never write data to the wrong place, etc. then you don't need periodic fsck's. If you do have imperfect hardware, the question then is how imperfect your hardware is, and how frequently it introduces errors. If you check too frequently, though, users get upset, especially when it happens at the most inconvenient time (when you're trying to recover from unscheduled downtime by rebooting); if you check too infrequently then it doesn't help you too much since too much data gets damaged before fsck notices. So these days, what I strongly recommend is that people use LVM snapshots, and schedule weekly checks during some low usage period (i.e., 3am on Saturdays), using something like the e2croncheck shell script. - Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org