From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 16:01:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD61916A417 for ; Fri, 15 Feb 2008 16:01:13 +0000 (UTC) (envelope-from jd1987@borozo.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4CEF313C467 for ; Fri, 15 Feb 2008 16:01:13 +0000 (UTC) (envelope-from jd1987@borozo.com) Received: from fracasso.3dresearch.com (c-71-61-128-39.hsd1.pa.comcast.net [71.61.128.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 4F75B325AE for ; Fri, 15 Feb 2008 11:01:12 -0500 (EST) Received: from fracasso.3dresearch.com (fracasso.3dresearch.com [10.61.70.2]) by fracasso.3dresearch.com (Postfix) with ESMTP id 932B017017 for ; Fri, 15 Feb 2008 11:01:10 -0500 (EST) From: Joe Demeny To: freebsd-questions@freebsd.org Date: Fri, 15 Feb 2008 11:01:04 -0500 User-Agent: KMail/1.9.7 References: <200802140108.35844.jd1987@borozo.com> <200802141555.42818.jd1987@borozo.com> <20080214224945.GA82786@slackbox.xs4all.nl> In-Reply-To: <20080214224945.GA82786@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802151101.05581.jd1987@borozo.com> Subject: Re: Trying to recover data from FreeBSD 4.11 system *SOLVED* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 16:01:13 -0000 On Thursday 14 February 2008 05:49:45 pm Roland Smith wrote: > On Thu, Feb 14, 2008 at 03:55:42PM -0500, Joe Demeny wrote: > > Actually, I can now mount my old 4.x boot drive cleanly when I hook up > > this drive in a 6.2 machine. > > > > However, I think I need to get the old boot drive to be able to boot, so > > I could then get to my other old drives, which are Vinum RAID-1. > > > > I don't know if and how could I mount 4.x Vinum partitions under 6.2... > > Have you tried gvinum(8)? Try loading geom_vinum.ko and see if any > devices appear in /dev/gvinum. IIRC, the on-disk metadata hasn't changed > between vinum and gvinum. > > Roland gvinum(8) worked perfectly, thank you! After adding geom_vinum_load=YES to /boot/loader.conf and rebooting, I tried to see if I could find my old partitions: # gvinum list 1 drive: D samsung6_1 State: up /dev/ad1s1 A: 575/6102 MB (9%) 1 volume: V home2 State: down Plexes: 1 Size: 5527 MB 2 plexes: P home2.p0 C State: down Subdisks: 1 Size: 5527 MB P home2.p1 C State: down Subdisks: 0 Size: 0 B 2 subdisks: S home2.p0.s0 State: stale D: samsung6_1 Size: 5527 MB S home2.p1.s0 State: stale D: samsung6_2 Size: 5527 MB Then I tried: # gvinum start home2 1 drive: D samsung6_1 State: up /dev/ad1s1 A: 575/6102 MB (9%) 1 volume: V home2 State: up Plexes: 1 Size: 5527 MB 2 plexes: P home2.p0 C State: up Subdisks: 1 Size: 5527 MB P home2.p1 C State: down Subdisks: 0 Size: 0 B 2 subdisks: S home2.p0.s0 State: up D: samsung6_1 Size: 5527 MB S home2.p1.s0 State: stale D: samsung6_2 Size: 5527 MB Everything came up, except the plex home2.p1 - no surprise, since that drive is dead and isn't even hooked up to this machine. Finally, I tried to mount the home2 volume: # mount /dev/gvinum/home2 /mnt All my old files were there. Thank you again for your help. -- Joe Demeny