infrastruktur:rz:storage-server:raid-rebuild
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
infrastruktur:rz:storage-server:raid-rebuild [2021-06-25 04:59] – hase | infrastruktur:rz:storage-server:raid-rebuild [2022-12-02 20:17] (aktuell) – [9. Prüfe den Resilver-Status] are | ||
---|---|---|---|
Zeile 50: | Zeile 50: | ||
===== 2. Platte offline schalten ===== | ===== 2. Platte offline schalten ===== | ||
- | //zpool offline pool_data / | + | < |
+ | zpool offline pool_data / | ||
+ | </code> | ||
===== 3. LUKS Container stoppen ===== | ===== 3. LUKS Container stoppen ===== | ||
- | //cryptdisks_stop slot4// | + | < |
+ | cryptdisks_stop slot4 | ||
+ | </code> | ||
===== 4. Platte tauschen ===== | ===== 4. Platte tauschen ===== | ||
Zeile 59: | Zeile 62: | ||
===== 5. Device Name von neuer Platte finden ===== | ===== 5. Device Name von neuer Platte finden ===== | ||
- | //dmesg | tail -n 20// | + | < |
+ | dmesg | tail -n 20 | ||
+ | </code> | ||
Finde den sdx Namen | Finde den sdx Namen | ||
===== 6. Platte mit LUKS formatieren ===== | ===== 6. Platte mit LUKS formatieren ===== | ||
- | //cryptsetup luksFormat / | + | < |
+ | cryptsetup luksFormat / | ||
+ | </code> | ||
Die Slotnummer und den Namen des Keyfiles bitte anpassen! | Die Slotnummer und den Namen des Keyfiles bitte anpassen! | ||
Zeile 76: | Zeile 83: | ||
===== 8. " | ===== 8. " | ||
- | //zpool replace pool_data / | + | < |
+ | zpool replace pool_data / | ||
+ | </code> | ||
Danach wird die Platte aufgenommen und ein Resilver des Raids. | Danach wird die Platte aufgenommen und ein Resilver des Raids. | ||
===== 9. Prüfe den Resilver-Status ===== | ===== 9. Prüfe den Resilver-Status ===== | ||
- | //watch -n 1 zpool status pool_data// | + | < |
< | < |
infrastruktur/rz/storage-server/raid-rebuild.1624589941.txt.gz · Zuletzt geändert: 2021-06-25 04:59 von hase