From owner-freebsd-current@FreeBSD.ORG Sun Sep 27 20:37:24 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 0834F1065695 for ; Sun, 27 Sep 2009 20:37:24 +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 703398FC1B for ; Sun, 27 Sep 2009 20:37:23 +0000 (UTC) Received: (qmail 18248 invoked by uid 89); 27 Sep 2009 20:37:21 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 27 Sep 2009 20:37:21 -0000 Date: Sun, 27 Sep 2009 22:37:25 +0200 From: Oliver Lehmann To: freebsd-stable@freebsd.org Message-Id: <20090927223725.5893371f.lehmann@ans-netz.de> In-Reply-To: <20090927170244.0980d699.lehmann@ans-netz.de> References: <20090927170244.0980d699.lehmann@ans-netz.de> 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: Sun, 27 Sep 2009 21:25:36 +0000 Cc: freebsd-current@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: Sun, 27 Sep 2009 20:37:24 -0000 Hi, that gmirror together with glabel cannot be used looks like a problem introduced with 8.0-RC1 to me. What I did: 2. Installation 3. reboot 4. mirror Root-hdd sysctl kern.geom.debugflags=17 gmirror label -vb round-robin gm0 da0 gmirror load echo 'geom_mirror_load="YES"' >> /boot/loader.conf echo 'geom_label_load="YES"' >> /boot/loader.conf 5. adjust fstab vi /etc/fstab :%s/ad/mirror\/gm/g 6. reboot 7. mirror Root-hdd gmirror insert gm0 da1 gmirror status 8. wait until gmirror is done 9. reboot 10. glabel status With 8.0-RC1 I see only da0s1a, da0s1d, da0s1e and da0s1f as Components shown by glabel(8). With 8.0-BETA3 I see mirror/gm0s1a, mirror/gm0s1d, mirror/gm0s1e and mirror/gm0s1f as Components which would be correct here. I use old IBM 2GB DFHS harddisks for that tests. I have a bunch of them so I used for both tries "fresh" drives. I can't see what has changed here between BETA3 and RC1 but something must have changed in a way which renders gmirror together with glabel on RC1 non-working. I just did that as testing the configuration I want to use for my fileserver when the new harddisks arrived but now I'm not sure If I should rely on gmirror+glabel.... Oliver Lehmann wrote: > Hi, > > I try to glabel (tunefs -L) my gmirror RAID-1. After labeling > the /usr, /tmp, /var partition, glabel status shows the labes are being > assigned to the mirror/gm0s1* partitions. > I then changed my /etc/fstab to use the ufs/