Hi all,
Basically I had 2x 240GB SSDs in a ZFS mirror in my Proxmox 6.3 box, and I replaced them with 1x 500GB (/dev/sda) and 1x 750GB (/dev/sdb) SSDs, by replicating partition tables, randomising GUIDs, replacing ZFS disks, then re-silvering.
And that worked fine with no issue. System is up and running again.
But the total size of the pool did not expand - I was expecting it to be 500GB (smallest of the 2 disks).
Am I right in saying that to expand the pool, I have to do the following?
1. Delete partition 9 from both /dev/sda and /dev/sdb
2. Expand the partition 2 of /dev/sda (the 500GB SSD) to 499GB
3. Write down the total number of sectors in /dev/sda2
4. Expand the partition 2 of /dev/sdb (the 750GB SSD) to exactly the same number of sectors
5. zpool online -e /dev/sda2 and /dev/sdb2
6. Reboot for good measure
Does this sound right? Can I do it online on the PVE box? Do I need to recreate partition 9 at all?
Thanks.
Basically I had 2x 240GB SSDs in a ZFS mirror in my Proxmox 6.3 box, and I replaced them with 1x 500GB (/dev/sda) and 1x 750GB (/dev/sdb) SSDs, by replicating partition tables, randomising GUIDs, replacing ZFS disks, then re-silvering.
And that worked fine with no issue. System is up and running again.
But the total size of the pool did not expand - I was expecting it to be 500GB (smallest of the 2 disks).
Am I right in saying that to expand the pool, I have to do the following?
1. Delete partition 9 from both /dev/sda and /dev/sdb
2. Expand the partition 2 of /dev/sda (the 500GB SSD) to 499GB
3. Write down the total number of sectors in /dev/sda2
4. Expand the partition 2 of /dev/sdb (the 750GB SSD) to exactly the same number of sectors
5. zpool online -e /dev/sda2 and /dev/sdb2
6. Reboot for good measure
Does this sound right? Can I do it online on the PVE box? Do I need to recreate partition 9 at all?
Thanks.