Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 11:29:04 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Andrew Berg <aberg010@my.hennepintech.edu>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: ZFS, GPTIDs, and using the whole disk
Message-ID:  <alpine.BSF.2.00.1403041125240.720@mail.fig.ol.no>
In-Reply-To: <53155486.2060300@my.hennepintech.edu>
References:  <CAPi0psuD5zDBuBZmE3tBKDeFdMcpvBn3pU4waDu6FU8SaTs0-Q@mail.gmail.com> <53155486.2060300@my.hennepintech.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.      |
+-------------------------------+------------------------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1403041125240.720>