From owner-freebsd-current Sat Nov 30 11:36:24 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 5166D37B401 for ; Sat, 30 Nov 2002 11:36:23 -0800 (PST) Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id E350743E9C for ; Sat, 30 Nov 2002 11:36:22 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.12.3/8.12.3) with ESMTP id gAUJaL59081847; Sat, 30 Nov 2002 11:36:22 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200211301936.gAUJaL59081847@beastie.mckusick.com> To: Michael Reifenberger Subject: Re: corrupted UFS2 label after ffs_vfsops.c,v 1.198 Cc: FreeBSD-Current In-Reply-To: Your message of "Sat, 30 Nov 2002 00:44:10 +0100." <20021130003624.G299-200000@nihil> Date: Sat, 30 Nov 2002 11:36:21 -0800 From: Kirk McKusick 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 Date: Sat, 30 Nov 2002 00:44:10 +0100 (CET) From: Michael Reifenberger To: mckusick@freebsd.org Cc: FreeBSD-Current Subject: corrupted UFS2 label after ffs_vfsops.c,v 1.198 Hi, after cvsupping a kernel with the mentioned version of ffs_vfsops.c I tried to upgrade my kernel from a some weeks aged -current. After that I'm no longer able to mount or fsck a UFS2 formatted disk. My dmesg is attached. Trying fsck_ffs /dev/da0s1a gives: (nihil)(root) # fsck_ffs /dev/da0s1a ** /dev/da0s1a Cannot find file system superblock LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y Fließkommafehler (floating point error in german) Any possible alternate superblock given with -b gives a fp-error also. How to resolve this? Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS Once you have upgraded your fsck to the current version, it will only check converted UFS2 filesystems. To convert your UFS2 filesystem, simply mount it with your new kernel. Once you have done that, you will be able to unmount it and run the new fsck. Similarly, if you have an older kernel (vintage last four months of -current) then it will back-convert your UFS2 filesystems every time you run it and thus you will have to forward convert before fsck will run on it again. Kirk McKusick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message