Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Robert Steinmetz AIA <rob@steinmetznet.com>
To: linux-raid@vger.kernel.org
Subject: Degraded Array event on /dev/md1:thelma
Date: Thu, 23 Apr 2015 12:38:45 -0500	[thread overview]
Message-ID: <55392E25.7080604@steinmetznet.com> (raw)

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.
> 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/mdstat file currently contains the following:
>
> 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:
> 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 persistent
>
>     Update Time : Thu Apr 23 12:36:16 2015
>           State : clean
>  Active Devices : 2
>  Working Devices : 2
>  Failed Devices : 0
>  Spare Devices : 0
>
>            UUID : a5865e80:27a899df:bfaac05b:eff3fc62
>          Events : 0.16313034
>
>     Number   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:
> 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.
> 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]
>
> 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.


                 reply	other threads:[~2015-04-23 17:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55392E25.7080604@steinmetznet.com \
    --to=rob@steinmetznet.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox