From owner-freebsd-questions Mon Nov 12 10:19:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id BF4DB37B418 for ; Mon, 12 Nov 2001 10:19:14 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fACIEe277954; Mon, 12 Nov 2001 10:14:40 -0800 (PST) (envelope-from dg) Date: Mon, 12 Nov 2001 10:14:39 -0800 From: David Greenman To: Don Sutter Cc: FreeBSD Questions Subject: Re: fsck problem Message-ID: <20011112101439.A77864@nexus.root.com> References: <002201c169a4$7d92a4c0$13fea8c0@drs> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002201c169a4$7d92a4c0$13fea8c0@drs>; from drs@suntreeaz.com on Fri, Nov 09, 2001 at 09:59:33PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >fsck is refusing to run telling me that it doesn't have write access. I'm logged in to FreeBSD 4.3 as root and my system is installed on ad1 (root-ad1s1a, swap-ad1s1b, usr-ad1s1e) > >This is as far as I get... > >sparky# fsck -f -p >/dev/ad1s1a: NO WRITE ACCESS >/dev/ad1s1a: UNEXPECTED INCONSISTENCE; RUN fsck MANUALLY. > > >Hummm. I thought I was running fsck manually... -p is prune mode, which is normally done automatically at startup. My guess for the reason that it's failing is that the filesystem that you're trying to fsck is already mounted. You can't fsck a mounted filesystem. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message