*BSD News Article 42549


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newshost.marcam.com!news.kei.com!ddsw1!usenet
From: krnlhkr@mcs.com
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Q: CLEAN FLAG WRONG IN SUPERBLOCK
Date: 17 Feb 1995 01:44:36 GMT
Organization: MCSNet Services
Lines: 38
Message-ID: <3i0v25$et@News1.mcs.com>
References: <3htjoi$f39@ra.ibr.cs.tu-bs.de>
NNTP-Posting-Host: krnlhkr.pr.mcs.net
X-Newsreader: AIR News 3.X (SPRY, Inc.)

>   brand@ibr.cs.tu-bs.de (Oliver Brand) writes:
>  
>  Everytime I run fsck (as root), I get the following message:
>  
>  CLEAN FLAG WRONG IN SUPERBLOCK. FIX ?
>  
>  If I type 'y', I am told the error was corrected and I should reboot the
>  system. If I type 'n', nothing happens.
>  In both cases, I couldn't find out whether I have to worry about this
>  message or not (I couln't stat any consequences).
>  My disk drive is a Quantum 730AT  (IDE)  with a 350 MB DOS partition and
>  a 350 MB BSD partition, divided in 3 parts (/, swap and /usr).
>  
>  Maybe I should mention that the error message described above appears for
>  ALL filesystems  (/ and /usr).

Are you shutting down properly?  You can't just turn off the computer, you know.
Type:
shutdown -r now
as root to reboot your system.

What happens is that there is a flag on the disk, and if the system reboots
or is shutdown improperly (like just hitting the power switch without running
the sutdown command), fsck detects it and try to check for damaged files.

DO NOT just switch off the power.  This isn't DOS.  If you do things like that
or hit the reset switch you will eventually start losing pieces of files (you may
have already).

Always shutdown properly.

-Louis

----------------------------------------------------------------------
Louis J. Giliberto, Jr.    !  Support the Free Software Foundation
krnlhkr@mcs.com            !
----------------------------------------------------------------------