Monitoring Status With /Proc/Mdstat; Monitoring Status With Mdadm - Novell LINUX ENTERPRISE SERVER 10 SP3 - STORAGE ADMINISTRATION GUIDE 2-23-2010 Administration Manual

Table of Contents

Advertisement

6.6.2 Monitoring Status with /proc/mdstat

A summary of RAID and status information (active/not active) is available in the
file.
1 Open a terminal console, then log in as the
2 View the
/proc/mdstat
cat /proc/mdstat
3 Evaluate the information.
The following table shows an example output and how to interpret the information.
Status Information
Personalities : [raid5]
[raid4]
md0 : active
raid5
sdg1[0] sdk1[4] sdj1[3]
sdi1[2]
35535360 blocks level
5, 128k chunk,
algorithm 2 [5/4]
[U_UUU]
unused devices: <none>

6.6.3 Monitoring Status with mdadm

To view the RAID status with the
mdadm -D /dev/mdx
user or equivalent.
root
file by entering the following at the console prompt:
Description
List of the RAIDs on the server
by RAID label.
<device> : <active | not active>
<RAID label you specified>
< storage object> [RAID order]
<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]
All segments in the RAID are in
use.
command, enter the following at a terminal prompt:
mdadm
/proc/mdstat
Interpretation
You have two RAIDs defined
with labels of
and
raid5
.
raid4
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
ordered in the RAID.
The RAID numbering of 0 to 4
indicates that the RAID has 5
segments, and the second
segment
is missing from
[1]
the list. Based on the
segment names, the missing
segment is
.
sdh1
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]
There are no spare devices
available on the server.
Managing Software RAIDs with EVMS
,
, as
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3 storage

Table of Contents