*BSD News Article 76111


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!02-newsfeed.univie.ac.at!01-newsfeed.univie.ac.at!news.iif.hu!isyshu!hole.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: weird fsck results
Date: 14 Aug 1996 07:17:11 GMT
Organization: Private BSD site, Dresden
Lines: 30
Message-ID: <4uruhn$891@uriah.heep.sax.de>
References: <4uqsm1$ikk@news.missouri.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

paul@students.missouri.edu (Paul Saab) wrote:

> /dev/rsd0a: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
> /dev/rsd0a: CLEAN FLAG NOT SET IN SUPERBLOCK (FIXED)
> /dev/rsd0a: 31031 files, 456466 used, 672661 free (2517 frags, 83768 blocks, 
> 0.2% fragmentation)

> I thought the "FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)" was
> strange so I did some more disk intensive stuff, ran fsck -p and I
> got the same output as above.

You say you are running fsck on a _live_ (i.e. mounted) file system?

Then you get what you deserve.  You could easily trash the entire file
system by this.  If you really think you know how to interpret the
results (and you've just proven us that you don't know it :), the best
you can run on a live file system is ``fsck -n'', so it won't write
anything back.

Btw., the ``FREE BLK COUNT(S) WRONG'' message is benign even after a
crash, it basically means that the statistics between the free block
map and the count in the superblock mismatched.  This is always
fixable.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)