If you had to boot in rescue mode from a rescue disk or whatever, and you need to check something on your raid arrays, here’s how to assemble them.
1. Boot into rescue mode.
2. Create the mdadm.conf file with the disks available
# mdadm –examine –scan >> /etc/mdadm.conf
3. Assemble the array
# mdadm –assemble –scan /dev/md0
4. Mount the partitions in this way
For example,
# mkdir /test # mount /dev/md0 /test
If you have multiple partitions, feel free to unmount/remount each specifically:
# umount /test
# mount /dev/md1 /test
md2 / md3 / etc