Degraded Array event on /dev/md1:thelma
I have a small Ubuntu 14.04 LTS server with two Type 1 arrays, primarily for redundancy. Recently I started getting email with the above title.
I checked the array and one drive had failed. I replaced the drive, ran fdisk to create a new Linux Raid Array partition (type fd) of exactly the same size as the existing disk. Then using gnome-disk-utility added the new drive to the array. Apparently that added the entire disk, not the partition I created however, everything seems to be working properly.
BUT I am still regularly getting the email below indicating a problem with /dev/md1, even though I think I fixed the problem.
Quoted 9 lines
This is an automatically generated mail message from mdadm running on thelma
A DegradedArray event had been detected on md device
/dev/md1.Faithfully yours, etc.
P.S. The/proc/mdstatfile currently contains the following:
Quoted 8 lines
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sdc1[0]
312567552 blocks [2/1] [U_]md0 : active raid1 sda1[0] sdb1[1]
78148096 blocks [2/2] [UU]unused devices: <none>
However mdadm reports:
Quoted 19 lines
root@thelma:~# mdadm --detail /dev/md1 /dev/md1: Version : 0.90 Creation Time : Sun Mar 11 19:06:41 2007 Raid Level : raid1 Array Size : 312567552 (298.09 GiB 320.07 GB) Used Dev Size : 312567552 (298.09 GiB 320.07 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistentUpdate Time : Thu Apr 23 12:36:16 2015
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Quoted 6 lines
UUID : a5865e80:27a899df:bfaac05b:eff3fc62
Events : 0.16313034Number Major Minor RaidDevice State
0 8 33 0 active sync/dev/sdc1
1 8 48 1 active sync/dev/sdd
mdadm.conf contains the following:
Quoted 7 lines
root@thelma:/etc/mdadm# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sdc1[0] sdd[1] 312567552 blocks [2/2] [UU]md0 : active raid1 sda1[0] sdb1[1]
78148096 blocks [2/2] [UU]
cat /proc/mdstat produces.
Quoted 10 lines
root@thelma:/etc/mdadm# cat /proc/mdstatPersonalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sdc1[0] sdd[1]
312567552 blocks [2/2] [UU]md0 : active raid1 sda1[0] sdb1[1]
78148096 blocks [2/2] [UU]unused devices: <none>
I'm not sure whether there is a real problem or how to fix it. It seems some inaccurate configuration information is stored somewhere.