Hi all,
While working through this problem here, I realized that I needed to fix the layout of the partition in my rpool before proceeding.
/dev/sdb3 and /dev/sda3 are now mirrored partitions (correct) but sda2 should be a EFI boot partition. I'm trying to remove sda2 from the rpool so
I have sda3 and sdb3 mirrored at rpool, but now I can't remove sda2 from the rpool so that I can fix it with the following commands per the PVE manual:
When I try to remove sda2 with 'cannot offline /dev/sda2: no valid replicas'. What now?
While working through this problem here, I realized that I needed to fix the layout of the partition in my rpool before proceeding.
/dev/sdb3 and /dev/sda3 are now mirrored partitions (correct) but sda2 should be a EFI boot partition. I'm trying to remove sda2 from the rpool so
I have sda3 and sdb3 mirrored at rpool, but now I can't remove sda2 from the rpool so that I can fix it with the following commands per the PVE manual:
Code:
sgdisk /dev/sdb2 -R /dev/sda2
sgdisk -G /dev/sda2
When I try to remove sda2 with 'cannot offline /dev/sda2: no valid replicas'. What now?
Code:
root@Server:~# zpool status rpool
pool: rpool
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: resilvered 13.3G in 00:08:35 with 0 errors on Wed Aug 31 18:45:48 2022
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sda3 ONLINE 0 0 0
sdb3 ONLINE 0 0 0
sda2 ONLINE 0 0 0
errors: No known data errors
root@Server:~# zpool offline rpool /dev/sda2
cannot offline /dev/sda2: no valid replicas
root@Server:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1
├─sda2 zfs_member 5000 rpool 13990488175257004118
└─sda3 zfs_member 5000 rpool 13990488175257004118
sdb
├─sdb1
├─sdb2 vfat FAT32 EC8D-8512
└─sdb3 zfs_member 5000 rpool 13990488175257004118
Last edited: