Kann ich eine normale Installation von Linux (z. B. Debian 9) von einem einzelnen Laufwerk auf ein RAID durchführen?

381
user3450548

Verschiedene Serververmietungen werden heutzutage Server mit beispielsweise 4 Laufwerken verkauft. ZB: 4 x 2 TB-Laufwerke.

Standardmäßig installieren sie ihr Betriebssystem in der 1. HD.

Also habe ich

sda - with / mountpoint 64 gb ext4 partition, 4 gb swap, empty the rest sdb - empty sdc - empty sdd - empty 

Leider haben sie kein fünftes Laufwerk zur Verfügung gestellt, auf dem das Betriebssystem separat installiert werden konnte, wodurch alle 4 Laufwerke direkt in einen Schlachtzug ohne Chaos gebracht wurden.


Ich würde gerne wissen, ob es möglich ist:

1) Wandeln Sie meine vorhandene Debian 9-Installation in sda in einen Raid 1 um, der sich über die 4 Laufwerke erstreckt, um die Leseleistung zu erhöhen

Meine Installation würde sich also wie folgt drehen:

sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, empty the rest 

2) Erstellen Sie anschließend einen Schlachtzug 10 mit dem verbleibenden freien Speicherplatz der Partitionen

sda - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space ) sdb - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space ) sdc - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space ) sdd - RAID 1 sda,sdb,sdc,sdd( with / mountpoint 64 gb ext4 partition ), 4 gb swap, RAID 10 sda,sdb,sdc,sdd( with /raid_space mountpoint ext4 partition with remaining space ) 

Ich frage mich, wie man das macht und wie man perfekt sdb, sdc, sdd und sda für die erste Partition von raid1 synchronisiert, nachdem 1) raid 1 erstellt wurde und bootfähig macht.

0

0 Antworten auf die Frage