[Fwd: [Lunar Linux 0000404]: no fsck on boot]
Auke Kok
sofar at lunar-linux.org
Fri Jan 2 02:12:05 GMT 2004
just thought people need to know that the old /etc/init.d/mount script
(somehow this slipped in there sometime back) had a faulty fsck line:
fsck -A -y -a
the last '-a' option would somehow not be accepted by e2fsck for ext3
filesystems, resulting in fsck croaking and not checking anything.
people still having this problem can "lin e2fsprogs". Please make sure
you get the new init.d script, which is a part of the e2fsprogs module.
sofar
-------- Original Message --------
Return-Path: <nobody at lunar-linux.org>
X-Original-To: sofar at clara.xs4all.nl
Delivered-To: sofar at clara.xs4all.nl
Received: from dbguin.lunar-linux.org (dbguin.lunar-linux.org
[216.228.105.15]) by clara.xs4all.nl (Postfix) with ESMTP id AE79156758
for <sofar at clara.xs4all.nl>; Fri, 2 Jan 2004 02:08:25 +0100 (CET)
Received: by dbguin.lunar-linux.org (Postfix) id 096975EBA60; Fri, 2
Jan 2004 01:08:25 +0000 (GMT)
Delivered-To: sofar at lunar-linux.org
Received: by dbguin.lunar-linux.org (Postfix, from userid 65534) id
0152A5EBA59; Fri, 2 Jan 2004 01:08:24 +0000 (GMT)
To: lunar-bugs at lunar-linux.org
Subject: [Lunar Linux 0000404]: no fsck on boot
From: noreply at bugs.lunar-linux.org
X-Sender: <noreply at bugs.lunar-linux.org>
X-Mailer: PHP/4.3.4
X-Priority: 0
Message-Id: <20040102010824.0152A5EBA59 at dbguin.lunar-linux.org>
Date: Fri, 2 Jan 2004 01:08:24 +0000 (GMT)
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
mailing list