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 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 659,33 EUR
2 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 499,99 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 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
5 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
6 MNBOXCONET Lüfterlos Mini PC N150 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 N150 Firewall Appliance Industrial Micro Büro, 4 x 2.5Gbit LAN… Aktuell keine Bewertungen 314,99 EUR
7 DreamQuest Mini PC Barebone Intel N95 der 12. Generation (bis zu 3,4 GHz), Micro Desktop Computer ohne RAM/SSD, Unterstützt DDR4/NVMe SSD, Type-C, 4K HDMI, USB 3.2, WiFi 5, BT 5.0, Gigabit Ethernet DreamQuest Mini PC Barebone Intel N95 der 12. Generation (bis zu 3,4 GHz), Micro Desktop Computer… Aktuell keine Bewertungen 199,99 EUR
8 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
9 ROUAFWIT Mini PC X86-P6 N355 (Upgraded N305), Pocket NAS 4 Bay with DDR5 Max 48G Micro Computer, 2X i226V 2.5Gbe Firewall, 2 x USB 3.2 10Gbps Port, Barebone ROUAFWIT Mini PC X86-P6 N355 (Upgraded N305), Pocket NAS 4 Bay with DDR5 Max 48G Micro Computer, 2X… Aktuell keine Bewertungen 460,75 EUR
10 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