linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michał Sawicz" <michal@sawicz.net>
To: Carlos Williams <carloswill@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Building RAID5 w/o a Hot Spare
Date: Wed, 27 Jan 2010 16:34:50 +0100	[thread overview]
Message-ID: <1264606490.1928.5.camel@test.apertos.eu> (raw)
In-Reply-To: <d80f793f1001270641k29430f12r59b9f9fa02966ea0@mail.gmail.com>

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

Dnia 2010-01-27, śro o godzinie 09:41 -0500, Carlos Williams pisze:
> 2010/1/27 Michał Sawicz <michal@sawicz.net>:
> > I'm not sure I understand what you want to achieve. A 'spare' disk
> is
> > one that isn't used until any of the other fail, then the spare
> replaces
> > the failed one. The term 'hot spare' is used to identify a disk that
> is
> > a mirror of one of the other drives, but there's no support for that
> in
> > Linux Software-RAID.
> 
> I am sorry because I think I was using the wrong terminology then. I
> want to use all 4 disks to be an active member or the RAID5 /dev/md0.
> I wanted to make sure the command I posted in my original post was not
> going to use 3 partitions for active members of RAID5 on /dev/md0 and
> use the 4th drive as a 'spare device' in case one of the three drives
> fail. I don't want that. I just want 4 active / working devices for
> /dev/md0.
> 
> >> mdadm --create /dev/md0 --level=5
> --raid-devices=4 /dev/sda2 /dev/sdb2
> >> /dev/sdc2 /dev/sdd2
> >
> > This will create a RAID5 array of 4 devices, yes. Capacity will be 3
> x
> > sd?2. Failure of any one of those disks will not harm the data.
> 
> OK. I think that answers my questions. Thanks for your help!

Great.

Please keep the mailing list in the loop.

-- 
Cheers
Michał (Saviq) Sawicz

[-- Attachment #2: To jest część wiadomości podpisana cyfrowo --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2010-01-27 15:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27 14:26 Building RAID5 w/o a Hot Spare Carlos Williams
2010-01-27 14:46 ` Michał Sawicz
2010-01-27 14:53   ` Robin Hill
2010-02-01 21:45   ` Bill Davidsen
     [not found] ` <1264603005.1928.3.camel@test.apertos.eu>
     [not found]   ` <d80f793f1001270641k29430f12r59b9f9fa02966ea0@mail.gmail.com>
2010-01-27 14:49     ` Carlos Williams
2010-01-27 15:34     ` Michał Sawicz [this message]
2010-01-27 15:14 ` Goswin von Brederlow
2010-01-27 15:15   ` Carlos Williams
2010-01-27 20:46     ` Goswin von Brederlow

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=1264606490.1928.5.camel@test.apertos.eu \
    --to=michal@sawicz.net \
    --cc=carloswill@gmail.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).