linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Robert L. Harris" <Robert.L.Harris@rdlg.net>
To: Linux-Raid <linux-raid@vger.kernel.org>
Subject: mdadm -c magic?
Date: Thu, 20 Feb 2003 11:44:43 -0500	[thread overview]
Message-ID: <20030220164443.GG19609@rdlg.net> (raw)

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


Situation, I need to get a RAID5 array online ASAP.  It's to be 4 160Gig IDE
drives on a 3ware raid controller.

One hitch, I just lit up the box and started to mess with the disks to
make the array and it seems one disk is having "issues"...  I'm sending
it off for RMA which can take 1-2 weeks easily.

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
mdadm: /dev/sdm1 appears to contain an ext2fs file system
    size=3D480238464K  mtime=3DTue Dec  3 11:11:22 2002
mdadm: /dev/sdm1 appear to be part of a raid array:
    level=3D5 disks=3D4 ctime=3DTue Dec  3 10:48:56 2002
mdadm: /dev/sdo1 appear to be part of a raid array:
    level=3D5 disks=3D4 ctime=3DTue Dec  3 10:48:56 2002
mdadm: Cannot open /dev/sdp1: No such file or directory
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


I figured trying to create it with 3 drives and then adding a 4th would
just make that 4th a spare.  Yes I know it's not very redundant with 3
of 4 drives but atleast I can get it online and start testing with light
data load.  If it fails another disk I won't be any farther behind than
if I just waited...

Robert


:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu=20
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=3Dpack(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 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 16:44 Robert L. Harris [this message]
2003-02-20 18:00 ` mdadm -c magic? Derek Vadala
2003-02-20 17:33   ` Robert L. Harris

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=20030220164443.GG19609@rdlg.net \
    --to=robert.l.harris@rdlg.net \
    --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).