raid_logiciel
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
raid_logiciel [2022/02/23 18:57] – créée pascal | raid_logiciel [2023/07/04 10:55] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
Comme pour le partitionnement, | Comme pour le partitionnement, | ||
- | Il faut disposer de partitions de mêmes tailles sur des disques différents. | + | Il faut disposer de partitions de mêmes tailles sur des disques différents. |
+ | |||
+ | J' | ||
+ | ===== Installation de mdadm ===== | ||
+ | < | ||
+ | root@secours: | ||
+ | ... | ||
+ | root@secours: | ||
+ | </ | ||
+ | |||
+ | ===== Création du RAID ===== | ||
+ | < | ||
+ | root@secours: | ||
+ | mdadm: Note: this array has metadata at the start and | ||
+ | may not be suitable as a boot device. | ||
+ | store '/ | ||
+ | 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: | ||
+ | </ | ||
+ | ===== Vérification du RAID ===== | ||
+ | < | ||
+ | root@secours: | ||
+ | Personalities : [raid1] | ||
+ | md1 : active raid1 sdb1[1] sda1[0] | ||
+ | 83818496 blocks super 1.2 [2/2] [UU] | ||
+ | [===============> | ||
+ | |||
+ | unused devices: < | ||
+ | root@secours: | ||
+ | </ | ||
+ | L' | ||
+ | < | ||
+ | root@secours: | ||
+ | Personalities : [raid1] | ||
+ | md1 : active raid1 sdb1[1] sda1[0] | ||
+ | 83818496 blocks super 1.2 [2/2] [UU] | ||
+ | |||
+ | unused devices: < | ||
+ | root@secours: | ||
+ | </ | ||
+ | L' | ||
+ | ===== Fichier de configuration / | ||
+ | ==== Version original ==== | ||
+ | < | ||
+ | # mdadm.conf | ||
+ | # | ||
+ | # !NB! Run update-initramfs -u after updating this file. | ||
+ | # !NB! This will ensure that initramfs has an uptodate copy. | ||
+ | # | ||
+ | # Please refer to mdadm.conf(5) for information about this file. | ||
+ | # | ||
+ | |||
+ | # by default (built-in), scan all partitions (/ | ||
+ | # containers for MD superblocks. alternatively, | ||
+ | # wildcards if desired. | ||
+ | #DEVICE partitions containers | ||
+ | |||
+ | # automatically tag new arrays as belonging to the local system | ||
+ | HOMEHOST < | ||
+ | |||
+ | # instruct the monitoring daemon where to send mail alerts | ||
+ | MAILADDR root | ||
+ | |||
+ | # definitions of existing MD arrays | ||
+ | |||
+ | # This configuration was auto-generated on Wed, 23 Feb 2022 20:09:11 +0100 by mkconf | ||
+ | </ | ||
+ | ==== Ajout des informations sur le RAID dans la configuration ==== | ||
+ | < | ||
+ | root@secours: | ||
+ | root@secours: | ||
+ | </ | ||
+ | < | ||
+ | root@secours: | ||
+ | ARRAY / | ||
+ | | ||
+ | root@secours: | ||
+ | </ | ||
+ | ==== Enregistrement de la configuration ==== | ||
+ | < | ||
+ | root@secours: | ||
+ | update-initramfs: | ||
+ | update-initramfs: | ||
+ | root@secours: | ||
+ | </ | ||
+ | ===== Suite ===== | ||
+ | * [[Volume physique et groupe de volumes LVM|Création d'un volume physique et d'un groupe de volumes LVM]] |
raid_logiciel.1645642627.txt.gz · Dernière modification : 2023/07/04 10:55 (modification externe)