replace failed disk (raid 1)

leonidas_o

Member
Apr 17, 2022
68
5
8
I'm struggling with a replaced disk.
Last time I had already issues doing this:
https://forum.proxmox.com/threads/p...one-entry-in-raid1-system.136689/#post-610056
unfortunately this time again. One of the disks failed and I looked into the docs, the last forum post and my notes:
E.g.: Chapter: "Changing a failed device" in
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_zfs

I started with:
Bash:
efibootmgr -v
EFI variables are not supported on this system.

lsblk
nvme1n1     259:0    0 476.9G  0 disk
nvme0n1     259:1    0 476.9G  0 disk
├─nvme0n1p1 259:2    0  1007K  0 part
├─nvme0n1p2 259:3    0   512M  0 part
└─nvme0n1p3 259:4    0 476.4G  0 part


As the partitions are missing on nvme1n1, I can't use proxmox-boot-tool format and proxmox-boot-tool init, so first I need to do:
Code:
# sgdisk <healthy bootable device> -R <new device>
# sgdisk -G <new device>
# zpool replace -f <pool> <old zfs partition> <new zfs partition>

but executing sgdisk nvme0n1 -R nvme1n1 gives me:
Code:
Problem opening nvme0n1 for reading! Error is 2.
The specified file does not exist!

Never had that before right at the first command.

Running on:
Code:
pveversion -v
proxmox-ve: 7.4-1 (running kernel: 5.15.131-1-pve)
pve-manager: 7.4-17 (running version: 7.4-17/513c62be)
...


Appreciate any help
 
  • Like
Reactions: leonidas_o

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!