proxmox 4 plan for drive failure zfs raid 10
Ok, I get the zfs commands for replacing a drive. However, during testing, I yanked out a drive:
did zpool online sda2
zpool rpool scrub
However, the sda2 caught my eye..
Upon running fdisk, I notice two of the drives have a boot partition.
on the old mdadm I would have then done this.
##################
Add drive back:
format to match (First drive is good drive, you get NO WARNING) Make sure you get it right!
sfdisk -d /dev/sda | sfdisk /dev/sda
grub-install /dev/sda
##################
So I guess my question is, how to put the boot partition back and whether to do it before or after the replacement command of zfs?
Ok, I get the zfs commands for replacing a drive. However, during testing, I yanked out a drive:
did zpool online sda2
zpool rpool scrub
However, the sda2 caught my eye..
Upon running fdisk, I notice two of the drives have a boot partition.
on the old mdadm I would have then done this.
##################
Add drive back:
format to match (First drive is good drive, you get NO WARNING) Make sure you get it right!
sfdisk -d /dev/sda | sfdisk /dev/sda
grub-install /dev/sda
##################
So I guess my question is, how to put the boot partition back and whether to do it before or after the replacement command of zfs?