Re: [Hampshire] Periodic filesystem checks

Top Page
Author: Hugo Mills
Date:  
To: lug, Hampshire LUG Discussion List
Subject: Re: [Hampshire] Periodic filesystem checks

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57f59100.hantslug.org.uk.27313': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Tue Nov 24 14:28:47 2009 GMT
gpg: using DSA key 20ACB3BE515C238D
gpg: Can't check signature: No public key
On Tue, Nov 24, 2009 at 02:21:14PM -0000, Damian Brasher wrote:
> Hugo Mills wrote:
>
> >    Another solution I've seen recently is to remove the check-on-boot
> > entirely. This in itself is a bad thing, because you then don't get to
> > find random bit-flip data corruptions (which is what the regular
> > fsck-on-boot is for). To get the same effect with no impact on boot
> > times, keep your filesystems in LVM, take a snapshot of each
> > filesystem at regular intervals, and then run fsck on the snapshot.
> > (This advice came from Ted Ts'o, who knows a thing or two about
> > filesystems... :) )

>
> Or, when you have time, boot onto emergency mode from grub by adding
> 'emergency' at the grub command prompt. Login when prompted then fdisk -l to
> view the available partitions then fsck manually.


That requires you to think about it, and involves a reboot and
significant downtime, which nobody is going to do. Ted's solution is
scriptable, (ana)cronnable, and entirely automated.

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- Do not meddle in the affairs of wizards, for they are subtle, ---  
                           and quick to anger.