How to mirror the FreeBSD OS on two disks

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Jul 12 19:08:21 UTC 2012


> last partition includes the block of gmirror metadata, that's an error.

no it doesn't

i do this 2 ways:

method 1) i FIRST do gmirror on whole disk

THEN partition it, so partition sizes sums up to gmirror size which is 1 
sector less disk size.

then bsdlabel -B

method 2) i make same disklabel on both disk, then bsdlabel -B, them 
gmirror each partitions separately.
often i do not mirror all partitions, ew. i do not for squid proxy data if 
used.


both method results in system bootable from both drives and proper 
disklabels.




More information about the freebsd-questions mailing list