From owner-freebsd-questions@FreeBSD.ORG Mon Feb 24 22:55:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0813FDB for ; Mon, 24 Feb 2014 22:55:36 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E6DA1192 for ; Mon, 24 Feb 2014 22:55:36 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s1OMtYSP003819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 24 Feb 2014 15:55:34 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s1OMtY5S003816; Mon, 24 Feb 2014 15:55:34 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 24 Feb 2014 15:55:34 -0700 (MST) From: Warren Block To: Chris Stankevitz Subject: Re: gptids are not symlinks to /dev/da* 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]); Mon, 24 Feb 2014 15:55:35 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 22:55:36 -0000 On Mon, 24 Feb 2014, Chris Stankevitz wrote: > Warren, > > Thank you for your reply. > > On Mon, Feb 24, 2014 at 11:26 AM, Warren Block wrote: >> Not device name, but a label. Although the correct one should work in place >> of a device name. I use GPT partition labels, but have never bothered with >> the GUIDs. >> >> ... >> >> Generated when the structure is created, I think. > > Now I just need to find out what is "GPT patition label", a "GUID", > and "structure creation"! I will read glabel(8) and see if that > clears it up for me. http://en.wikipedia.org/wiki/GUID_Partition_Table is pretty good. >> smartctl wants a device, but GPTIDs refer to partitions. > > Okay, although I am a bit surprised to hear that a GPTID refers to a > partition. I'm using FreeNAS and I thought I instructed the zpool to > consist entirely of unpatitioned disks. I gather that FreeNAS is, > somewhere in the process, creating partitions which triggers > "structure creation" which creates unique GPTIDs. Probably. One problem with canned single-purpose software like FreeNAS is that it is not as transparent as using FreeBSD directly.