From owner-freebsd-fs@FreeBSD.ORG Sat Jun 8 13:27:27 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D5DD0C9B for ; Sat, 8 Jun 2013 13:27:27 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADD115E0 for ; Sat, 8 Jun 2013 13:27:27 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r58DRJ7a083167; Sat, 8 Jun 2013 07:27:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r58DRJ09083164; Sat, 8 Jun 2013 07:27:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 8 Jun 2013 07:27:19 -0600 (MDT) From: Warren Block To: "Reed A. Cartwright" Subject: Re: ZFS and Glabel In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 08 Jun 2013 07:27:19 -0600 (MDT) Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 13:27:27 -0000 On Sat, 8 Jun 2013, Reed A. Cartwright wrote: > I currently have a raidz2 pool that uses whole disks: da6, da7, etc. > I want to label these using glabel and have zfs mount them using the > labels. This way, if an HDD fails, I will be able to easily replace > the drive. GPT labels are better. They work through the glabel mechanism but don't have any extra metadata at the end of the disk. > So my questions are a follows: > > 1) Can glabel be used with zfs and raw disks? Should it be? Yes to the first. "Should" is a judgement call, so it depends on you and your situation. This forum thread talks about GPT labels a bit. It also refers Jeremy Chadwick's hardware "wiring-down" solution (also a judgement call). http://forums.freebsd.org/showthread.php?t=39410