Only tangentially related to the topic, but do you know if TrueNAS still does this custom partitioning? Looking at my partition map through lsblk, I only see extra partitions on my boot drive, not my data drives:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1 zfs_member 5000 Smol 13769124202084177828
sdb
├─sdb1
├─sdb2 vfat FAT32 EFI C282-D0F0
└─sdb3 zfs_member 5000 boot-pool 2507208359843399910
sdc zfs_member 5000 XL 13795326135035765220
sde
└─sde1 zfs_member 5000 XL 13795326135035765220
nvme1n1
└─nvme1n1p1 zfs_member 5000 PoolyPoolersonSSD 6959374796867253056
nvme0n1
└─nvme0n1p1 zfs_member 5000 SSD 1240229572386050698
I’m just trying to figure out if using zpool replace -s from the command line requires some additional steps for TrueNAS consistency when the drive is a non-boot drive.
(CC @phongn who mentioned “voodoo for partitioning under the hood.”)
EDIT: This user says that the 2GB swap partition is no longer created on initial setup? Need to hunt down the update where this is referenced: https://forums.truenas.com/t/how-to-create-a-swap-partiton/
EDIT2: Looks like maybe the 2GB swap partition was removed in 24.04.1: [Accepted] Create 2 GiB buffer space when adding a disk
EDIT3: “Remove creation/reporting/management of swap on TrueNAS (NAS-12887).”