5. I think some substantial part of the MBR code will blow up if you are
reinitalizing a previously formatted disk (the bsdlabel will be retasted
and come back from the dead).
Will not some combination of "gpart destroy -F" and (insert suggestion) work?

Yes, that will work just fine.

Actually, it will appear to work, and then viciously hurt (substitute
more graphic verb for "hurt") you later, if you happen to repartition,
and are using a geom-mirror for your swap space.  At least if you manage
to get your old geom and new geom on the same physical location of the
disk.

To be safe, you really need to either zero out the space used by geom
before destroying the gpart label when it isn't in use, or run:

gmirror deactivate NAME provider1
gmirror deactivate NAME provider2

-Kurt

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to