From owner-freebsd-fs@FreeBSD.ORG Sun Jan 29 09:00:28 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78338106566B for ; Sun, 29 Jan 2012 09:00:28 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id 44C748FC0C for ; Sun, 29 Jan 2012 09:00:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=rair.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RrQcc-000JIo-U0; Sun, 29 Jan 2012 09:00:27 +0000 Date: Sun, 29 Jan 2012 18:00:25 +0900 Message-ID: From: Randy Bush To: Jason Hellenthal In-Reply-To: <20120129085045.GA26210@DataIX.net> References: <20120129085045.GA26210@DataIX.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/22.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: FreeBSD FS Subject: Re: trying to whack a glabel for a zfs mirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 09:00:28 -0000 > Once again the use of glabel(8) that causes and can cause loss of data > within ZFS disks... DO NOT USE GLABEL! it is not a solution that you > are looking for and in the long run you will shoot yourself in the > foot for using it. > > What you are seeing is glabel blatently refusing to write meta-data to > parts of the disk where something may already exist. This is a good > thing. > > In turn use something like gpart(8) to adjust the gpt label and/or set > your disks up properly. This is not the same thing as glabel(8) which > in turn is a hack and not a solution and severely needs to be shot > into outerspace from world. i gather you do not like glabel :) as you might have guessed from the ad0s3, the disks are gparted. the reason that they are also glabeled is that this is on a disk controller from hell, an hpt 16-port, which seems to occasionally renumber the drives, for example when one is removed. so i wanted constant labels. randy