[oi-dev] [OpenIndiana-discuss] [discuss] zpool create on specified GPT partition
Atiq Rahman
atiqcx at gmail.com
Sat Aug 16 05:50:47 UTC 2025
> FreeBSD has switched around the terms “slice” and “partition”. They are
using “slice" for fdisk/mbr case and “partition” for everything else.
Thank you for sharing the fun fact!
Atiq
On Thu, Aug 14, 2025 at 1:31 AM Toomas Soome via oi-dev <
oi-dev at openindiana.org> wrote:
>
>
> On 14. Aug 2025, at 10:43, Atiq Rahman <atiqcx at gmail.com> wrote:
>
> Hi Joshua,
> Thanks.
>
> I found that s0 mapped to ESP (boot EFI) partition on my system. I also
> found that the newly created solaris partition mapped to s6. So, mostly
> slice numbers seem to be 1 less than part# showed by `parted` that can be
> found in the photo screenshot attached.
>
>
>
>
> The “native” tools in illumos (and solaris) are format, prtvtoc, fmthard
> and fdisk; they tell you disk partition/slices numbers as they actually can
> be found in the system.
>
> fdisk/mbr partitions are named p1-p4 (as already written), with p0
> historically used to access all of the disk (so you can actually write down
> the MBR record).
>
> format and prtvtoc/fmthard are using term “slice” for partitions; and
> slices are numbered from 0. In case of GPT partitioning, the device name to
> access all of the disk is the device name without trailing slice component.
> The confusing part is, if the disk has no GPT table, then there is no
> device name without slice component.
>
> When using other software, you need to pay attention to slice/partition
> numbering (as you have discovered already).
>
> For time being, illumos does install EFI boot program on ESP as
> efi/boot/bootx64.efi — if you want to share ESP between different OS, you
> need to back up the existing efi/boot/bootx64.efi, put illumos version to,
> say, efi/illumos/loader64.efi, restore the original and create respective
> UEFI boot manager configuration. At this time, we can not create UEFI boot
> manager config from inside the illumos, so we do rely on default.
>
> rgds,
> toomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20250815/044abc19/attachment.html>
More information about the oi-dev
mailing list