linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: senthilkumar.muthukalai@wipro.com
Cc: linux-raid@vger.kernel.org
Subject: Re: Growing Linear RAID
Date: Thu, 10 Dec 2009 20:30:08 +1100	[thread overview]
Message-ID: <20091210203008.69cbbe97@notabene.brown> (raw)
In-Reply-To: <8338BD137FF1B64EB341218BD702985E02C8C165@BLR-EC-MBX03.wipro.com>

On Thu, 10 Dec 2009 13:54:29 +0530
<senthilkumar.muthukalai@wipro.com> wrote:

> Neil,
> 
> I get only the following message under /var/log/
> 
> [root@NAS00226b1755a0 ~]# mdadm /dev/md0 --grow --add /dev/sata3 
> mdadm: Cannot add new disk to this array
> 
> Dec  9 20:37:58 NAS00226b1755a0 kernel: md: export_rdev(sdc)
> 
> [root@NAS00226b1755a0 ~]# mdadm /dev/md0 --grow --add /dev/sata4
> mdadm: Cannot add new disk to this array
> 
> Dec  9 20:38:30 NAS00226b1755a0 kernel: md: export_rdev(sdd)
>

Thanks - that narrows it down quite a bit.

I think that if you run mdadm under 'strace' you will find that the ioctl
fails with ENOSPC.
It seems that growing a linear array didn't work reliably until 2.6.22.

You need 

  commit a778b73ff793d34c0082f76110f73a7754915067

to make it work properly.

NeilBrown

  reply	other threads:[~2009-12-10  9:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09 15:01 Growing Linear RAID senthilkumar.muthukalai
2009-12-09 15:30 ` Robin Hill
2009-12-10  1:34   ` Neil Brown
2009-12-10  1:33 ` Neil Brown
2009-12-10  8:24   ` senthilkumar.muthukalai
2009-12-10  9:30     ` Neil Brown [this message]
2009-12-10 12:03       ` senthilkumar.muthukalai
2009-12-16 11:02       ` senthilkumar.muthukalai
2009-12-16 23:14         ` Neil Brown
2009-12-23 16:32           ` senthilkumar.muthukalai
2010-01-04  8:33           ` senthilkumar.muthukalai

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=20091210203008.69cbbe97@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=senthilkumar.muthukalai@wipro.com \
    /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;
as well as URLs for NNTP newsgroup(s).