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