Proxmox installed on ZFS Mirror which ran out of space. I replaced the drives 1 at a time using this method:
Old:
2x 240GB SSDs
New:
2x 400GB SSDs
Resilver was successful and both SSDs are bootable. However, rpool does not use the additional space which is to be expected. Autoexpand should take care of this:
However, rpool size is still at 232GB. How can I expand rpool to use the new space?
Code:
sgdisk -R /dev/sdnew /dev/sdold
sgdisk -G /dev/sdnew
zpool replace rpool sdold1 sdnew1
grub-install /dev/sdNew
update-grub
update-initramfs -u
Old:
2x 240GB SSDs
New:
2x 400GB SSDs
Resilver was successful and both SSDs are bootable. However, rpool does not use the additional space which is to be expected. Autoexpand should take care of this:
Code:
zpool set autoexpand=on rpool
zpool scrub rpool
However, rpool size is still at 232GB. How can I expand rpool to use the new space?