From owner-freebsd-questions@FreeBSD.ORG Tue Mar 4 10:29:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE6C476 for ; Tue, 4 Mar 2014 10:29:10 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1DEC5E71 for ; Tue, 4 Mar 2014 10:29:09 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id s24AT4FQ000874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Mar 2014 11:29:04 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id s24AT4uN000871; Tue, 4 Mar 2014 11:29:04 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 4 Mar 2014 11:29:04 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Andrew Berg Subject: Re: ZFS, GPTIDs, and using the whole disk In-Reply-To: <53155486.2060300@my.hennepintech.edu> Message-ID: References: <53155486.2060300@my.hennepintech.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD questions 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: Tue, 04 Mar 2014 10:29:10 -0000 On Mon, 3 Mar 2014 22:20-0600, Andrew Berg wrote: > On 2014.03.03 17:47, Chris Stankevitz wrote: > > Please identify any false statements: > > > > 1. ZFS prefers to use the entire disk. > Prefers, maybe, but it is not a big deal on FreeBSD as has already been explained. > > > 4. Because of (3) it is dangerous to use device names when building a zpool > You would just need to be careful *at pool creation time* that you are using the correct block devices. You can swap them around all you > like afterward since ZFS doesn't use device names to find block devices belonging to a pool. > > > 7. You can create a zpool of GPTIDs > You can refer to block devices by GPT labels when creating a pool. I'm not sure if that's what you meant. > > I personally use GPT labels with each disk in my main pool having one partition for its entire space. Without GPT labels, the only reliable > to distinguish between each disk is its serial number (they are all 3TB WD Reds), which would not be fun to use if one of them suddenly dies. +1 If you want zpool status to show your carefully crafted GPT labels, export the pool and import the pool specifying -d /dev/gpt before putting the pool into production. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+