From owner-freebsd-current Wed Sep 4 22:40:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0968537B400 for ; Wed, 4 Sep 2002 22:40:50 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E14C943E6E for ; Wed, 4 Sep 2002 22:40:48 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id PAA01567; Thu, 5 Sep 2002 15:40:36 +1000 Date: Thu, 5 Sep 2002 15:48:02 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Ian Dowse Cc: Daniel Rock , Subject: Re: fsck cannot find superblock In-Reply-To: <200209050035.aa83853@salmon.maths.tcd.ie> Message-ID: <20020905154329.T4009-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 5 Sep 2002, Ian Dowse wrote: > In message <20020905053617.Q2728-100000@gamplex.bde.org>, Bruce Evans writes: > >> * drop support for 4K block sizes completely, but this breaks > >> backwards compatibility > > > >I use patches like the following for the sanity checks: > > I think there may be other problems that are triggered by using <8k > blocks on -current too. Last time I tried 4k blocks (pre-UFS2), the > snapshot code would cause a panic when trying to allocate a single > 4k block to fit the 8k superblock (the machine then got stuck in a > reboot-fsck-panic cycle until interrupted and manually fsck'd). I sometimes run a simple benchmark which tests most combinations of block and fragment sizes starting with 4096-512. This didn't show anoy problems for 4k blocks either pre- or post-ufs2. But it doesn't test snapshots, actual ufs2 filesystems, or anything else that is newer than soft updates, or full filesystems... Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message