From owner-freebsd-stable@FreeBSD.ORG Mon Feb 28 16:23:12 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B778106566B for ; Mon, 28 Feb 2011 16:23:12 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C28738FC12 for ; Mon, 28 Feb 2011 16:23:11 +0000 (UTC) Received: by wyb32 with SMTP id 32so4495669wyb.13 for ; Mon, 28 Feb 2011 08:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FTHqEwM2cernxjIxwmGbiGzV8H8PQ0Dcn/OsGd7r7lw=; b=h8kd3i4APiHwxzNLcU9UlFh5av+1q5EouwVSxlcneJHIqa6T9PCFE0fiNrDb68FrvZ w+2chzU3a+L/kU6p6Dj1+CnSqigZ2jymVX5yTSSw9fs5ECgY345ZeK+4fdyG07MdzdqY 0IxTdE/WXU71Leu63VH+cj80UEKGkTrJtZSkM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZdN312lMDxJFHuIopRSLQFwcRXPSyvi1RLnBpqDvWAeoUeCkJGytgSVE3ZdYQ1eRU1 2PtPzZFNufyhpzRW77k8eF6RbUY0DoCjJXDa8F/ORNmR2Fd39aD69l7VQKn6sltyJuJv bvFDZPG+OcygYw0T6u9FdCDPHad7GosAouS+w= MIME-Version: 1.0 Received: by 10.227.2.83 with SMTP id 19mr5139978wbi.115.1298910190598; Mon, 28 Feb 2011 08:23:10 -0800 (PST) Received: by 10.227.72.213 with HTTP; Mon, 28 Feb 2011 08:23:10 -0800 (PST) In-Reply-To: <4D6B96E4.1050709@yandex.ru> References: <4D694336.3090203@yandex.ru> <57200BF94E69E54880C9BB1AF714BBCBDD318F@w2003s01.double-l.local> <4D6B96E4.1050709@yandex.ru> Date: Mon, 28 Feb 2011 18:23:10 +0200 Message-ID: From: Marin Atanasov Nikolov To: "Andrey V. Elsukov" Content-Type: text/plain; charset=ISO-8859-1 Cc: Johan Hendriks , freebsd-stable@freebsd.org Subject: Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 16:23:12 -0000 2011/2/28 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 lot of people are going to get bit by this. >> >> As far as i know there is no warning anywhere that you can not use gpart >> and gmirror the whole disk. > 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) 4) Restored my data to the partitions from backups 5) Reboot 6) gmirror the ad0 disk And that's where I got kernel panic. gpart'ing the disk and the mirroring the partitions works just as fine, but not when you mirror the whole disk. Regards, Marin > So, my guess is when all is properly configured all should work as expected. > You should get some non-fatal messages, but not a kernel panic. > I'll try to get some free machines to test, but it will be no so fast. > > -- > WBR, Andrey V. Elsukov > > -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org http://www.unix-heaven.org/