All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@arcor.de>
To: Francis Moreau <francis.moro@gmail.com>,
	linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Question on DDF degraded array
Date: Fri, 20 Sep 2013 20:18:12 +0200	[thread overview]
Message-ID: <523C9164.6030604@arcor.de> (raw)
In-Reply-To: <CAC9WiBjRic8x3ech59pEEFSojtXM=6DX7kHECLW3xZYXg2kugA@mail.gmail.com>

On 09/19/2013 06:05 PM, Francis Moreau wrote:
> Hello Martin,
> 
> My system is using RAID1 DDF with 2 disks.
> 
> I tried to boot my system with only disk and it worked. After that I
> powered off the system put back the second disk en booted again.
> 
> As expected the array is degraded:
> 
> # cat /proc/mdstat
> Personalities : [raid1]
> md126 : active raid1 sdb[0]
>       2064384 blocks super external:/md127/0 [2/1] [_U]
> 
> md127 : inactive sdb[0](S)
>       32768 blocks super external:ddf
> 
> Now I'm trying to add back the disk in the array which shoud trigger a
> synchro but I can't:
> 
> # mdadm /dev/md127 --add /dev/sda
> mdadm: added /dev/sda
> 
> # cat /proc/mdstat
> Personalities : [raid1]
> md126 : active raid1 sdb[0]
>       2064384 blocks super external:/md127/0 [2/1] [_U]
> 
> md127 : inactive sda[1](S) sdb[0](S)
>       65536 blocks super external:ddf
> 
> the second disk is in the container but not used by the array. I'm not
> sure what '(S)' means above.
> 
> Could you tell me what should be done to add back the second disk into
> the array and trigger the sycnhro ?

Is mdmon running?
Could you compile mdadm and mdmon with CXFLAGS="-DDEBUG=1 -g" and
capture the debug output of mdadm and mdmon?

Martin

> 
> Thanks


      parent reply	other threads:[~2013-09-20 18:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAC9WiBjRic8x3ech59pEEFSojtXM=6DX7kHECLW3xZYXg2kugA@mail.gmail.com>
2013-09-20 18:16 ` Question on DDF degraded array Martin Wilck
2013-09-20 18:18 ` Martin Wilck [this message]

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=523C9164.6030604@arcor.de \
    --to=mwilck@arcor.de \
    --cc=francis.moro@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.