linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lieven Van Acker <lieven.vanacker@ugent.be>
To: linux-raid@vger.kernel.org
Subject: modifying a running array
Date: Mon, 15 Nov 2004 13:35:01 +0100	[thread overview]
Message-ID: <1100522100.31575.12.camel@xstar> (raw)

Hey folks,

I didn't find any direct pointers on this issue, so maybe you experts
can advice me...

I was setting up a system, had only one disk at setup time but wanted to
configure raid 1 in advance...

so I used 

mdadm --create /dev/md0 --force --run --level=1 --raid-devices=1
/dev/sda1

to create my array.

Now as I have the second disk available, after duplicating the partition
table I wanted to add add /dev/sdb1 to the array. 

But 

mdadm /dev/md0 -a /dev/sdb1 

adds this device as a spare one, so the number of active devices stays
1. I could use the build command to reinitialise the array, but I wonder
if there's a way to extend the raiddevice while it's running?

Is there any way to arrange this?

Regards,

Lieven


             reply	other threads:[~2004-11-15 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 12:35 Lieven Van Acker [this message]
2004-11-15 15:19 ` modifying a running array David Greaves
2004-11-15 21:55 ` Neil Brown

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=1100522100.31575.12.camel@xstar \
    --to=lieven.vanacker@ugent.be \
    --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;
as well as URLs for NNTP newsgroup(s).