Date: Thu, 12 Jul 2012 13:47:59 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: Kaya Saman <kayasaman@gmail.com>, miles kuo <miles.kuo@gmail.com>, freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks Message-ID: <alpine.BSF.2.00.1207121343450.47013@wonkity.com> In-Reply-To: <alpine.BSF.2.00.1207122105350.3122@wojtek.tensor.gdynia.pl> References: <CAGpP9XOvVor7HmxDP7SFhc7AFnpSf-s%2BgXbkJsguiAo=xNvnVA@mail.gmail.com> <CAPj0R5L1=HaY1Bf-51FB59J6Q4pX1s4yDbzXoAAWRwei6yqt-A@mail.gmail.com> <alpine.BSF.2.00.1207110702490.76348@wonkity.com> <alpine.BSF.2.00.1207121649080.2235@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1207121004560.47013@wonkity.com> <alpine.BSF.2.00.1207121941370.2744@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1207121147350.47013@wonkity.com> <alpine.BSF.2.00.1207122037020.2852@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1207121253040.47013@wonkity.com> <alpine.BSF.2.00.1207122105350.3122@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jul 2012, Wojciech Puchar wrote: >> last partition includes the block of gmirror metadata, that's an error. > > no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. > 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. Yes, these are the same methods that can be used with MBR partitions. The second works with GPT partitioning also.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1207121343450.47013>