
Managing Software RAIDs with EVMS
93
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
6.6.2 Monitoring Status with /proc/mdstat
A summary of RAID and status information (active/not active) is available in the
/proc/mdstat
file.
1
Open a terminal console, then log in as the
root
user or equivalent.
2
View the
/proc/mdstat
file by entering the following at the console prompt:
cat /proc/mdstat
3
Evaluate the information.
The following table shows an example output and how to interpret the information.
6.6.3 Monitoring Status with mdadm
To view the RAID status with the
mdadm
command, enter the following at a terminal prompt:
mdadm -D /dev/
mdx
Status Information
Description
Interpretation
Personalities : [raid5]
[raid4]
List of the RAIDs on the server
by RAID label.
You have two RAIDs defined
with labels of
raid5
and
raid4
.
md0 : active
raid5
sdg1[0] sdk1[4] sdj1[3]
sdi1[2]
<device> : <active | not active>
<RAID label you specified>
< storage object> [RAID order]
The RAID is active and
mounted at
/dev/evms/
md/md0
.
The RAID label is
raid5
.
The active segments are
sdg1
,
sdi1
,
sdj1
, and
sdk1
, as
ordered in the RAID.
The RAID numbering of 0 to 4
indicates that the RAID has 5
segments, and the second
segment
[1]
is missing from
the list. Based on the
segment names, the missing
segment is
sdh1
.
35535360 blocks level
5, 128k chunk,
algorithm 2 [5/4]
[U_UUU]
<number of blocks> blocks
level < 0 | 1 | 4 | 5 >
<stripe size in KB> chunk
algorithm <1 | 2 | 3 | 4 >
[number of devices/number of
working devices]
[U-UUU]
If the block size on the server is
4 KB, the total size of the
RAID (including parity) is
142 GB, with a data capacity
of 113.7 GB.
The stripe size is 128 KB.
The RAID is using left
symmetric.
algorithm <1 | 2 | 3 | 4 >
[number of devices/number of
working devices]
[U-UUU]
unused devices: <none>
All segments in the RAID are in
use.
There are no spare devices
available on the server.
Summary of Contents for LINUX ENTERPRISE SERVER 10 SP3 - ARCHITECTURE-SPECIFIC
Page 4: ...4 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 30: ...30 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 42: ...42 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 76: ...76 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 108: ...108 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 118: ...118 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 124: ...124 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 132: ...132 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...