doc:appunti:linux:sa:raid
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:raid [2022/01/31 11:44] – [Gestione RAID con mdadm] niccolo | doc:appunti:linux:sa:raid [2024/04/17 12:44] (current) – [Gestione RAID con mdadm] niccolo | ||
---|---|---|---|
Line 50: | Line 50: | ||
mdadm --manage /dev/md0 --fail /dev/sdb2 | mdadm --manage /dev/md0 --fail /dev/sdb2 | ||
mdadm --manage /dev/md0 --remove /dev/sdb2 | mdadm --manage /dev/md0 --remove /dev/sdb2 | ||
+ | </ | ||
+ | |||
+ | === Distruggere un volume RAID === | ||
+ | |||
+ | Per eliminare definitivamente un volume raid è necessario fermarlo, quindi è opportuno azzerare il sperblock di ogni componente, per evitare che l' | ||
+ | |||
+ | < | ||
+ | mdadm --stop /dev/md4 | ||
+ | mdadm --zero-superblock /dev/sda7 | ||
+ | mdadm --zero-superblock /dev/sdb7 | ||
</ | </ | ||
Line 182: | Line 192: | ||
which actually does not run the array if it is degraded (where the previous start was not). | which actually does not run the array if it is degraded (where the previous start was not). | ||
+ | |||
+ | ==== Rename an MD device permanently ==== | ||
+ | |||
+ | To geneate the configuration file **/ | ||
+ | |||
+ | < | ||
+ | ARRAY / | ||
+ | </ | ||
+ | |||
+ | Editing '' | ||
+ | |||
+ | < | ||
+ | mdadm --stop /dev/md/125 | ||
+ | mdadm --assemble /dev/md/5 --name=5 --homehost=newhostname --update=name /dev/sda5 /dev/sdb5 | ||
+ | </ | ||
===== Filesystem has unsupported feature(s) ===== | ===== Filesystem has unsupported feature(s) ===== |
doc/appunti/linux/sa/raid.1643625898.txt.gz · Last modified: 2022/01/31 11:44 by niccolo