Date: Tue, 08 Oct 2013 17:14:40 -0400 From: Kurt Lidl <lidl@pix.net> To: freebsd-current@freebsd.org Subject: Re: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI Message-ID: <525475C0.4050205@pix.net> In-Reply-To: <52547185.2000009@freebsd.org> References: <52547185.2000009@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525475C0.4050205>