openzfsonosx / zfs

OpenZFS on OS X

Home Page:https://openzfsonosx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

replace disk does not create EFI partitions

photonclock opened this issue · comments

If I replace a disk with a new unpartitioned disk, the new disk does not get the EFI partitions created as part of the replace operation.

I wrote up the behavior in detail here:
https://openzfsonosx.org/forum/viewtopic.php?f=11&t=3306

I recently encountered this issue replacing a disk. Note also that without the proper partitioning, whole_disk will be set to 0 (zero). A workaround is to install the replacement disk, create a dummy pool on the disk, destroy the dummy pool, and then trigger the replace.