Hi All,
We've had a disk fail in our ZFS rpool, were looking for the procedure to replace the disk.
So far we've found a couple of wiki's however, I thought i'd run it by you guys and see if its still correct.
We are running Proxmox VE 4.4.
1) Replace the physical failed/offline drive, /dev/sdc
Initialize Disk
2) From the WebUI, Servername -> Disks -> Initialize Disk with GPT (/dev/sdc)
Copy the partition table from /dev/sda to /dev/sdc
3) sgdisk --replicate=/dev/sdc /dev/sda
Ensure the GUIDs are randomized
4) sgdisk --randomize-guids /dev/sdc
Install the Grub on the new disk
5) grub-install /dev/sdc
Then replace the disk in the ZFS pool,
6) zpool replace rpool /dev/sdc2
Job Done?
Cheers,
Q
We've had a disk fail in our ZFS rpool, were looking for the procedure to replace the disk.
So far we've found a couple of wiki's however, I thought i'd run it by you guys and see if its still correct.
We are running Proxmox VE 4.4.
1) Replace the physical failed/offline drive, /dev/sdc
Initialize Disk
2) From the WebUI, Servername -> Disks -> Initialize Disk with GPT (/dev/sdc)
Copy the partition table from /dev/sda to /dev/sdc
3) sgdisk --replicate=/dev/sdc /dev/sda
Ensure the GUIDs are randomized
4) sgdisk --randomize-guids /dev/sdc
Install the Grub on the new disk
5) grub-install /dev/sdc
Then replace the disk in the ZFS pool,
6) zpool replace rpool /dev/sdc2
Job Done?
Cheers,
Q