[Lunar-bugs] [Lunar Linux 0000404]: no fsck on boot

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Fri Jan 2 01:08:24 GMT 2004


The following bug has been CLOSED
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000404
=======================================================================
Reporter:                   cmak
Handler:                    sofar
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000404
Category:                   initscripts (boot system)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
=======================================================================
Date Submitted:             2003-11-07 01:31 GMT
Last Modified:              2004-01-02 01:08 GMT
=======================================================================
Summary:                    no fsck on boot
Description: 
i tune2fs'ed my partitons to fsck, max. mount count is reached, fstab is
set up correctly but lunar doent fsck partitons on boot.
=======================================================================

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-07 20:21 GMT 
-----------------------------------------------------------------------
Find the lines in /etc/init.d/mount script that look like this

echo      -n " * Checking all file systems"
fsck      -A -y 
&> /dev/null

and comment out the "&> /dev/null" line like this:

# &> /dev/null

That's what fixed it for me.

Ralph

-----------------------------------------------------------------------
 cmak - 2003-11-07 21:34 GMT 
-----------------------------------------------------------------------
that didn't fixed it here.

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-07 22:18 GMT 
-----------------------------------------------------------------------
In your /etc/fstab on the lines with each of your partitions that you want
to have checked you need to have a 1 like this:

/dev/discs/disc0/part3	/	ext3	defaults,noatime	0 1

The 1 will allow the partition/filesystem to be checked.
 
Ralph

-----------------------------------------------------------------------
 cmak - 2003-11-07 23:52 GMT 
-----------------------------------------------------------------------
here is (an example of) what i got in my fstab:
/dev/sda5       /boot           ext2    defaults                0 2
/dev/sda6       /               ext3    data=journal            0 1
/dev/sda8       /usr            ext3    data=journal            0 2
/dev/sda9       /var            ext3    data=journal            0 2

-----------------------------------------------------------------------
 sofar - 2004-01-02 01:07 GMT 
-----------------------------------------------------------------------
found the problem, some people seem to have this in their script:

  fsck -A -y -a

the last '-a' option kills the fsck!!! The current e2fsprogs init.d script
already has this fix, will write some info to the ML to inform.

-----------------------------------------------------------------------
 sofar - 2004-01-02 01:08 GMT 
-----------------------------------------------------------------------
Need just to send info to people on how to fix this.


More information about the Lunar-bugs mailing list