From owner-freebsd-fs@FreeBSD.ORG Thu Aug 26 14:43:50 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70BFF16A4CE for ; Thu, 26 Aug 2004 14:43:50 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21E0C43D60 for ; Thu, 26 Aug 2004 14:43:50 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.0.201] ([192.168.0.201]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i7QEj2MR007134; Thu, 26 Aug 2004 08:45:03 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <412DF685.4010505@samsco.org> Date: Thu, 26 Aug 2004 08:41:09 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Simson L. Garfinkel" References: <249AA14A-F6D6-11D8-87E0-000A95DA91E2@csail.mit.edu> In-Reply-To: <249AA14A-F6D6-11D8-87E0-000A95DA91E2@csail.mit.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-fs@freebsd.org Subject: Re: problems with fsck_ffs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 14:43:50 -0000 Simson L. Garfinkel wrote: > Greetings. I just had a RAID crash which required some recovery with > fsck_ffs. > > Two problems with fsck_ffs in 5.2 were discovered: > > 1. There is a divide-by-0 error that happens under some conditions when > the contents of the superblock and the backup superblock are partially > damaged. > > =>Would you like a fix for this? Of course! > > 2. There is no obvious functionality to scan the whole hard-drive for > backup superblocks. > > => I've written such a program. If I integrate it into fsck, will > you take the mods? I'd definitely like to see it. Scott