[oi-dev] [discuss] zpool create on specified GPT partition

Joshua M. Clulow josh at sysmgr.org
Thu Aug 14 01:23:58 UTC 2025


On Wed, 13 Aug 2025 at 17:53, Atiq Rahman <atiqcx at gmail.com> wrote:
> I see that parted can list all the partitions and format can list some. However, not all of them were listed under /dev/dsk or /dev/rdsk I could only see p0 to p4 (I guess illumos skipped the linux partitions).

The p* devices are probably not what you're looking for.  The p0
device is generally "the whole disk", including access to the
partition table, etc.  The p1-4 devices are for access to the classic
MBR primary partitions, of which there can only be four.

If you've created a modern, EFI/GPT style partition table, and
format(8) can see those GPT partitions, then what you want are the s*
or "slice" devices, which is how we refer to them.  You should ideally
have one slice device for each GPT partition.



Cheers.

-- 
Joshua M. Clulow
http://blog.sysmgr.org



More information about the oi-dev mailing list