So I replaced a failed device in a boot mirror on my scale system and noticed something.
The boot process took a lot longer because it failed to initialise the swap space. So I looked at the pool status and I get
pool: boot-pool
state: ONLINE
scan: scrub repaired 0B in 00:00:35 with 0 errors on Mon Apr 22 20:34:10 2024
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdj ONLINE 0 0 0
sdk3 ONLINE 0 0 0
Notice how the original drive has the partition number on it, the replaced drive doesn’t.
Running fdisk, the replaced drive doesn’t have any partitions, which I presume is why the swap failed to initialise. Is this a bug?