Date: Thu, 28 Apr 2011 12:14:04 -0400 From: Michael Proto <mike@jellydonut.org> To: freebsd-stable@freebsd.org Subject: Re: correct way to setup gmirror on 7.4? Message-ID: <BANLkTi=TAJavv2MGMhxTVOUmhSkJ_oUC9g@mail.gmail.com> In-Reply-To: <E1QFTMy-000JA0-9I@dilbert.ingresso.co.uk> References: <BANLkTimAxZNrT63kDOPTN%2Bq1wOoQqf3Q5g@mail.gmail.com> <E1QFTMy-000JA0-9I@dilbert.ingresso.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 28, 2011 at 11:43 AM, Pete French <petefrench@ingresso.co.uk> w= rote: >> Correct. =A0The layering is not, in itself, the issue. =A0The issue is >> that the loader or kernel or whatever reads the first sector of the >> disk, finds a GPT so it then looks for the backup GPT in the last >> physical sector of the disk and doesn't find it. =A0At this point, >> gmirror is not loaded (or not noticed, since there's nothing in the >> first sector of the disk to show it's a mirror). =A0Once gmirror is >> loaded, then the GPT stops complaining as the first and last sectors >> of the gmirrror provider have the GPT tables. > > Is not the problem here that you are trying to GPT label a gmirrored disc= ? > If you instead gmirror two GPT partitions then the problem goes away > doesnt it ? Thats how I set things up - use parititoning on the ohysical > drives, and then put the mirroring into the partitions thus created. > Works fine, and doesnt suffer from any of the afforementioned problems. > > -pete. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Actually I was first creating 2 GPT partitions on each disk and then creating a mirror on each of those partitions (2 partitions per disk, 2 mirrors). When doing that I ran into the secondary GPT block displaying as "not found" during boot. As I mentioned, I didn't know if that was a problem per-se, which is why I posted to the list to see if there was a better way of mirroring partitions. From what I'm gathering, I think I did things correctly actually. -Proto
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=TAJavv2MGMhxTVOUmhSkJ_oUC9g>