According to a post elsewhere by Phoenix, replacing a drive in a ZFS mirror is simple:
But do I have to pass the drive through GPT first to create the scheme and partition, or will ZFS look at the other 2 discs and do the GPT-ing automagically?
# zpool attach <poolname> <old drive> <new drive>
<wait for resilver to complete>
# zpool detach <poolname> <old drive>
But do I have to pass the drive through GPT first to create the scheme and partition, or will ZFS look at the other 2 discs and do the GPT-ing automagically?