Hello there,
I'm experiencing some randam crash of my proxmox host, possibly related to the use of a bad SSD (Silicon Power A55 512Go) absolutely not recommanded for being used in a zfs pool. But I knew that a bit too late...
Anyway, I'm now waiting for a new disk which will be larger than the initial disk: my zfs pool (which is the rpool of my system) is made of two 512Go disk, and the new one will be 980Go. I know I will be limited to 512Go, but this is not a problem for now.
I've read in the documentation that the correct way to go was:
1/copy the partition table from the 512Go disk to the new 980Go one:
2/replace the old disk with the new one:
3/initialize the EFI partition:
My question is about the first step: since I will copy a partition table from a 512Go disk to a 980Go one, should I expand the last partition in the larger disk to reach the actual total size of it BEFORE adding this partition to the pool? Or is it something I can do easily later, e.g. when changing the first smaller disk to a larger one to have two disks of the same size in the pool?
Thanks for your good advices
I'm experiencing some randam crash of my proxmox host, possibly related to the use of a bad SSD (Silicon Power A55 512Go) absolutely not recommanded for being used in a zfs pool. But I knew that a bit too late...
Anyway, I'm now waiting for a new disk which will be larger than the initial disk: my zfs pool (which is the rpool of my system) is made of two 512Go disk, and the new one will be 980Go. I know I will be limited to 512Go, but this is not a problem for now.
I've read in the documentation that the correct way to go was:
1/copy the partition table from the 512Go disk to the new 980Go one:
# sgdisk <healthy bootable device> -R <new device>
# sgdisk -G <new device>
2/replace the old disk with the new one:
zpool replace -f <pool> <old zfs partition> <new zfs partition>
3/initialize the EFI partition:
# proxmox-boot-tool format <new disk's ESP>
# proxmox-boot-tool init <new disk's ESP>
My question is about the first step: since I will copy a partition table from a 512Go disk to a 980Go one, should I expand the last partition in the larger disk to reach the actual total size of it BEFORE adding this partition to the pool? Or is it something I can do easily later, e.g. when changing the first smaller disk to a larger one to have two disks of the same size in the pool?
Thanks for your good advices