From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 18:21:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5200116A403 for ; Thu, 1 Mar 2007 18:21:04 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id D7DD813C4A6 for ; Thu, 1 Mar 2007 18:21:03 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so934496nfc for ; Thu, 01 Mar 2007 10:21:03 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bA37sMkKfjkLMchcBjNdk6sCBizmtLCCcn0dk5LGUcVXxuImZyr5FmcgSqmqvewy7ho0mJBb934bkkFVdPYrpYRr98vDeJE7rgNHeR3OBEMNuLrd4TQJ3msXE+lVRpXqw1VhsrQr22n0dZz7IJ+Pf6US1LkoP9Y4pRIq3+MCN8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q2vbV7cC8o9750eSg+rVCudq/gU3C/h0h8VfD47fBbNfWO65VM3CrfdCXAu+ESsI1/aXNJJVWEnB+C/WBbgDcaZ2vBOSwSBgZfbt1FSN4soLgZMUtUH3Ivt2cdh5Hzu7cckY7gseVWltPC9yI1kJtEYxD3quhXZuKb6PBI6R1SU= Received: by 10.82.114.3 with SMTP id m3mr768021buc.1172773262721; Thu, 01 Mar 2007 10:21:02 -0800 (PST) Received: by 10.82.175.1 with HTTP; Thu, 1 Mar 2007 10:21:02 -0800 (PST) Message-ID: Date: Thu, 1 Mar 2007 12:21:02 -0600 From: "illoai@gmail.com" To: "Gerry Freymann" In-Reply-To: <20070301101238.7a51585e.lists@interpool.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <841087.71142.qm@web62204.mail.re1.yahoo.com> <20070301101238.7a51585e.lists@interpool.ca> Cc: freebsd-questions@freebsd.org Subject: Re: FSCK question on FreeBSD 5.4R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 18:21:04 -0000 On 01/03/07, Gerry Freymann wrote: > I was doing some maintenance on my FreeBSD 5.4R box, and took it down to > single user mode and ran > > fsck -y > > I have four partitions on my drive, and the 2nd and 3rd partitions come up > with errors and say run fsck manually. > > When I do: > > fsck -y /dev/ad0s1e > > there's no difference, it just shows me the errors but doesn't fix 'em. I > see (NO WRITE) on the partition which I figure is the problem. > > How do I get fsck to write the changes necessary? I used to know all this > when I admin'd a half dozen boxes for about 5 years but 3 years later with > little to no admin chores anymore I've forgotten. Is the error (as such): FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? Because, this is nothing more than an artifact of fsck-ing a live filesystem with softupdates on. Unmount (or maybe downgrade it to read-only). -- --