A few things, mostly technical notes...

Wednesday, December 22, 2004

mdadm lies on RHEL 2.1?

In RHEL 2.1, /proc/mdstat is not consistent.



/proc/mdstat shows failure:

[root@linux01 root]# grep F /proc/mdstat
md3 : active multipath sdd[1] sdi[0](F)
md1 : active multipath sdb[1] sdg[0](F)

sdi and sdg are marked as failures.

When queried with mdadm, both paths appear to be online. So, who's lying here? Mostly /proc/mdstat, as I could dd in from the paths:

[root@linux01 root]# mdadm -D /dev/md3
/dev/md3:
Version : 00.90.00
Creation Time : Tue May 11 16:44:46 2004
Raid Level : multipath
Array Size : 79548416 (75.86 GiB 81.46 GB)
Raid Devices : 1
Total Devices : 2
Preferred Minor : 3
Persistence : Superblock is persistent

Update Time : Wed Sep 29 12:52:08 2004
State : dirty
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1

UUID : e1be071a:110648f2:19f2d1af:0588e532
Events : 0.64

Number Major Minor RaidDevice State
0 8 128 0 active sync /dev/sdi
1 8 48 1 spare /dev/sdd

[root@linux01 root]# mdadm -D /dev/md1
/dev/md1:
Version : 00.90.00
Creation Time : Tue May 11 16:44:16 2004
Raid Level : multipath
Array Size : 79548416 (75.86 GiB 81.46 GB)
Raid Devices : 1
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent

Update Time : Wed Sep 29 12:51:07 2004
State : dirty
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1

UUID : 9b320ac7:e8f70c42:020e975f:932c0ba2
Events : 0.70

Number Major Minor RaidDevice State
0 8 96 0 active sync /dev/sdg
1 8 16 1 spare

No comments:

Followers

സൂചിക::Index


Creative Commons License
This work is licensed under a Creative Commons License.