quickreference:mdadm
Differences
This shows you the differences between two versions of the page.
quickreference:mdadm [2018/10/27 23:16] – external edit 127.0.0.1 | quickreference:mdadm [2020/10/13 19:56] (current) – rodolico | ||
---|---|---|---|
Line 209: | Line 209: | ||
</ | </ | ||
This stops the array as /dev/md127 and then reassembles it as /dev/md0. The reassembly looks for devices which have an existing minor number of 127, not 0 (-m127), and then updates the minors in the superblocks to the new number. I included the original members (sdb, sdc and sdd) as / | This stops the array as /dev/md127 and then reassembles it as /dev/md0. The reassembly looks for devices which have an existing minor number of 127, not 0 (-m127), and then updates the minors in the superblocks to the new number. I included the original members (sdb, sdc and sdd) as / | ||
+ | |||
+ | Note: If you have LVM2 running on top of your RAID set, you must do the following for each LV listed. | ||
+ | <code bash> | ||
+ | for lv in `ls / | ||
+ | do | ||
+ | | ||
+ | done | ||
+ | vgchange -an vgname | ||
+ | </ | ||
+ | change vgname to the actual name of you volume group. You must do this before you can stop the md | ||
==== Converting from one RAID level to another ===== | ==== Converting from one RAID level to another ===== |
quickreference/mdadm.1540700161.txt.gz · Last modified: 2018/10/27 23:16 by 127.0.0.1