All of lore.kernel.org
 help / color / mirror / Atom feed
From: whollygoat@letterboxes.org
Cc: Justin Piszcz <jpiszcz@lucidpixels.com>,
	debian-user@lists.debian.org, Neil Brown <neilb@suse.de>,
	linux-raid@vger.kernel.org
Subject: Re: RAID5 (mdadm) array hosed after grow operation
Date: Wed, 07 Jan 2009 20:19:05 -0800	[thread overview]
Message-ID: <1231388345.19357.1293603883@webmail.messagingengine.com> (raw)
In-Reply-To: <18786.34570.756734.253596@notabene.brown>


On Tue, 6 Jan 2009 09:17:46 +1100, "Neil Brown" <neilb@suse.de> said:
> On Monday January 5, jpiszcz@lucidpixels.com wrote:
> > cc linux-raid
> > 
> > On Mon, 5 Jan 2009, whollygoat@letterboxes.org wrote:
> > 
> > > 

[snip]

> > > The RAID reassembled fine at each boot as the drives
> > > were replaced one by one.  After the last drive was
> > > partitioned and added to the array, I issued the
> > > command
> > >
> > >   "mdadm -G /dev/md/0 -z max"
> > >

[snip]

> 
> You cannot grow an array with an active bitmap... or at least you
> shouldn't be able to.  Maybe 2.6.18 didn't enforce that.  Maybe that
> is what caused the problem - not sure.
> 

I've decided to swap the smaller drives back in and start the upgrade 
process over again.  Seems that might be the fastest way to fix the 
problem.

How should I have done the grow operation if not as above?  The only
thing I see in man mdadm is the "-S" switch which seems to disassemble
the array.  Maybe this is because I've only tried it on the degraded 
array this problem has left with.  At any rate, after 

    mdadm -S /dev/md/0

running

    mdadm -D /dev/md/0

gave me an error something to the effect the array didn't exist or 
couldn't be found or something like that.

Or maybe do I need to add "--bitmap=none" to remove the bitmap 
when running the above grow command?

Hope you can help,

Thanks

goat
-- 
  
  whollygoat@letterboxes.org

-- 
http://www.fastmail.fm - Same, same, but different...


  parent reply	other threads:[~2009-01-08  4:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1231144738.2997.1293010001@webmail.messagingengine.com>
2009-01-05 14:13 ` RAID5 (mdadm) array hosed after grow operation Justin Piszcz
2009-01-05 22:17   ` Neil Brown
2009-01-06  8:45     ` whollygoat
2009-01-08  4:19     ` whollygoat [this message]
     [not found]       ` <20090108101218.GI25654@samad.com.au>
2009-01-09  2:41         ` Alex Samad " whollygoat
2009-01-09 10:45           ` John Robinson
2009-01-13  3:46             ` whollygoat

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=1231388345.19357.1293603883@webmail.messagingengine.com \
    --to=whollygoat@letterboxes.org \
    --cc=debian-user@lists.debian.org \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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.