Re: [Hampshire] Periodic filesystem checks

2009-11-24 Thread Simon Reap
Leo wrote: I'm just looking for a way to skip the occasional check at boot, because I don't want to wait ages for the computer boot. A lot of Ctrl-C does the trick but then no disks get mounted so I end up spending just as long mounting them manually as the computer takes checking them!

Re: [Hampshire] Periodic filesystem checks

2009-11-24 Thread Damian Brasher
Leo wrote: Alan Pope wrote: 2009/7/25 Leo li...@fractal.me.uk: On a not entirely unrelated note, when the a file system check starts during a boot up, is it possible to skip it? I've tried Ctrl-C but that doesn't work. Pressing Esc doesn't work for me, it just carries on doing the check.

Re: [Hampshire] Periodic filesystem checks

2009-11-24 Thread Hugo Mills
On Mon, Nov 23, 2009 at 07:55:59PM +, Leo wrote: Keith Edmunds wrote: I put this command together to find out whether the checks would run if the system were rebooted. It isn't perfect - patches welcome! - but it does the job. for a in $(fdisk -l 2/dev/null|grep -v Extended|\

Re: [Hampshire] Periodic filesystem checks

2009-11-24 Thread Hugo Mills
On Tue, Nov 24, 2009 at 02:21:14PM -, 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

Re: [Hampshire] Periodic filesystem checks

2009-11-24 Thread Damian Brasher
Hugo Mills wrote: 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

Re: [Hampshire] Periodic filesystem checks

2009-11-23 Thread Leo
Keith Edmunds wrote: I put this command together to find out whether the checks would run if the system were rebooted. It isn't perfect - patches welcome! - but it does the job. for a in $(fdisk -l 2/dev/null|grep -v Extended|\ grep ^/|awk '{print $1}');do echo $a:;dumpe2fs -h $a 21|\

Re: [Hampshire] Periodic filesystem checks

2009-11-21 Thread James
On Sat, 2009-11-21 at 11:10 +, Leo wrote: Pressing Esc doesn't work for me, it just carries on doing the check. Does the ability to skip them have to be enabled somewhere? Well, they can be stopped in the first place (or made more infrequent) using the -c or -i options of tune2fs. James

Re: [Hampshire] Periodic filesystem checks

2009-11-21 Thread Keith Edmunds
I put this command together to find out whether the checks would run if the system were rebooted. It isn't perfect - patches welcome! - but it does the job. for a in $(fdisk -l 2/dev/null|grep -v Extended|\ grep ^/|awk '{print $1}');do echo $a:;dumpe2fs -h $a 21|\ grep -v 'Bad magic

Re: [Hampshire] Periodic filesystem checks

2009-07-25 Thread Andy Smith
Hi Keith, On Sat, Jul 25, 2009 at 01:53:07PM +0100, Keith Edmunds wrote: Is it possible to establish, on a running system, how many mounts each filesystem has had since the last check and what the tune2fs -c parameter is? Similarly, is it possible to find out how many days have elapsed since

Re: [Hampshire] Periodic filesystem checks

2009-07-25 Thread Keith Edmunds
Thanks Andy, exactly what I was looking for. Keith -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --

Re: [Hampshire] Periodic filesystem checks

2009-07-25 Thread Leo
On a not entirely unrelated note, when the a file system check starts during a boot up, is it possible to skip it? I've tried Ctrl-C but that doesn't work. Leo -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL:

Re: [Hampshire] Periodic filesystem checks

2009-07-25 Thread Alan Pope
2009/7/25 Leo li...@fractal.me.uk: On a not entirely unrelated note, when the a file system check starts during a boot up, is it possible to skip it? I've tried Ctrl-C but that doesn't work. Depends. On Ubuntu you can press ESC to skip it. Cheers, Al. -- Please post to: