gvinum missing setupstate/setstate

Paul Schenkeveld fb-geom at psconsult.nl
Thu Mar 9 08:02:58 UTC 2006


Hello,

I'm upgrading several servers from 4-STABLE to 6-STABLE by replacing
the disks with /, /var, /usr but the data disks stay.  All disks were
mirrored using vinum (4-S) and will be using gvinum (6-S).

Since gvinum does not appear to correctly recognize the configuration
saved by vinum, I wipe it out before the upgrade by writing 265 blocks
of zeroes over each partition containing vinum and running gvinum
create afterwards.

I know that the data on the datadisks are mirrored correctly as they
were so while running 4-STABLE, so I'd prefer not to re-synchronize
those disks (2 pairs of two 500GB disks per server).  So I tried the
'volume <name> setupstate' while creating but that seems not supported.
Also, doing setstate up <name.p1> <name.p1.s0> afterwards seems not
supported.

Is there any way making gvinum trust me that the mirror is in good
shape without copying over the whole 1TB making the machine very slow
for several hours?

Thanks,

Paul Schenkeveld


More information about the freebsd-geom mailing list