[SOLVED] Reinit main nvme ssd after reinstall

spearox

Renowned Member
Jun 6, 2013
97
2
73
Hello,

Currently one of the main nvme drive failed on the system and got replaced. I was stucked now how can i reinit correctly the nvme drive to join the system 100%.
I will attached the two screen about disk status and zpool status. (The nvme1n1 is the replaced (new) drive.)
nvme01.png

nvme02.png

Someone can help me with that?
 
Solved by follow: https://pve.proxmox.com/wiki/ZFS_on_Linux#_zfs_administration
Changing a failed bootable device section.
Old disk: nvme0n1
New disk: nvme1n1
Code:
sgdisk /dev/nvme0n1 -R /dev/nvme1n1
sgdisk -G /dev/nvme1n1
proxmox-boot-tool format /dev/nvme1n1p2
proxmox-boot-tool init /dev/nvme1n1p2
proxmox-boot-tool clean
proxmox-boot-tool status

zpool replace -f rpool nvme-eui.0025388211c592f0-part3 nvme-eui.0025388511c55a73-part3
 
  • Like
Reactions: leesteken