Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2008 11:01:04 -0500
From:      Joe Demeny <jd1987@borozo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Trying to recover data from FreeBSD 4.11 system *SOLVED*
Message-ID:  <200802151101.05581.jd1987@borozo.com>
In-Reply-To: <20080214224945.GA82786@slackbox.xs4all.nl>
References:  <200802140108.35844.jd1987@borozo.com> <200802141555.42818.jd1987@borozo.com> <20080214224945.GA82786@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802151101.05581.jd1987>