From owner-freebsd-isp@FreeBSD.ORG Tue Jan 20 03:45:35 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99DA216A4CE for ; Tue, 20 Jan 2004 03:45:35 -0800 (PST) Received: from newmail.halenet.com.au (newmail.halenet.com.au [203.55.33.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 171BF43D2D for ; Tue, 20 Jan 2004 03:45:33 -0800 (PST) (envelope-from timbo@halenet.com.au) Received: from localhost (localhost [127.0.0.1]) by newmail.halenet.com.au (Postfix) with ESMTP id 1524120B18 for ; Tue, 20 Jan 2004 21:53:09 +1000 (EST) Received: from newmail.halenet.com.au ([127.0.0.1]) by localhost (newmail.halenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08919-06 for ; Tue, 20 Jan 2004 21:53:08 +1000 (EST) Received: from laptopt1 (temp23 [203.55.33.225]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by newmail.halenet.com.au (Postfix) with ESMTP id 6343820AD8 for ; Tue, 20 Jan 2004 21:53:08 +1000 (EST) Message-ID: <534601c3df4a$0e8ef650$6500a8c0@halenet.com.au> From: "Tim McCullagh" To: Date: Tue, 20 Jan 2004 21:39:25 +1000 Organization: HaleNET MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Virus-Scanned: by amavisd-new at halenet.com.au Subject: fsck X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 11:45:35 -0000 Hi Fellows Can someone shed some light on whether it is possible to do a fsck check on a dirty file system if it is installed (and not mounted) as a second HDD on a new system install. I have a mail server that crashed this morning and now fails to boot even into single user mode. So I installed a clean install of FreeBSD 4.9 on a spare HDD and have tried to mount the old drive, but it complains about a "Filesystem is not clean - run fsck". When I do this it seems to want to "WARNING: R/W mount of /var denied." /var is already mounted on da0s1f. Is there any way to run fsck to clean up the filesystem on /dev/da1s1f so that it can be mounted as a second HDD in this type of setup? Are there any other suggestions as to how to clean it up? Regards Tim