Hi all,
i have my first boot zfs mirror boot drive replacement and struggle a little bit. Its a PBS on baremetal. I missed a info oder alert in Dashboard because an alerting was not send via Email. Yes this are cheap consumer SSD but they are only boot drives.
I found a thread here in the Forum and followed:
#lsblk -d -o name && lsblk -d -o serial
.
.
1642312006007002 "(new replaced drive)"
1642312006001618 "(old working drive from Mirror)"
.
.
#zpool list -v
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 117G 2.47G 115G - - 4% 2% 1.00x DEGRADED -
mirror-0 117G 2.47G 115G - - 4% 2.11% - DEGRADED
6383316981088746747 - - - - - - - - UNAVAIL
ata-INTENSO_SSD_1642312006001618-part3 118G - - - - - - - ONLINE
#ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root 9 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618 -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 9 Apr 30 12:21 ata-INTENSO_SSD_1642312006007002 -> ../../sdb
.
.
.
#proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with uefi
WARN: /dev/disk/by-uuid/DF9A-23CD does not exist - clean '/etc/kernel/proxmox-boot-uuids'! - skipping
DF9A-A251 is configured with: uefi (versions: 6.8.12-10-pve, 6.8.12-5-pve)
And now i have problems to follow the "Procedure" What are the next steps?
Thx a lot for helping here.
Cheers
i have my first boot zfs mirror boot drive replacement and struggle a little bit. Its a PBS on baremetal. I missed a info oder alert in Dashboard because an alerting was not send via Email. Yes this are cheap consumer SSD but they are only boot drives.
I found a thread here in the Forum and followed:
[SOLVED] Thread 'Replace Failed Drive in ZFS'
The documentation is clear on the command needed to replace the failed drive after the new one is installed:
However, I am unsure of what exact device name to use. The output of
Bash:
zpool replace -f <pool> <old-device> <new-device>
However, I am unsure of what exact device name to use. The output of
zpool list -v
and zpool status
both show device names that are formatted differently than /dev/<device>
Code:
# zpool list -v
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 2.78T 148G 2.64T -...
- utkonos
- drive replacement nvme zfs zfs boot
- Replies: 10
- Forum: Proxmox VE: Installation and configuration
#lsblk -d -o name && lsblk -d -o serial
.
.
1642312006007002 "(new replaced drive)"
1642312006001618 "(old working drive from Mirror)"
.
.
#zpool list -v
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 117G 2.47G 115G - - 4% 2% 1.00x DEGRADED -
mirror-0 117G 2.47G 115G - - 4% 2.11% - DEGRADED
6383316981088746747 - - - - - - - - UNAVAIL
ata-INTENSO_SSD_1642312006001618-part3 118G - - - - - - - ONLINE
#ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root 9 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618 -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Apr 30 12:21 ata-INTENSO_SSD_1642312006001618-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 9 Apr 30 12:21 ata-INTENSO_SSD_1642312006007002 -> ../../sdb
.
.
.
#proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with uefi
WARN: /dev/disk/by-uuid/DF9A-23CD does not exist - clean '/etc/kernel/proxmox-boot-uuids'! - skipping
DF9A-A251 is configured with: uefi (versions: 6.8.12-10-pve, 6.8.12-5-pve)
And now i have problems to follow the "Procedure" What are the next steps?
Thx a lot for helping here.
Cheers
Last edited: