Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2011 13:56:04 +0100
From:      "Johan Hendriks" <Johan@double-l.nl>
To:        "Ivan Voras" <ivoras@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: Gpart and gmirror 8.2 from 18 januari
Message-ID:  <57200BF94E69E54880C9BB1AF714BBCBDD3056@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCBDD3043@w2003s01.double-l.local> <ihbq34$ahc$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Ok the funny thing is, i get the same error on 8.1 Release (the corrupt error), but it boots, and all seems to work.
But i will try the option by First create the mirror and the the gpt partitions.

Regards,
Johan

-----Oorspronkelijk bericht-----
Van: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] Namens Ivan Voras
Verzonden: vrijdag 21 januari 2011 12:19
Aan: freebsd-stable@freebsd.org
Onderwerp: Re: Gpart and gmirror 8.2 from 18 januari

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


_______________________________________________
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"


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57200BF94E69E54880C9BB1AF714BBCBDD3056>