RE: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Johan Hendriks
On 26.02.2011 15:26, Marin Atanasov Nikolov wrote: After a reboot I get this right before the FreeBSD bootloader starts: gptboot: invalid GPT backup header I suppose this error simply means that gpart can't find it's backup header, because gmirror and gpart both are using the last

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Andrey V. Elsukov
On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht ml On my 8.1 system, i get this message about the corrupt headers, but it booted on the 8.2 system it panics... I think a

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Marin Atanasov Nikolov
2011/2/28 Andrey V. Elsukov bu7c...@yandex.ru: On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht ml On my 8.1 system, i get this message about the corrupt headers, but it

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Clifton Royston
On Mon, Feb 28, 2011 at 06:23:10PM +0200, Marin Atanasov Nikolov wrote: 2011/2/28 Andrey V. Elsukov bu7c...@yandex.ru: On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht ml

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Freddie Cash
On Mon, Feb 28, 2011 at 8:23 AM, Marin Atanasov Nikolov dna...@gmail.com wrote: 2011/2/28 Andrey V. Elsukov bu7c...@yandex.ru: On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Andrey V. Elsukov
On 28.02.2011 19:23, Marin Atanasov Nikolov wrote: I can confirm as well that I get kernel panic if I gpart and then gmirror a disk on 8.2-RELEASE. To reproduce it, I just did the following: 1) Boot a system with a Fixit image 2) Remove all gpart partitions 3) gpart the first disk (ad0)

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Marin Atanasov Nikolov
@Johan Hendriks As far as i know there is no warning anywhere that you can not use gpart and gmirror the whole disk. Well, there is actually :) From gpart(8): NOTE: The GEOM class PART can detect the same partition table on differ- ent GEOM providers and some of them will marked as

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Andrey V. Elsukov
On 28.02.2011 17:23, Joan Picanyol i Puig wrote: http://lists.freebsd.org/pipermail/freebsd-geom/2010-July/004278.html 1. glabeled discs 2. two of this previous discs are gmirrored 3. this mirror is gparted We got distracted by side issues, but I believe this issue is still

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-26 Thread Andrey V. Elsukov
On 26.02.2011 15:26, Marin Atanasov Nikolov wrote: After a reboot I get this right before the FreeBSD bootloader starts: gptboot: invalid GPT backup header I suppose this error simply means that gpart can't find it's backup header, because gmirror and gpart both are using the last sectors

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-26 Thread Marin Atanasov Nikolov
2011/2/26 Andrey V. Elsukov bu7c...@yandex.ru: On 26.02.2011 15:26, Marin Atanasov Nikolov wrote: After a reboot I get this right before the FreeBSD bootloader starts: gptboot: invalid GPT backup header I suppose this error simply means that gpart can't find it's backup header, because