linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Cousins <steve.cousins@maine.edu>
To: Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Correct way to create multiple RAID volumes with hot-spare?
Date: Tue, 22 Aug 2006 15:05:29 -0400	[thread overview]
Message-ID: <44EB5579.4020200@maine.edu> (raw)

Hi,

I have a set of 11 500 GB drives. Currently each has two 250 GB 
partitions (/dev/sd?1 and /dev/sd?2).  I have two RAID6 arrays set up, 
each with 10 drives and then I wanted the 11th drive to be a hot-spare. 
  When I originally created the array I used mdadm and only specified 
the use of 10 drives since the 11th one wasn't even a thought at the 
time (I didn't think I could get an 11th drive in the case).  Now I can 
manually add in the 11th drive partitions into each of the arrays and 
they show up as a spares but on reboot they aren't part of the set 
anymore.  I have added them into /etc/mdadm.conf and the partition type 
is set to be  Software RAID (fd).

Maybe I shouldn't be splitting the drives up into partitions.  I did 
this due to issues with volumes greater than 2TB.  Maybe this isn't an 
issue anymore and I should just rebuild the array from scratch with 
single partitions.  Or should there even be partitions? Should I just 
use /dev/sd[abcdefghijk] ?

On a side note, maybe for another thread, the arrays work great until a 
reboot (using 'shutdown' or 'reboot' and they seem to be shutting down 
the md system correctly).  Sometimes one or even two (yikes!) partitions 
in each array go offline and I have to mdadm /dev/md0 -a /dev/sdx1 it 
back in.  Do others experience this regularly with RAID6?  Is RAID6 not 
ready for prime time?

As for system information, it is (was) a Dual Opteron with CentOS 4.3 
(now I'm putting FC5 on it as I write) with a 3Ware 8506-12 SATA RAID 
card that I am using in JBOD mode so I could do software RAID6.

Thanks for your help.

Steve
-- 
______________________________________________________________________
  Steve Cousins, Ocean Modeling Group    Email: cousins@umit.maine.edu
  Marine Sciences, 452 Aubert Hall       http://rocky.umeoce.maine.edu
  Univ. of Maine, Orono, ME 04469        Phone: (207) 581-4302



             reply	other threads:[~2006-08-22 19:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-22 19:05 Steve Cousins [this message]
2006-08-23 10:34 ` Correct way to create multiple RAID volumes with hot-spare? Justin Piszcz
2006-08-23 13:17   ` Joshua Baker-LePain
2006-08-25 16:17     ` Steve Cousins
2006-08-23 22:42 ` Neil Brown
2006-08-25 17:10   ` Steve Cousins
2006-09-12 21:05   ` Steve Cousins
2006-09-12 22:25     ` Ruth Ivimey-Cook
2006-09-14 16:34       ` Steve Cousins
2006-09-14 16:58         ` Neil Brown
2006-09-16 14:44         ` Bill Davidsen
2006-09-13  6:56     ` Lem

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=44EB5579.4020200@maine.edu \
    --to=steve.cousins@maine.edu \
    --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).