Managing Software RAIDs with EVMS
77
no
vd
ocx
(e
n)
6 Ap
ril 20
07
Persistence : Superblock is persistent
Update Time : Mon Apr 17 05:50:44 2006
State : clean, degraded, recovering
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 128K
Rebuild Status : 3% complete
UUID : 2e686e87:1eb36d02:d3914df8:db197afe
Events : 0.189
Number Major Minor RaidDevice State
0 8 97 0 active sync /dev/sdg1
1 8 113 1 spare rebuilding /dev/sdh1
2 8 129 2 active sync /dev/sdi1
3 8 145 3 active sync /dev/sdj1
4 8 161 4 active sync /dev/sdk1
6.6.4 Monitoring a Remirror or Reconstruction
You can follow the progress of the synchronization or reconstruction process by examining the
/
proc/mdstat
file.
You can control the speed of synchronization by setting parameters in the
/proc/sys/dev/
raid/speed_limit_min
and
/proc/sys/dev/raid/speed_limit_max
files. To
speed up the process, echo a larger number into the
speed_limit_min
file.
6.6.5 Configuring mdadm to Send an E-Mail Alert for RAID
Events
You might want to configure the
mdadm
service to send an e-mail alert for software RAID events.
Monitoring is only meaningful for RAIDs 1, 4, 5, 6, 10 or multipath arrays because only these have
missing, spare, or failed drives to monitor. RAID 0 and Linear RAIDs do not provide fault tolerance
so they have no interesting states to monitor.
The following table identifies RAID events and indicates which events trigger e-mail alerts. All
events cause the program to run. The program is run with two or three arguments: the event name,
the array device (such as
/dev/md1
), and possibly a second device. For Fail, Fail Spare, and Spare
Active, the second device is the relevant component device. For MoveSpare, the second device is
the array that the spare was moved from.
Summary of Contents for LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007
Page 4: ...novdocx en 6 April 2007...
Page 30: ...30 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 42: ...42 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 58: ...58 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 90: ...90 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 100: ...100 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 106: ...106 SLES 10 Storage Administration Guide novdocx en 6 April 2007...