[SOLVED] Tausch einer System-SSD im ZFS-Pool (systemd-boot)

Dec 19, 2012
481
14
83
Hallo.
Unser Server wurde seinerzeit direkt auf zwei SSD Platten mit ZFS installiert. Irgendwann fiel eine der Systemplatten aus, so dass wir sie nichtsahnend einfach getauscht haben. Das war damals alles nur maximal halb richtig ;), da auf der getauschten Platte nur eine Partition vorhanden war und sie somit im Notfall gar nicht bootfähig ist.

Erst viel später habe ich gesehen, dass ich das proxmox-boot-tool hätte verwenden müssen.
Morgen soll die "nur halb richtig ersetzte" SSD erneut gegen eine andere, bisher leere SSD ersetzt werden. Dazu habe ich auf dem Server bereits
Code:
proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with uefi
WARN: /dev/disk/by-uuid/78F0-8235 does not exist - clean '/etc/kernel/proxmox-boot-uuids'! - skipping
78F1-4CD2 is configured with: uefi (versions: 5.4.124-1-pve, 5.4.195-1-pve, 5.4.203-1-pve)
ausgeführt. Die Frage ist nun, wie jetzt die richtige Reihenfolge beim Tausch der Platten ist: Muss ich den Eintrag zunächst (so wie oben angegeben) löschen, dann die neue Platte einbauen und dann weiter wie in der Doku oder welche Reihenfolge ist in diesem Fall einzuhalten?
Danke vorab.
 
Ja -- ich kann also einfach so tun, als sei die Platte, die nur halb richtig eingesetzt wurde, defekt?

Ich frage sicherheitshalber trotzdem nochmal nach, denn das sieht für mich so aus, als kämen die Einträge in der Datei '/etc/kernel/proxmox-boot-uuids' noch von der ganz alten, damals als defekt getauschten SSD?!? Daher wäre es wichtig zu wissen, ob der Eintrag da vorher raus muss, oder ob das proxmox-boot-tool das sowieso neu anlegt?
 
Ich frage sicherheitshalber trotzdem nochmal nach, denn das sieht für mich so aus, als kämen die Einträge in der Datei '/etc/kernel/proxmox-boot-uuids' noch von der ganz alten, damals als defekt getauschten SSD?!? Daher wäre es wichtig zu wissen, ob der Eintrag da vorher raus muss, oder ob das proxmox-boot-tool das sowieso neu anlegt?
prinzipiell fügt `proxmox-boot-tool init` nur die neue UUID ein - aber dafür gibt es das `proxmox-boot-tool clean [--dry-run]` subcommand - das sollte alle nicht mehr existenten UUIDs rauslöschen.

Ich hoffe das hilft!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!