[clug] Debian Jessie file system checking on boot up

Scott Ferguson scott.ferguson.clug at gmail.com
Wed Apr 6 12:30:05 UTC 2016



On 06/04/16 22:17, George at Clug wrote:
>     Scott,
> 
> Does your second email suggest removing the "quiet" parameter?

Yes. But only for testing purposes as fsck appears to run (see the
video) but was producing no logs in /var/log/fsck/check*. Removing
"quiet" meant I could see fsck run.

> 
> This is what I currently have;
> GRUB_CMDLINE_LINUX_DEFAULT="quiet fsck.mode=force"

Having quiet enabled shouldn't affect the second parameter.

> 
> 
> # df -h
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sda1        95G   46G   44G  52% /
> udev             10M     0   10M   0% /dev
> tmpfs           3.2G  8.5M  3.2G   1% /run
> tmpfs           7.9G     0  7.9G   0% /dev/shm
> tmpfs           5.0M     0  5.0M   0% /run/lock
> tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup


Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       2.0G  964M  901M  52% /
udev             10M     0   10M   0% /dev
tmpfs            98M  4.3M   94M   5% /run
tmpfs           245M     0  245M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           245M     0  245M   0% /sys/fs/cgrou

> 
> # cat /etc/default/rcS | grep FSCK
> FSCKFIX=yes

ditto

> 
> # cat /etc/default/grub 

<snipped>

close enough

grep -v "#" /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""


note that I'm appending to a custom menu entry so that it *only* runs if
that boot option is chosen, instead of on every boot (civilizations can
rise and fall in the time it takes to run a full fsck on 95GB)




> 
> 
> At Wednesday, 06-04-2016 on 16:48 Scott Ferguson wrote:
> 
<snipped>



Kind regards


-- 
    A: Because we read from top to bottom, left to right.
    Q: Why should I start my reply below the quoted text?

    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?

    A: The lost context.
    Q: What makes top-posted replies harder to read than bottom-posted?

    A: Yes.
    Q: Should I trim down the quoted part of an email to which I'm reply

http://www.idallen.com/topposting.html



More information about the linux mailing list