root@mowa219-gjp4-8570p-freebsd:~ # gdisk /dev/da3 GPT fdisk (gdisk) version 1.0.9 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present Creating new GPT entries in memory. Command (? for help): n Partition number (1-128, default 1): First sector (34-15267806, default = 2048) or {+-}size{KMGTP}: Last sector (2048-15267806, default = 15265791) or {+-}size{KMGTP}: +3G Current type is A503 (FreeBSD UFS) Hex code or GUID (L to show codes, Enter = A503): a504 Changed type of partition to 'FreeBSD ZFS' Command (? for help): n Partition number (2-128, default 2): First sector (34-15267806, default = 6293504) or {+-}size{KMGTP}: Last sector (6293504-15267806, default = 15265791) or {+-}size{KMGTP}: Current type is A503 (FreeBSD UFS) Hex code or GUID (L to show codes, Enter = A503): a504 Changed type of partition to 'FreeBSD ZFS' Command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): y OK; writing new GUID partition table (GPT) to /dev/da3. Warning: The kernel may continue to use old or deleted partitions. You should reboot or remove the drive. The operation has completed successfully. root@mowa219-gjp4-8570p-freebsd:~ # zpool create dandelion /dev/da3p1 root@mowa219-gjp4-8570p-freebsd:~ # zpool create seeds /dev/da3p2 root@mowa219-gjp4-8570p-freebsd:~ # zpool export dandelion root@mowa219-gjp4-8570p-freebsd:~ # zpool export seeds root@mowa219-gjp4-8570p-freebsd:~ # zdb -l /dev/da3 failed to unpack label 0 failed to unpack label 1 failed to unpack label 2 failed to unpack label 3 root@mowa219-gjp4-8570p-freebsd:~ # zdb -l /dev/da3p1 ------------------------------------ LABEL 0 ------------------------------------ version: 5000 name: 'dandelion' state: 1 txg: 140 pool_guid: 7668763410677090373 errata: 0 hostid: 635545813 hostname: 'mowa219-gjp4-8570p-freebsd' top_guid: 1327468058447962334 guid: 1327468058447962334 vdev_children: 1 vdev_tree: type: 'disk' id: 0 guid: 1327468058447962334 path: '/dev/da3p1' whole_disk: 1 metaslab_array: 130 metaslab_shift: 28 ashift: 12 asize: 3216506880 is_log: 0 create_txg: 4 features_for_read: com.delphix:hole_birth com.delphix:embedded_data com.klarasystems:vdev_zaps_v2 labels = 0 1 2 3 root@mowa219-gjp4-8570p-freebsd:~ # zdb -l /dev/da3p2 ------------------------------------ LABEL 0 ------------------------------------ version: 5000 name: 'seeds' state: 1 txg: 187 pool_guid: 10424398282100427069 errata: 0 hostid: 635545813 hostname: 'mowa219-gjp4-8570p-freebsd' top_guid: 6957864822190159989 guid: 6957864822190159989 vdev_children: 1 vdev_tree: type: 'disk' id: 0 guid: 6957864822190159989 path: '/dev/da3p2' whole_disk: 1 metaslab_array: 62 metaslab_shift: 29 ashift: 12 asize: 4589092864 is_log: 0 create_txg: 4 features_for_read: com.delphix:hole_birth com.delphix:embedded_data com.klarasystems:vdev_zaps_v2 labels = 0 1 2 3 root@mowa219-gjp4-8570p-freebsd:~ # zpool labelclear /dev/da3 failed to clear label for /dev/da3 root@mowa219-gjp4-8570p-freebsd:~ # zpool labelclear /dev/da3p1 use '-f' to override the following error: /dev/da3p1 is a member of exported pool "dandelion" root@mowa219-gjp4-8570p-freebsd:~ # zpool destroy dandelion cannot open 'dandelion': no such pool root@mowa219-gjp4-8570p-freebsd:~ # zpool import dandelion root@mowa219-gjp4-8570p-freebsd:~ # zfs umount dandelion root@mowa219-gjp4-8570p-freebsd:~ # zpool destroy dandelion root@mowa219-gjp4-8570p-freebsd:~ # zdb -l /dev/da3p1 ------------------------------------ LABEL 0 ------------------------------------ version: 5000 name: 'dandelion' state: 2 txg: 162 pool_guid: 7668763410677090373 errata: 0 hostid: 635545813 hostname: 'mowa219-gjp4-8570p-freebsd' top_guid: 1327468058447962334 guid: 1327468058447962334 vdev_children: 1 vdev_tree: type: 'disk' id: 0 guid: 1327468058447962334 path: '/dev/da3p1' whole_disk: 1 metaslab_array: 130 metaslab_shift: 28 ashift: 12 asize: 3216506880 is_log: 0 create_txg: 4 features_for_read: com.delphix:hole_birth com.delphix:embedded_data com.klarasystems:vdev_zaps_v2 labels = 0 1 2 3 root@mowa219-gjp4-8570p-freebsd:~ # zpool labelclear /dev/da3p1 root@mowa219-gjp4-8570p-freebsd:~ # zdb -l /dev/da3p1 failed to unpack label 0 failed to unpack label 1 failed to unpack label 2 failed to unpack label 3 root@mowa219-gjp4-8570p-freebsd:~ # zdb -l /dev/da3p2 ------------------------------------ LABEL 0 ------------------------------------ version: 5000 name: 'seeds' state: 1 txg: 187 pool_guid: 10424398282100427069 errata: 0 hostid: 635545813 hostname: 'mowa219-gjp4-8570p-freebsd' top_guid: 6957864822190159989 guid: 6957864822190159989 vdev_children: 1 vdev_tree: type: 'disk' id: 0 guid: 6957864822190159989 path: '/dev/da3p2' whole_disk: 1 metaslab_array: 62 metaslab_shift: 29 ashift: 12 asize: 4589092864 is_log: 0 create_txg: 4 features_for_read: com.delphix:hole_birth com.delphix:embedded_data com.klarasystems:vdev_zaps_v2 labels = 0 1 2 3 root@mowa219-gjp4-8570p-freebsd:~ #