From owner-freebsd-isp@FreeBSD.ORG Tue Jan 20 04:05:53 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 4CF0816A4CE for ; Tue, 20 Jan 2004 04:05:53 -0800 (PST) Received: from newmail.halenet.com.au (newmail.halenet.com.au [203.55.33.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id E924943D45 for ; Tue, 20 Jan 2004 04:05:50 -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 5216820B1C; Tue, 20 Jan 2004 22:13:27 +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 09110-09; Tue, 20 Jan 2004 22:13:26 +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 6B51320B21; Tue, 20 Jan 2004 22:13:26 +1000 (EST) Message-ID: <535501c3df4c$e49144e0$6500a8c0@halenet.com.au> From: "Tim McCullagh" To: "Putinas Piliponis" References: <534601c3df4a$0e8ef650$6500a8c0@halenet.com.au> <004401c3df4b$abe1f780$1e64a8c0@spotripoli.local> Date: Tue, 20 Jan 2004 21:59:43 +1000 Organization: HaleNET MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" 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 cc: freebsd-isp@FreeBSD.ORG Subject: Re: 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 12:05:53 -0000 Hi Putinas ----- Original Message ----- From: "Putinas Piliponis" To: "Tim McCullagh" Sent: Tuesday, January 20, 2004 9:50 PM Subject: Re: fsck > if it's mounted - unmount It is unmounted > and you just do fsck /dev/da1s1f That is what I thought and am doing. The only problem is that when I do that it comes up with the following errors and then seems to freeze. Or perhaps I am not waiting long enough cathy# fsck /dev/da1s1f ** /dev/da1s1f ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes CANNOT READ: BLK 29163616 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? [yn] y THE FOLLOWING DISK SECTORS COULD NOT BE READ: 29163616, ** Phase 2 - Check Pathnames MISSING '.' I=1759514 OWNER=1002 MODE=40700 SIZE=512 MTIME=Jan 20 09:58 2004 DIR=? UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? [yn] y MISSING '..' I=1759514 OWNER=1002 MODE=40700 SIZE=512 MTIME=Jan 20 09:58 2004 DIR=/spool/postfix/deferred/C UNEXPECTED SOFT UPDATE INCONSISTENCY FIX? [yn] y Message from syslogd@cathy at Tue Jan 20 22:05:56 2004 ... cathy /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> Then It freezes or continues to give cathy /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> errors Should I just leave it and wait? Regards Tim > ----- Original Message ----- > From: "Tim McCullagh" > To: > Sent: Tuesday, January 20, 2004 1:39 PM > Subject: fsck > > > > 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 > > > > _______________________________________________ > > freebsd-isp@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > > > > > >