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 399,49 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 366,84 EUR
4 Glovary Firewall Mini PC N150 (N100 Upgrade), DDR5 Barebone NO RAM NO SSD, 6 x 2.5GbE i226V LAN Fanless Computer Hardware, Micro Router Appliance, AES-NI, OPNsense, TypeC Port, TF Card Slot Glovary Firewall Mini PC N150 (N100 Upgrade), DDR5 Barebone NO RAM NO SSD, 6 x 2.5GbE i226V LAN… Aktuell keine Bewertungen 289,96 EUR
5 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 269,33 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 296,96 EUR
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 309,99 EUR
8 CWWK Mini PC N305 Firewall Appliance, 4 x i226-V 2.5GbE LAN, 2X RS232 COM, Micro OPNsense Box, Fanless Industrial Embedded Mini Computer, 16GB DDR4 RAM 256GB M.2 SSD, SIM, AES-NI CWWK Mini PC N305 Firewall Appliance, 4 x i226-V 2.5GbE LAN, 2X RS232 COM, Micro OPNsense Box… Aktuell keine Bewertungen 639,11 EUR
9 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 366,84 EUR
10 ASUS ExpertCenter PN43-BBN200MD Barebone Mini PC (Intel Prozessor N200, integrierte Intel UHD Grafik, WiFi 6E, LAN, DisplayPort 1.4, 4X USB 3.2 Gen 1, ohne Betriebssytem, Passive Kühlung) ASUS ExpertCenter PN43-BBN200MD Barebone Mini PC (Intel Prozessor N200, integrierte Intel UHD… Aktuell keine Bewertungen 286,23 EUR