Trying to recover data from FreeBSD 4.11 system *SOLVED*
Joe Demeny
jd1987 at borozo.com
Fri Feb 15 16:01:13 UTC 2008
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
More information about the freebsd-questions
mailing list