Replacing boot raidz1 drive

DeD_Morozzzz

New Member
Oct 21, 2023
9
1
3
Hello.
One of raidz1 (3*500gb) drive went down. I have replaced it with 1Tb drive and did:
# sgdisk <healthy bootable device> -R <new device>
# sgdisk -G <new device>
# zpool replace -f <pool> <old zfs partition> <new zfs partition>
as a resoult zfs pool has been recovered, but new disk has less partitions and I think it will not be bootable. What have I did wrong and how can I fix it?rpool_disks.JPG
 

Attachments

  • rpool_disks2.JPG
    rpool_disks2.JPG
    123.1 KB · Views: 11
Last edited:
  • Like
Reactions: news
Hello guys
I think my mistake was
zpool replace rpool /dev/sdc1 scsi-0QEMU_QEMU_HARDDISK_drive-scsi2

the correct way is
zpool replace rpool /dev/sdc1 scsi-0QEMU_QEMU_HARDDISK_drive-scsi2-part3
 
  • Like
Reactions: UdoB
Hello again
I've tried to to this steps o Proxmox within proxmox and it didn't worked.
all disks have 3 partitions but non of them is bootable
In this thread 4 years ago Apax offered
pve-efiboot-tool format /dev/nvme1n1p2
pve-efiboot-tool init /dev/nvme1n1p2
pve-efiboot-tool refresh

but it also didn't worked. Any ideas?