Problem: On bootup always says to run fsck

Problem: On bootup always says to run fsck

Post by Brian Kram » Fri, 07 Jan 1994 05:22:05



WHen I boot up the system it always says maximum mount count reached fsck
reccomended.  Even after I run fsck.  Any ideas or solutions?

--
--------------------------------------------------------------------------
Brian Kramer-Computer Science & Mathematics-Rutgers University          

SySop:NJ Computer Connection BBS (609)895-0398 - njcc.wisdom.bubble.org

 
 
 

Problem: On bootup always says to run fsck

Post by Peter Suetterl » Sat, 08 Jan 1994 18:39:23



> WHen I boot up the system it always says maximum mount count reached fsck
> reccomended.  Even after I run fsck.  Any ideas or solutions?

Yes, once again....
Not only post and read response to YOUR question, but also read the
answers to other peoples questions. There were about 8+ answers to
that topic the last weeks (Well, now it's 9+ :^) ).
Ok, here it is:
get the new e2fsck version 0.4a
It should be somewhere on sunsite in /pub/Linux/system/Filesystems/ext2
or so

> --
> --------------------------------------------------------------------------
> Brian Kramer-Computer Science & Mathematics-Rutgers University          

> SySop:NJ Computer Connection BBS (609)895-0398 - njcc.wisdom.bubble.org

  Peter

 ----------------------   Peter 'PIT' Suetterlin   -------------------
|   Kiepenheuer Institut   |   Sternfreunde    | Planetarium Freiburg |
|   fuer Sonnenphysik      |   Breisgau e.V    |                      |
|   0761/3198-210          |   0761/71571      |     0761/276099      |


 
 
 

Problem: On bootup always says to run fsck

Post by Jerry Abl » Sat, 15 Jan 1994 01:10:45




>Subject: Re: Problem: On bootup always says to run fsck
>Date: 7 Jan 1994 09:39:23 GMT

>> WHen I boot up the system it always says maximum mount count reached fsck
>> reccomended.  Even after I run fsck.  Any ideas or solutions?
>Yes, once again....
>Not only post and read response to YOUR question, but also read the
>answers to other peoples questions. There were about 8+ answers to
>that topic the last weeks (Well, now it's 9+ :^) ).
>Ok, here it is:
>get the new e2fsck version 0.4a
>It should be somewhere on sunsite in /pub/Linux/system/Filesystems/ext2
>or so
>> --
>> --------------------------------------------------------------------------
>> Brian Kramer-Computer Science & Mathematics-Rutgers University          

>> SySop:NJ Computer Connection BBS (609)895-0398 - njcc.wisdom.bubble.org
>  Peter
> ----------------------   Peter 'PIT' Suetterlin   -------------------
>|   Kiepenheuer Institut   |   Sternfreunde    | Planetarium Freiburg |
>|   fuer Sonnenphysik      |   Breisgau e.V    |                      |
>|   0761/3198-210          |   0761/71571      |     0761/276099      |


I've been having the same problem kinda. It says, at boot up, mounting unclean
file system, run e2fsck. I do, it says it unclean and fixes it. Next time I
boot it says the same thing. I use shutdown and reboot to reset my system. Am
I doing it wrong? I've got the 0.4a e2fsck too.

-- Munster

----------------------------------------------------------------------
 _ _______
(_)_______)  All Kids Love Log!

----------------------------------------------------------------------
GAT        d--(?) -p+ c++++ l++ u+ c+(*) m+(++) s++/++ !n h----(--) f+
           q+++ w++ t++ r++ y**(--)
----------------------------------------------------------------------

 
 
 

Problem: On bootup always says to run fsck

Post by Peter Suetterl » Sat, 15 Jan 1994 20:41:29



> I've been having the same problem kinda. It says, at boot up, mounting unclean
> file system, run e2fsck. I do, it says it unclean and fixes it. Next time I
> boot it says the same thing. I use shutdown and reboot to reset my system. Am
> I doing it wrong? I've got the 0.4a e2fsck too.

If the root filesystem is mounted read-write initially, of course it
is NOT clean.Therefore, you have to first mount it readonly, do the check
and then remount read-write.
Mounting readonly can be done with the READONLY entry in /etc/lilo if
using lilo to boot, ur using the rdev command, e.g. for a floppy:
rdev -R /dev/fd0 1  (if I remember right)
This task of mounting/checking/remounting is performed in the /etc/rc.
Here is the example from the slackware:

# /etc/rc
#
# These commands are executed at boot time by init(8).
# User customization should go in /etc/rc.local.

PATH=/bin:/usr/bin:/etc

# enable swapping
/etc/swapon -a

# Check the integrity of all filesystems
/bin/fsck -A -a
# If there was a failure, drop into single-user mode.
if [ $? -gt 1 ] ; then
        echo fsck failed.  Please reboot.
        sh
fi

# Remount the root filesystem in read-write mode
ROOTDEV="`mount | head -1 | cut -b 1-10`"
echo "Remounting root device with read-write enabled."
/etc/remount/mount -n -o remount $ROOTDEV /

Be shure to have the newest version of mount, as older versions don't
support remounting of allready mounted devices.

Quote:> -- Munster
> ----------------------------------------------------------------------
>  _ _______
> (_)_______)  All Kids Love Log!
> ----------------------------------------------------------------------
> GAT        d--(?) -p+ c++++ l++ u+ c+(*) m+(++) s++/++ !n h----(--) f+
>            q+++ w++ t++ r++ y**(--)
> ----------------------------------------------------------------------

    Peter

 ----------------------   Peter 'PIT' Suetterlin   -------------------
|   Kiepenheuer Institut   |   Sternfreunde    | Planetarium Freiburg |
|   fuer Sonnenphysik      |   Breisgau e.V    |                      |
|   0761/3198-210          |   0761/71571      |     0761/276099      |

 
 
 

Problem: On bootup always says to run fsck

Post by Jim Kaufm » Sun, 16 Jan 1994 02:11:07





>>Subject: Re: Problem: On bootup always says to run fsck
>>Date: 7 Jan 1994 09:39:23 GMT


>>> WHen I boot up the system it always says maximum mount count reached fsck
>>> reccomended.  Even after I run fsck.  Any ideas or solutions?

>>Yes, once again....
>>Not only post and read response to YOUR question, but also read the
>>answers to other peoples questions. There were about 8+ answers to
>>that topic the last weeks (Well, now it's 9+ :^) ).
>>Ok, here it is:
>>get the new e2fsck version 0.4a
>>It should be somewhere on sunsite in /pub/Linux/system/Filesystems/ext2
>>or so
>>> --
>>> --------------------------------------------------------------------------
>>> Brian Kramer-Computer Science & Mathematics-Rutgers University          

>>> SySop:NJ Computer Connection BBS (609)895-0398 - njcc.wisdom.bubble.org

Maybe I'm missing something on this 'file system dirty' thread, but
my root partition is a Minix partition and everytime I boot up
(yes in READ ONLY mode) I am told that the file system is dirty.
What does e2fsck 04.a have to do with this? I run fsck. Are you
saying that e2fsck will work on a non-ext2 file system? If not, where
is a version of fsck that works?

JMK

--
James M. Kaufman, Digital Biometrics, Inc. "Electronic Fingerprinting Systems"

 
 
 

1. fsck fsck fsck say I

[[[Ouch.  Sorry.  Ouch.  The first edition of this text lost the first
word of its Subject.  Fixed now]]]

I remember I first learned of `fsck -f -y /` after `umount /` in the
thread:

Newsgroups: comp.unix.shell
Subject: fsck fsck fsck say I
http://groups.google.com/groups?threadm=2695edf1.0312021221.72f242a3%...

Speaking again now of fsck'ing on demand, eventually I also noticed,
...

My `man -k fsck` does not yet, but could/ should, point to:

--- http://www.google.com/search?q=linux+man+shutdown
--- http://www.die.net/doc/linux/man/man8/shutdown.8.html
...
-f
Skip fsck on reboot.
-F
Force fsck on reboot.
...
---

Pat LaVarre

2. latex2e to lyx translator

3. A new LUG

4. Disk clean on bootup, fsck says it's not clean

5. cannot get wireless config correct

6. Mandrake: Always running fsck on boot

7. mitsumi with kernel 0.99.13

8. Help with fsck ALWAYS running full check (Slackware 96)

9. fsck fsck say I

10. Slackware fsck.ext2 bootup problem.

11. Problem during bootup with fsck.ext2 - Operation not permitted

12. BOOT PROBLEM: /dev/sda2 always gets full fsck