Re: [Hampshire] Boot times, fsck and large disks

Top Page
Author: Andy Smith
Date:  
To: hampshire
Subject: Re: [Hampshire] Boot times, fsck and large disks

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x5751a100.hantslug.org.uk.17159': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Dec 31 17:51:35 2012 GMT
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hi Leo,

On Mon, Dec 31, 2012 at 10:08:16AM +0000, Leo wrote:
> My headless server can take a long time to boot if it decides it
> needs to fsck the large data disks at boot. In order to enable me to
> log on sooner I was thinking of disabling the auto option in fstab
> for them, and adding a script that mounts them in the background
> during boot. I was wondering if anyone else had come across a similar
> problem, and if there was a better way of solving it?


You would be better off disabling the automatic fsck that happens
based on time or mount count, and doing fsck yourself at a time that
suits.

For ext2/3/4 that would be:

# tune2fs -c 0 -i 0 /dev/blah

Either that or switching to a filesystem with a quicker fsck, such
as xfs or zfs.

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting
--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------