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 499,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 659,33 EUR
3 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
4 ROUAFWIT Fanless Mini PC N305, 2 x RJ45 Gigabit LAN, 2X DB9 RS232 COM, DDR4 NO RAM NO SSD, 6USB, 2HD+DP Triple Dispaly, Industrial Grade Mini PC for 24/7 Reliable Operation ROUAFWIT Fanless Mini PC N305, 2 x RJ45 Gigabit LAN, 2X DB9 RS232 COM, DDR4 NO RAM NO SSD, 6USB… Aktuell keine Bewertungen 372,19 EUR
5 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
6 Gigabyte Barb GBT BRIX Intel Alder Lake Core i3-N305 1xD4 2xHDMI DP 6xUSB Gigabyte Barb GBT BRIX Intel Alder Lake Core i3-N305 1xD4 2xHDMI DP 6xUSB Aktuell keine Bewertungen 428,57 EUR
7 MINIS FORUM N5 Air NAS Barebone mit 5 Einschüben 64GB M.2-SSD(bis zu 174GB) MINIS FORUM N5 Air NAS Barebone mit 5 Einschüben 64GB M.2-SSD(bis zu 174GB) Aktuell keine Bewertungen 559,00 EUR
8 MNBOXCONET S7 Mini PC N150 2x10gbe RJ45, Firewall Appliance Micro Büro Hardware, DDR5 Barebone, 2xi226V 2.5Gbit LAN, USB C, TF Card Slot, SPK/MIC, Unterstützung Router OS MNBOXCONET S7 Mini PC N150 2x10gbe RJ45, Firewall Appliance Micro Büro Hardware, DDR5 Barebone… Aktuell keine Bewertungen 329,99 EUR
9 FakestarPC 1U Rack-Mount Firewall Home Server Mini PC Alder Lake N150 4*i226-V 2.5G LANs Enterprise Network Security Host FakestarPC 1U Rack-Mount Firewall Home Server Mini PC Alder Lake N150 4*i226-V 2.5G LANs Enterprise… Aktuell keine Bewertungen 369,00 EUR
10 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