linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Robert L. Harris" <Robert.L.Harris@rdlg.net>
To: Derek Vadala <derek@vadala.com>
Cc: Linux-Raid <linux-raid@vger.kernel.org>
Subject: Re: mdadm -c magic?
Date: Thu, 20 Feb 2003 12:33:17 -0500	[thread overview]
Message-ID: <20030220173317.GH19609@rdlg.net> (raw)
In-Reply-To: <20030220180014.2B2173B809@jaded.cynicism.com>

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]



Bingo.  Thank you very much.


Thus spake Derek Vadala (derek@vadala.com):

> On Thu, 20 Feb 2003, Robert L. Harris wrote:
> 
> > Is it possible to have mdadm make the array and just leave the one spot
> > open anyway?  I tried a few options:
> >
> > root@legato-disk5.acs:~# mdadm -C -c 128  -l 5 -p left-asymmetric -n 4 -x 0=
> >  /dev/md3 /dev/sdm1 /dev/sdn1 /dev/sdo1 /dev/sdp1
> > [snip]
> > mdadm: create aborted
> > root@legato-disk5.acs:~# mdadm -C -c 128  -l 5 -p left-asymmetric -n 4 -x 0=
> >  /dev/md3 /dev/sdm1 /dev/sdn1 /dev/sdo1
> > mdadm: You haven't given enough devices (real or missing) to create this ar=
> > ray
> 
> Try using the keyword 'missing' in place of a real disk or partition:
> 
> # mdadm -C /dev/md3 -c 128 -l 5 -n 4 /dev/sdm1 /dev/sdn1 /dev/sdo1 missing
> 
> That should give you a 3-disk RAID-5 in degraded mode. I think that's what
> you want. Add the fourth disk when it shows up and the array will
> resync.

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2003-02-20 17:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 16:44 mdadm -c magic? Robert L. Harris
2003-02-20 18:00 ` Derek Vadala
2003-02-20 17:33   ` Robert L. Harris [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=20030220173317.GH19609@rdlg.net \
    --to=robert.l.harris@rdlg.net \
    --cc=derek@vadala.com \
    --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).