correct way to setup gmirror on 7.4?

Pete French petefrench at ingresso.co.uk
Thu Apr 28 15:43:14 UTC 2011


> 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.


More information about the freebsd-stable mailing list