From owner-freebsd-isp@FreeBSD.ORG  Tue Jun  6 15:35:14 2006
Return-Path: <owner-freebsd-isp@FreeBSD.ORG>
X-Original-To: freebsd-isp@freebsd.org
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 F2FA116AD40
	for <freebsd-isp@freebsd.org>; Tue,  6 Jun 2006 15:28:36 +0000 (UTC)
	(envelope-from anderson@centtech.com)
Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2F1C843D49
	for <freebsd-isp@freebsd.org>; Tue,  6 Jun 2006 15:28:35 +0000 (GMT)
	(envelope-from anderson@centtech.com)
Received: from webmail.centtech.com (mailbox.centtech.com [10.20.0.15])
	by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k56FSZcj036710;
	Tue, 6 Jun 2006 10:28:35 -0500 (CDT)
	(envelope-from anderson@centtech.com)
Received: from 10.20.200.100 (SquirrelMail authenticated user anderson);
	by otter.centtech.com with HTTP; Tue, 6 Jun 2006 10:28:35 -0500 (CDT)
Message-ID: <49874.10.20.200.100.1149607715.squirrel@10.20.200.100>
In-Reply-To: <44859643.6030005@introweb.nl>
References: <44852CF1.5070300@introweb.nl>	<62208.10.20.200.100.1149598242.squirrel@10.20.200.100>	<44857BA4.90405@introweb.nl>
	<56782.10.20.200.100.1149599550.squirrel@10.20.200.100>
	<44859643.6030005@introweb.nl>
Date: Tue, 6 Jun 2006 10:28:35 -0500 (CDT)
From: "Eric Anderson" <anderson@centtech.com>
To: "Robin Elfrink" <elfrink@introweb.nl>
User-Agent: SquirrelMail/1.5.0
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Virus-Scanned: ClamAV 0.87.1/1514/Mon Jun 5 15:21:02 2006 on mh1.centtech.com
X-Virus-Status: Clean
Cc: freebsd-isp@freebsd.org
Subject: Re: Recovery from disk+fs crash
X-BeenThere: freebsd-isp@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Internet Services Providers <freebsd-isp.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isp>,
	<mailto:freebsd-isp-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-isp>
List-Post: <mailto:freebsd-isp@freebsd.org>
List-Help: <mailto:freebsd-isp-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isp>,
	<mailto:freebsd-isp-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jun 2006 15:35:19 -0000


Robin Elfrink said:
> Eric Anderson wrote:
>
>> You could go in with fsdb and fix the parts manually, but it wouldn't be
>> simple.  You might also try a 'preen' first - not sure if that will do
>> anything different.  Also - this fs is not currently mounted at all,
>> right?
>
> I have no experience with fsdb, so that will take some time for me to
> read the manuals.
>
> The filesystem was mounted read-only just then, but fsck_uff -b 160
> /dev/da0s1f only says it copies the block, and leaves the filesystem
> dirty.
>
> root@:~# fsck_ffs -b 160 /dev/da0s1f
> Alternate super block location: 160
> ** /dev/da0s1f
> cannot alloc 188446744067446403432 bytes for inphead
>
> UPDATE STANDART SUPERBLOCK? [yn] y
>
>
> ***** FILE SYSTEM STILL DIRTY *****
>
>
> I tried with several backup copies (as newfs -N said it would make; this
> is a standard install with no fs optimizations). All with the same result.
>
>
> Robin


And then after that, you tried the regular:

fsck_ffs -y /dev/da0s1f

?

Eric


-- 
-------------------------------------------------------------
Eric Anderson    anderson@centtech.com    Centaur Technology
You have my continuous partial attention
-------------------------------------------------------------