Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 1996 15:45:00 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        Eric.Berenguier@sycomore.fr (Eric Berenguier)
Cc:        questions@freebsd.com
Subject:   Re: "Clean flag is wrong" with fsck 
Message-ID:  <8450.829061100@palmer.demon.co.uk>
In-Reply-To: Your message of "Tue, 09 Apr 1996 15:11:50 %2B0200." <199604091311.PAA05612@sycgate.sycomore.fr> 

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Berenguier wrote in message ID
<199604091311.PAA05612@sycgate.sycomore.fr>:
>     when i use the command fsck i get the following message:

> CLEAN FLAG IS WRONG IN SUPERBLOCK

> the command i've typed in is:  fsck -n  
> and the filesystem is mounted.

Solution: don't run fsck on mounted filesystems. fsck works on the raw
device, and may bypass any pending writes in the kernel, thus thinking
something is wrong when it isn't (and if it fixes it, all h*ll could
break lose). *ONLY* run fsck on unmounted filesystems.

Gary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8450.829061100>