linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Greaves <david@dgreaves.com>
To: Luke Reeves <luke@neuro-tech.net>
Cc: Guy <bugzilla@watkins-home.com>, linux-raid@vger.kernel.org
Subject: Re: Adding a new mirror disk to RAID1 configuration
Date: Fri, 09 Jul 2004 09:11:36 +0100	[thread overview]
Message-ID: <40EE5338.6080802@dgreaves.com> (raw)
In-Reply-To: <40EE2994.1090402@neuro-tech.net>

no, no no :)

Install the second disk (hdc)
build it as md1 RAID1 with a 'missing' disk this time
copy the data over from md0
get rid of md0
add the first disk as the missing disk
it will sync

don't do it again

David


Luke Reeves wrote:

> I've looked into raidreconf, but apparently it can only do operations 
> on RAID levels 0 and 5.
>
>     Luke
>
> Guy wrote:
>
>> My guess is you configured the RAID1 array as having 1 disk.  Now if 
>> you add
>> more disks to it, they are spares.  You should have configured the 
>> array as
>> having 2 disks, with 1 missing.  Then when you add a disk, it will 
>> re-build
>> to it.
>>
>> Read about raidreconf.  Google it, if needed!  It may allow you to 
>> modify a
>> RAID1 array.  I know it allows you to add a disk to a RAID5 array, 
>> but don't
>> know about RAID1.  I have never used this tool.
>>
>> Guy
>>
>> -----Original Message-----
>> From: linux-raid-owner@vger.kernel.org
>> [mailto:linux-raid-owner@vger.kernel.org] On Behalf Of Luke Reeves
>> Sent: Friday, July 09, 2004 12:55 AM
>> To: linux-raid@vger.kernel.org
>> Subject: Adding a new mirror disk to RAID1 configuration
>>
>> I have a system with two 40GB drives, and the first drive (hda) is 
>> setup   under an md device with RAID1 driving it.  I'm trying to now 
>> make the second disk, hdc, a mirror of the first.  When I try to add 
>> it using mdadm the second disk becomes a spare and no synchronization 
>> is done. Is there any way to add the second disk directly as a 
>> mirror?  Thanks.
>>
>>     Luke Reeves
>>     http://www.neuro-tech.net/
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2004-07-09  8:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-09  4:54 Adding a new mirror disk to RAID1 configuration Luke Reeves
2004-07-09  5:09 ` Guy
2004-07-09  5:13   ` Luke Reeves
2004-07-09  8:11     ` David Greaves [this message]
2004-07-09  8:23       ` Luke Reeves
2004-07-09 18:36   ` maarten van den Berg
2004-07-09 19:29     ` Guy
2004-07-09 20:09       ` Paul Clements
2004-07-09 21:04       ` maarten van den Berg
2004-07-10  0:03         ` Mark Hahn
2004-07-10 11:49           ` Maarten van den Berg
2004-07-09  5:13 ` 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=40EE5338.6080802@dgreaves.com \
    --to=david@dgreaves.com \
    --cc=bugzilla@watkins-home.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=luke@neuro-tech.net \
    /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).