From owner-freebsd-current@FreeBSD.ORG Mon Sep 28 18:38:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21D7B1065695 for ; Mon, 28 Sep 2009 18:38:01 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 884428FC1F for ; Mon, 28 Sep 2009 18:38:00 +0000 (UTC) Received: (qmail 70758 invoked by uid 89); 28 Sep 2009 18:37:58 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 28 Sep 2009 18:37:58 -0000 Date: Mon, 28 Sep 2009 20:37:56 +0200 From: Oliver Lehmann To: Pawel Jakub Dawidek Message-Id: <20090928203756.ef70e0c6.lehmann@ans-netz.de> In-Reply-To: <20090928084035.GB1659@garage.freebsd.pl> References: <20090927170244.0980d699.lehmann@ans-netz.de> <20090927223725.5893371f.lehmann@ans-netz.de> <20090928084035.GB1659@garage.freebsd.pl> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 28 Sep 2009 18:45:02 +0000 Cc: =?UTF-8?B?U23DuHJncmF2?= , Dag-Erling, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: glabel+gmirror (8.0-RC1 problem) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 18:38:01 -0000 Hi Pawel, Pawel Jakub Dawidek wrote: > Does anything change between you upgrade from BETA3 and RC1? For example > gmirror was compiled into the kernel before and now is loaded as module > or something similar? Nope, it was a clean BETA3 installation with the default GENERIC kernel which has afaik geom_label in kernel, but not geom_mirror (nevertheless I loaded geom_label.ko at boottime as well as geom_mirror) The same with RC1 - clean and fresh installation with the default GENERIC kernel and geom_label in kernel (default), but still loaded as module at boottime as well as geom_mirror. > Could you test this patch: > > http://people.freebsd.org/~pjd/patches/improved_taste.patch This makes gmirror+glabel work again on RC1 One thing which I noticed. I labeled in single user mode, my root partition with tunefs - as well as all my other partitions. After this was done, I remounted my root partition (mount -rw /) and changed my fstab to use the new geom labels instead. But somehow this "killed" the new root-label of my mirror/gm0s1a partition. After I rebooted, the label was gone and I had to manually specify the root partition ufs:mirror/gm0s1a to mount. All the labels of my other mirrored partitions where there (usr, tmp, var). I then rebooted once more into single user mode (specified once more the root partition manually) and did a tunefs -L once more. Then I rebooted directly and the label is now there. Is it possible that mount -rw / (which remounts /dev/mirror/gm0s1a) could have been killed the freshly given label? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/