Hi Guys,
please have a look at my way to change PVE´s bootable Disks in a Mirror
zpool set autoexpand=on rpool
# Enable Autoexpand on rpool
cfdisk /dev/sdj
# Delete Solaris 8MB Partition, its for saving Space if a replacement drive is minor smaller
cfdisk /def/sdi
# Delete Solaris 8MB Partition
zpool status rpool
# Verify everything is up
zpool offline rpool sdi2
# Check the Drive by Indicator Lamp going offline
zpool online rpool sdi2
# Double Check the Drive by Indicator Lamp going online
zpool status rpool
# Verify if rpool is resilvered
zpool offline rpool sdi2
# Bring Drive to Replace offline again
dmesg -w
#Watch Removal and Inserting the new Drive
sgdisk –backup=table /dev/sdj
sgdisk –load-backup=table /dev/sdi
# Copy Partition Layout to SDI FROM SDJ
cfdisk /dev/sdi
# Verify you did not kill your Partition Table in the last Step
sgdisk -G /dev/sdi
# New Signature to new Drive not to have the Same as the copied Table
update-grub
grub-install /dev/sdi
update-initramfs -u
# Make System bootable
zpool replace rpool sdi2 sdi2
# Replace offline Partition
zpool status rpool 10
Watch Resilver
cfdisk /dev/sdj
# Resize second Partition to maximum
cfdisk /def/sdi
# Resize second Partition to maximum
zpool list
#Verify Succes of Autoexpand
please have a look at my way to change PVE´s bootable Disks in a Mirror
zpool set autoexpand=on rpool
# Enable Autoexpand on rpool
cfdisk /dev/sdj
# Delete Solaris 8MB Partition, its for saving Space if a replacement drive is minor smaller
cfdisk /def/sdi
# Delete Solaris 8MB Partition
zpool status rpool
# Verify everything is up
zpool offline rpool sdi2
# Check the Drive by Indicator Lamp going offline
zpool online rpool sdi2
# Double Check the Drive by Indicator Lamp going online
zpool status rpool
# Verify if rpool is resilvered
zpool offline rpool sdi2
# Bring Drive to Replace offline again
dmesg -w
#Watch Removal and Inserting the new Drive
sgdisk –backup=table /dev/sdj
sgdisk –load-backup=table /dev/sdi
# Copy Partition Layout to SDI FROM SDJ
cfdisk /dev/sdi
# Verify you did not kill your Partition Table in the last Step
sgdisk -G /dev/sdi
# New Signature to new Drive not to have the Same as the copied Table
update-grub
grub-install /dev/sdi
update-initramfs -u
# Make System bootable
zpool replace rpool sdi2 sdi2
# Replace offline Partition
zpool status rpool 10
Watch Resilver
cfdisk /dev/sdj
# Resize second Partition to maximum
cfdisk /def/sdi
# Resize second Partition to maximum
zpool list
#Verify Succes of Autoexpand
Last edited: