| 1 | == RAID setup == |
| 2 | |
| 3 | In order to setup a RAID array on a machine that already had a RAID array: |
| 4 | |
| 5 | {{{ |
| 6 | root@somemachine:~# cat /proc/mdstat |
| 7 | root@somemachine:~# mdadm --assemble --scan # Scans existing configs and assembles the raid |
| 8 | root@somemachine:~# lvs # see the logical volumes |
| 9 | root@somemachine:~# vgscan # read all physical volumes |
| 10 | root@somemachine:~# mount /dev/dm-0 /local |
| 11 | /dev/mapper/vg-.. is a symbolic link to dm-0 |
| 12 | /dev/md0 will not be mounted |
| 13 | |
| 14 | root@somemachine:~# lsof -n | grep (mount point or device) # see who uses this mount point or device |
| 15 | }}} |