Mich hat es mal wieder erwischt und einer der Systemdisks ist kaputt gegangen. In diesem System ist allerdings das Betriebssystem auf einem ZFS in einem ZPOOL. Mit dem Austausch der defekten Disk hat sich irgendwie der Proxmox Boot Loader verabschiedet und das System konnte nicht mehr starten / booten.

Ich erspare euch langes Troubleshooting und unzählige Kommandos um mehr herauszufinden was im System los ist / war.

Quelle: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_zfs_change_failed_dev

1. System wieder normal booten

Um wieder in euer System zu kommen, welches auf ZFS läuft, dann nehmt euch eine aktuelle Proxmox ISO und bootet von dieser mit der Option „Rescue Boot“. Damit sollte euer System jetzt booten, obwohl irgendwas im Bootloader noch nicht stimmt.

2. ZFS ZPOOL Mirror oder ZRAID wiederherstellen

Wenn das System wieder gestartet ist, dann stellen wir als Erstes das ZPOOL Mirroring wieder her.

sgdisk <healthy bootable device> -R <new device>
sgdisk -G <new device>
zpool replace -f <pool> <old zfs partition> <new zfs partition>

Damit sollte das System jetzt anfangen die neu eingesetzte HDD / SSD / NVME zu spiegeln und ins System wieder aufzunehmen. Das kann natürlich abhängig von Größe und Speed der Platte etwas länger dauern.

3. Boot-Loader überprüfen und wiederherstellen

Den allgemeinen Zustand deines Bootsektors kannst du mit dem proxmox-boot-tool überprüfen und einsehen. Hier sollte jetzt eigentlich erstmal nur ein Platte angezeigt werden. Es kann zusätzlich sein das eine nicht mehr vorhandene Platte noch angezeigt wird.

# proxmox-boot-tool status

Für die neue Festplatten führen wir allerdings ein „format“ und „init“ aus.

# proxmox-boot-tool format <new disk's ESP>
# proxmox-boot-tool init <new disk's ESP>

Natürlich solltest du dann nochmal den Status mit „proxmox-boot-tool status“ abfragen.

# Vorschau Produkt Bewertung Preis
1 MNBOXCONET S2 Mini PC N150 10GBE SFP+, Firewall Appliance Micro Büro Hardware, DDR5 8GB RAM 128GB SSD, 2xi226V 2.5Gbit LAN, USB C, TF Card Slot, Support Proxmox OPNsense, SPK/MIC MNBOXCONET S2 Mini PC N150 10GBE SFP+, Firewall Appliance Micro Büro Hardware, DDR5 8GB RAM 128GB… Aktuell keine Bewertungen 509,99 EUR
2 MNBOXCONET Lüfterlos Mini PC N305 Firewall Appliance Industrial Micro Büro, 4 x 2.5Gbit LAN + 2 RS232 Com, Barebone No Ram No SSD, 6USB, Router/Home Computer Hardware, HD DP Dual Dispaly MNBOXCONET Lüfterlos Mini PC N305 Firewall Appliance Industrial Micro Büro, 4 x 2.5Gbit LAN… Aktuell keine Bewertungen 465,89 EUR
3 CWWK X86-P6 N355 Mini PC Pocket-NAS, 4 Bay M.2 NVMe Mini Computer mit 2 x i226-V 2.5GbE LAN, Micro PC Barebone DDR5 NO RAM/SSD/OS, Support WiFi7/BT5.4 Expandable, 2-Display, USB3.2 CWWK X86-P6 N355 Mini PC Pocket-NAS, 4 Bay M.2 NVMe Mini Computer mit 2 x i226-V 2.5GbE LAN, Micro… Aktuell keine Bewertungen 460,37 EUR
4 AIOPCWA N355 X86-P6 Mini PC (N305 Upgrade), 4X M.2 NVMe NAS Mini Desktop Computer with 2X i226-V 2.5GbE LAN, DDR5 Micro PC Barebone NO RAM/SSD/OS, 2-Display, WiFi7/BT5.4 Expandable AIOPCWA N355 X86-P6 Mini PC (N305 Upgrade), 4X M.2 NVMe NAS Mini Desktop Computer with 2X i226-V… Aktuell keine Bewertungen 460,72 EUR
5 ROUAFWIT Mini PC NAS Core i3 N305, 4X M.2 2280 NVME Micro Computer, Dual i226V 2.5Gbe Firewall Appliance, 2 x USB 3.2 10Gbps Port, 4K, WiFi/BT Slot, Barebone NO RAM NO SSD ROUAFWIT Mini PC NAS Core i3 N305, 4X M.2 2280 NVME Micro Computer, Dual i226V 2.5Gbe Firewall… Aktuell keine Bewertungen
6 ROUAFWIT Micro Firewall Appliance, Fanless Mini PC N305 8C/8T, 2X 2.5 GbE i226V LAN,AES-NI,DDR5 0G SSD 0G NVME Barebone Router Netzwerk Security 6USB/2HD Dual Display ROUAFWIT Micro Firewall Appliance, Fanless Mini PC N305 8C/8T, 2X 2.5 GbE i226V LAN,AES-NI,DDR5 0G… Aktuell keine Bewertungen
7 MNBOXCONET S2 Mini PC N150 10GBE SFP+, Firewall Appliance Micro Büro Hardware, Barebone No RAM No SSD, 2xi226V 2.5Gbit LAN, USB C, TF Card Slot, Support Proxmox OPNsense, SPK/MIC MNBOXCONET S2 Mini PC N150 10GBE SFP+, Firewall Appliance Micro Büro Hardware, Barebone No RAM No… Aktuell keine Bewertungen 339,99 EUR
8 CWWK N355 Mini PC (Upgraded N305) X86-P5 Pocket-NAS, 4 x M.2 NVMe Mini Computer with 2 x i226-V 2.5GbE LAN, Barebone Micro PC DDR5 NO RAM/SSD/OS, WiFi7/BT5.4 Expandable, 2-Display CWWK N355 Mini PC (Upgraded N305) X86-P5 Pocket-NAS, 4 x M.2 NVMe Mini Computer with 2 x i226-V… Aktuell keine Bewertungen 460,37 EUR
9 MNBOXCONET Industral Mini PC Lüfterlos Low Power N305, Micro Embedded PC DDR4 0GB RAM 0GB SSD Barebone, WiFi/BT, Small Box Computer with 2 x RS232/422/485 COM, 2 x GbE LAN MNBOXCONET Industral Mini PC Lüfterlos Low Power N305, Micro Embedded PC DDR4 0GB RAM 0GB SSD… Aktuell keine Bewertungen 371,99 EUR
10 AIOPCWA Fanless Mini PC Industrial Computer N305, 2 x RS232/RS485 COM, 2 x Gigabit RJ45 LAN, Embedded Micro PC, DDR4 Barebone No RAM/SSD/OS, Dual HD Port, VGA, Mini-PCIe, 6 × USB AIOPCWA Fanless Mini PC Industrial Computer N305, 2 x RS232/RS485 COM, 2 x Gigabit RJ45 LAN… Aktuell keine Bewertungen 372,17 EUR