I already know the RAID is a software RAID made with dmraid
(or I assume so based on the fact that df-h
shows /dev/mapper/VolGroup...
, also /dev/md0
is inactive).
I've run dmraid -r
and get:
/dev/sda: ddf1, ".ddf1_disks", GROUP, ok, 1953253376 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 1953253376 sectors, data@ 0
But I was unable to find information of the format of results. How do I find out details of the RAID setup. Specifically level of RAID (RAID 0 or RAID 1?). Does 0 at the stand for RAID 0?
dmraid with the -s switch should get you the level.
Shown under 'type'.
Oh, FYI: the md0, md1, etc. is not the RAID level, but rather the individual partition on the RAID, just like you have /dev/sd0, /dev/sd1, /dev/hd1, etc.
Look for the "personalities" bit.