linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ville Herva <vherva@vianova.fi>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org,
	"Samuli Kärkkäinen" <Samuli.Karkkainen@netspan.fi>
Subject: Re: 3-disk RAID1 - only two disks active
Date: Wed, 16 Nov 2005 05:23:09 +0200	[thread overview]
Message-ID: <20051116032309.GT6966@vianova.fi> (raw)
In-Reply-To: <17274.26806.260020.822459@cse.unsw.edu.au>

On Wed, Nov 16, 2005 at 10:01:10AM +1100, you [Neil Brown] wrote:
> On Tuesday November 15, vherva@turing.netspan.fi wrote:
> > I had two disks taken off from the three-disk raid set (hda,hdb,hdc - hdc
> > failed by itself, hdb was marked bad with raidsetfaulty). When the new disks
> > were added back to the set (with raidhotadd), only two of them became active
> > and one remained as a hot spare.
> > 
> > I there a way to reconfigure all three to become active again?
> 
> It looks from the details you gave that it never was a three-disk
> set.  It was only ever two-disk, possibly with a spare.

I can't dig up any hard evidence, but my impression is that it _was_ [UUU]
back when I had three disks in it the last time. That was in 2003, though.
It was created with the mentioned raidtab and 0.90 raidttools - shouldn't
that result into three active disks? 

Later one disk was removed, and later one broken. Now two have been added
back.

Anyway, you may well be right, perhaps I misremember and it was 2 active + 1
one spare.

> > This is kernel 2.4.32-rc1.
> 
> With a recent 2.6 kernel, you could
>    mdadm --grow --raid-disk=3 /dev/md1
> but with a 2.4 kernel, the only option is to re-create the array:
> 
>   mdadm --stop /dev/md1
>   mdadm --create /dev/md1 --level=1 --raid-disks=3 /dev/hda1 /dev/hdc1 missing
>   mdadm /dev/md1 --add /dev/hdb1

Ok, thanks. One of the md's is rootfs, so I'll have to wait for a reboot to
try that.



-- v -- 

v@iki.fi


      reply	other threads:[~2005-11-16  3:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-15 13:26 3-disk RAID1 - only two disks active vherva
2005-11-15 23:01 ` Neil Brown
2005-11-16  3:23   ` Ville Herva [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=20051116032309.GT6966@vianova.fi \
    --to=vherva@vianova.fi \
    --cc=Samuli.Karkkainen@netspan.fi \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=vherva@netspan.fi \
    /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).