
On Tue, 6 Nov 2012, James Harper <james.harper@bendigoit.com.au> wrote:
Is a routine fsck on ext* filesystems still recommended, or just done because "that's the way we've always done it"?
It's been a while since I've seen anything noteworthy happen on such a fsck. But I guess it depends on how paranoid you are. On Tue, 6 Nov 2012, James Harper <james.harper@bendigoit.com.au> wrote:
I wonder if the following would be valid, assuming you are using LVM:
1. take an LVM snapshot 2. fsck the LVM snapshot 3. if the fsck of the snapshot is good, reset the mount count and/or time last checked interval of the origin fs. If the fsck was bad, do the unmount and fsck (or mark the fs as requiring an fsck next boot if the fs cannot be unmounted) 4. email the results
Yes, that's a good option. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/