[opensuse] Fwd: periodic fsck was Re: [patch] ext2/3: document conditions when reliable operation is possible
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2009-11-09 at 17:01 -0500, Greg Freemyer wrote:
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.
I don't read it that way. From the excerpt you posted: ]> 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. I read that as meaning that, if you use LVM, make periodic snapshots of it (an lvm specific operation, I understand). Not that we should use LVM. Unless he has said more... but on that paragraph, I understand it differently. Perhaps you have links to the thread? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkr4r7QACgkQtTMYHG2NR9USSgCdEhD3TAD1fvlNAtEabQM+TXrt 7EQAnApKFEGLffXCURFpftwSf7JdhUNy =e7Cx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Nov 9, 2009 at 7:11 PM, Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday, 2009-11-09 at 17:01 -0500, Greg Freemyer wrote:
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.
I don't read it that way. From the excerpt you posted:
]> 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.
I read that as meaning that, if you use LVM, make periodic snapshots of it (an lvm specific operation, I understand). Not that we should use LVM.
Unless he has said more... but on that paragraph, I understand it differently. Perhaps you have links to the thread?
The thread is at: http://markmail.org/thread/2tu3brz74zuafxqm The message at: http://markmail.org/message/dn74kxsb7wigu643 Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Greg Freemyer