Root Raid Platte tauschen
Version vom 24. November 2022, 15:44 Uhr von Robin.will (Diskussion | Beiträge) (→Grub Stage 1 in neue Platte installieren)
Kontrolle
- cat /proc/mdstat
Partition auf faulty setzen
- mdadm /dev/md0 -f /dev/sda1
Partition removen
- mdadm /dev/md0 -r /dev/sda1
Kontrolle ob die Partiton draussen ist
- cat /proc/mdstat
Partitionstabelle von der intakten Platte sichern
- sfdisk -d /dev/sdb > partiton.table
Partition zurück schreiben
- sfdisk --force /dev/sda < partiton.table
Parttionstabell dem Kernel mitteilen
- partprobe
Grub Stage 1 in neue Platte installieren
- grub-install /dev/sda
Partition hinzufügen
- mdadm /dev/md0 -a /dev/sda1
Kontrolle
- cat /proc/mdstat