On 19/01/2011 12:30, Johan Hendriks wrote:
Hello all, i used to have disk configured with gpart and gmirror.



But with the latest 8.2, my server will not boot anymore if i label the
disk with gmirror.



Gpart status

Name  Status  Components

ad4p1      OK  ad4


Then i do a gmirror label -v -b load gm0 /dev/ad4


Edit /etc/fstab

And change /dev/ad4px to /dev/mirror/gm0px


I reboot, and it hangs when tring to Mount the root device.

I get an error about an corrupt gpt label.

Yes, GPT has the unfortunate property that it records its data both at the beginning of a drive and at the end, so you cannot use it this way (because gmirror wants the last sector for itself).

I haven't tried it but I think from the GPT specification that it records where the secondary table is, so maybe you could do it the other way around: first do a gmirror configuration, then create GPT partitions within the gmirror device (i.e. on /dev/mirror/gm0, not on /dev/ad4).


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to