From owner-freebsd-fs@FreeBSD.ORG Wed Jul 14 04:37:09 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 37F9D16A4CE for ; Wed, 14 Jul 2004 04:37:09 +0000 (GMT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id B86C543D2D for ; Wed, 14 Jul 2004 04:37:08 +0000 (GMT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 8FBA42BD3D for ; Wed, 14 Jul 2004 14:37:06 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id A3078511FE; Wed, 14 Jul 2004 14:07:04 +0930 (CST) Date: Wed, 14 Jul 2004 14:07:04 +0930 From: Greg 'groggy' Lehey To: micko Message-ID: <20040714043704.GB79947@wantadilla.lemis.com> References: <20040713213017.GA38398@micko.net> <20040713221302.GA63062@wantadilla.lemis.com> <20040714010650.GA8692@micko.net> <20040714030052.GA9508@micko.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="St7VIuEGZ6dlpu13" Content-Disposition: inline In-Reply-To: <20040714030052.GA9508@micko.net> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-fs@freebsd.org Subject: Re: vinum ufs1 drives on freebsd 5.2.1 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: Wed, 14 Jul 2004 04:37:09 -0000 --St7VIuEGZ6dlpu13 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 13 July 2004 at 22:00:52 -0500, micko wrote: > On Tue, Jul 13, 2004 at 08:06:50PM -0500, micko wrote: >> On Wed, Jul 14, 2004 at 07:43:02AM +0930, Greg 'groggy' Lehey wrote: >>> On Tuesday, 13 July 2004 at 16:30:17 -0500, micko wrote: >>>> Hi, I just installed fbsd 5.2.1 on a system which >>>> had fbsd 4.9 with a vinum ufs1 stripe. When I tried >>>> to mount the vinum stripe on fbsd 5.2.1 it went ok, but >>>> doing 'ls' gave me 'bad_dir' and a kernel panic. Doing >>>> fsck gave me 'unknown filesystem type'. Seems like there >>>> is no backwards compatibility. >>> >>> That conclusion is incorrect. >>> >>>> Can this somehow be saved or do I need to put the drives on a fbsd >>>> 4.x system to get the data? >>> >>> You need to find out what the problem is first. To do so, you should >>> use the information at your disposal. See >>> http://www.vinumvm.org/vinum/how-to-debug.html for more details. >> >> It turned out to be a failing drive, which now is totally dead. Is there >> anyway to get some data out of the 1st part of the stripe? > > I found the problem. Originally when I was creating the partitions on the > fbsd 4.x system I didn't slice up the drive, I used da0c/e. When using > the drive under fbsd 5.x and devfs, the system brings up da0s1c/e. Is there > anyway to override this behavior? No. Why do you want to? And why is it a problem? Note the warning in the man page: partition ``c'' represents the whole disk and should not be used for any other purpose. I'm surprised you got it to work at all. *That*'s a bug. Greg -- Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --St7VIuEGZ6dlpu13 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFA9LhwIubykFB6QiMRAjCBAJ4373M/SlGAkKp9T5Qj+RzftguBeQCgnl0E 3nkFGHrxZOx4Ak6je9rTvD8= =qLgC -----END PGP SIGNATURE----- --St7VIuEGZ6dlpu13--