zpool component names - gpt vs. gptid

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Wed Nov 5 09:27:21 UTC 2014


On Wed, 5 Nov 2014 09:06-0000, Arthur Chance wrote:

> These days I use GPT labelled partitions (/dev/gpt/<label>) exclusively when
> creating zfs pools. However, on my latest box, where I have two pools each
> with a single component, "zpool status" lists the components as gptid/<uuid>
> rather than gpt/<label>
> 
> Is there any way to persuade zfs/zpool to use the GPT label devices rather
> than the gptid devices? Failing that, how do you map gptid's back to the
> underlying disk partitions? It's obvious in this case, but I'm building a new
> file server with eight identical disks in a raidz2 set up and am worried how
> I'll identify which disk has problems in the future.

Look at: zpool import -d /dev/gpt some-zpool

-- 
+-------------------------------+------------------------------------+
| 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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list