Outils pour utilisateurs

Outils du site


raid_logiciel

Ceci est une ancienne révision du document !


RAID logiciel

Comme pour le partitionnement, le RAID logiciel se réalise en bootant en mode rescue pour une machine hébergée ou sur une clé USB pour une machine locale.

Il faut disposer de partitions de mêmes tailles sur des disques différents.

Installation de mdadm

root@secours:~# apt-get install mdadm
...
root@secours:~#

Création du RAID

root@secours:~# mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device.  If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md1 started.
root@secours:~# 
raid_logiciel.1645643614.txt.gz · Dernière modification : 2023/07/04 10:55 (modification externe)