
94
SLES 10 SP3: Storage Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
Replace
mdx
with the RAID device number.
Example 1: A Disk Fails
In the following example, only four of the five devices in the RAID are active (
Raid Devices : 5
,
Total Devices : 4
). When it was created, the component devices in the device were numbered 0
to 5 and are ordered according to their alphabetic appearance in the list where they were chosen,
such as
/dev/sdg1
,
/dev/sdh1
,
/dev/sdi1
,
/dev/sdj1
, and
/dev/sdk1
. From the pattern of
filenames of the other devices, you determine that the device that was removed was named
/dev/
sdh1
.
/dev/md0:
Version : 00.90.03
Creation Time : Sun Apr 16 11:37:05 2006
Raid Level : raid5
Array Size : 35535360 (33.89 GiB 36.39 GB)
Device Size : 8883840 (8.47 GiB 9.10 GB)
Raid Devices : 5
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Apr 17 05:50:44 2006
State : clean, degraded
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 128K
UUID : 2e686e87:1eb36d02:d3914df8:db197afe
Events : 0.189
Number Major Minor RaidDevice State
0 8 97 0 active sync /dev/sdg1
1 8 0 1 removed
2 8 129 2 active sync /dev/sdi1
3 8 45 3 active sync /dev/sdj1
4 8 161 4 active sync /dev/sdk1
Example 2: Spare Disk Replaces the Failed Disk
In the following
mdadm
report, only 4 of the 5 disks are active and in good condition (
Active
Devices : 4
,
Working Devices : 5
). The failed disk was automatically detected and removed
from the RAID (
Failed Devices: 0
). The spare was activated as the replacement disk, and has
assumed the diskname of the failed disk (
/dev/sdh1
). The faulty object (the failed disk that was
removed from the RAID) is not identified in the report. The RAID is running in degraded mode
(
State : clean, degraded, recovering
). The data is being rebuilt (
spare rebuilding /
dev/sdh1
), and the process is 3% complete (
Rebuild Status : 3% complete
).
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...