[Eisfair] Raid1 Platten tauschen
Marcus Röckrath
marcus.roeckrath at gmx.de
Fr Mai 5 19:55:04 CEST 2023
Hallo Frank,
Frank Stroeter wrote:
> Gemäß Doku Desaster recovery alle Befehle ausgeführt:
>
> mdadm /dev/md1 --fail /dev/sdb1 bis ...sdb3
> mdadm /dev/md1 --remove /dev/sdb1 bis ...sdb3
>
> habe ich beim ersten Versuch weggelassen, da ich die 2.Platte
> direkt ausgetauscht habe (als wäre sie kompl. ausgefallen)
Also ist sdb die Defekte bzw. ausgetauschte neue Platte.
> sgdisk -R /dev/sdb /dev/sda
Dann müsste es hier doch eher
sgdisk -R /dev/sda /dev/sdb
sein, wenn ich die Manpage richtig verstehe:
-R, --replicate=second_device_filename
Replicate the main device's partition table on the specified second
device. Note that the replicated partition table is an exact copy,
including all GUIDs; if the device should have its own unique GUIDs, you
should use the -G option on the new disk
--
Gruß Marcus
[eisfair-Team]
Mehr Informationen über die Mailingliste Eisfair