GMirror problem updating from FreeBSD 6.2 to 7.0

Andrea Brancatelli andrea at ragedrecords.com
Mon Jun 23 11:27:44 UTC 2008


Hello everybody.

I have a problem with GMirror that maybe you can help me to solve.

I had a FreeBSD 6.2 machine running ok for about an year with a couple of
mirrors in it. One was named Maxtor and coupled, guess what, a pair of
Maxtor HD. They both contained a single parition that was mounted, guess
again, under /Maxtor :)

What I did was shutdown the 6.2 machine pop in a new HD and put FreeBSD
7.0 over it. Everything went OK, I even mirrored the boot drive. Then I
replugged the Maxtor HardDrives and powered on the machine. The Maxtor
mirror appeared in /dev/mirror but there was nothing else, I mean, just
/dev/Maxtor, no /dev/Maxtors1 or anything else.

I gave a quick look at dmesg and found that when it found the mirror he
updated the metadata from V3 to V4. I thought that maybe of this the
machine didn't reread the drive after updating the metadata. So I went
for the easy way and rebooted the machine. After the reboot something
else appeared: I had both /dev/Maxtor and /dev/Maxtors1.

The only problem is that no matter what I cannot read the bsd label out
of it. No /dev/Maxtors1a in any way. bdslabel /dev/Maxtors1 doesn't
report anything significant, I think he doesn't find any bsdlabel, but
I wouldn't know how.

So I freezed as the mirror contains very important data that i really
don't wanna loose. And before you ask, no, I don't have tape backups
or anything as I tought a mirror would be a safely-enough storage.

What should I do? Maybe write a new bsdlabel and hope it matches the
previous one (it should as I think


More information about the freebsd-geom mailing list