Hi All,
I have a mirror ZFS pool that has 2x 8TB WD which has also the boot partition on. I wanted to upgrade the drive to 2x 10TB Seagate Ironwolf. My server has hot-swap bays so I was able to add the 10Tb into the existing pool to resilver. All was working fine.
Once I rebooted, I couldn't boot into proxmox as there is no boot partition on the ZFS pool. I removed the 1x 10TB, added back the 8TB drive, and was able to boot off into proxmox and move all the VM off it to another node.
So currently my Zpool is running in a degraded state with only one 10 TB running
So reading up about this in https://forum.proxmox.com/threads/moving-boot-disk-to-new-disks.105543/ I should have done this.
1. Put in new disk
2. sgdisk /dev/disk/by-id/existingdrive -R /dev/disk/by-id/newdrive
3. sgdisk -G /dev/disk/by-id/newdrive
4. zpool attach rpool /dev/disk/by-id/newdrive-part3 and wait for resilver to complete
5. pve-efiboot-tool format /dev/sdX2 (sdX being the new drive)
6. pve-efiboot-tool init /dev/sdX2 (sdX being the new drive)
7. pve-efiboot-tool refresh
Now my question is the boot partition on the 8TB can I copy it over somehow to 10TB drive? Once this is done and add a new 10TB and follow these steps to copy the boot partition from the 10TB to the new 10TB in the ZFS pool?
Sorry it long winded but learning as I go along.
I have a mirror ZFS pool that has 2x 8TB WD which has also the boot partition on. I wanted to upgrade the drive to 2x 10TB Seagate Ironwolf. My server has hot-swap bays so I was able to add the 10Tb into the existing pool to resilver. All was working fine.
Once I rebooted, I couldn't boot into proxmox as there is no boot partition on the ZFS pool. I removed the 1x 10TB, added back the 8TB drive, and was able to boot off into proxmox and move all the VM off it to another node.
So currently my Zpool is running in a degraded state with only one 10 TB running
So reading up about this in https://forum.proxmox.com/threads/moving-boot-disk-to-new-disks.105543/ I should have done this.
1. Put in new disk
2. sgdisk /dev/disk/by-id/existingdrive -R /dev/disk/by-id/newdrive
3. sgdisk -G /dev/disk/by-id/newdrive
4. zpool attach rpool /dev/disk/by-id/newdrive-part3 and wait for resilver to complete
5. pve-efiboot-tool format /dev/sdX2 (sdX being the new drive)
6. pve-efiboot-tool init /dev/sdX2 (sdX being the new drive)
7. pve-efiboot-tool refresh
Now my question is the boot partition on the 8TB can I copy it over somehow to 10TB drive? Once this is done and add a new 10TB and follow these steps to copy the boot partition from the 10TB to the new 10TB in the ZFS pool?
Sorry it long winded but learning as I go along.