From owner-freebsd-questions Tue Apr 9 08:21:39 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA18202 for questions-outgoing; Tue, 9 Apr 1996 08:21:39 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA18164 for ; Tue, 9 Apr 1996 08:21:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with SMTP id PAA08452 ; Tue, 9 Apr 1996 15:45:00 +0100 (BST) To: Eric.Berenguier@sycomore.fr (Eric Berenguier) cc: questions@freebsd.com From: "Gary Palmer" Subject: Re: "Clean flag is wrong" with fsck In-reply-to: Your message of "Tue, 09 Apr 1996 15:11:50 +0200." <199604091311.PAA05612@sycgate.sycomore.fr> Date: Tue, 09 Apr 1996 15:45:00 +0100 Message-ID: <8450.829061100@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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