correct way to setup gmirror on 7.4?
Michael Proto
mike at jellydonut.org
Thu Apr 28 16:14:06 UTC 2011
On Thu, Apr 28, 2011 at 11:43 AM, Pete French <petefrench at ingresso.co.uk> wrote:
>> Correct. The layering is not, in itself, the issue. The 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. At 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). Once 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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
More information about the freebsd-stable
mailing list