From: David Brown <david@westcontrol.com>
To: linux-raid@vger.kernel.org
Subject: Re: looking for advice on raid drives upgrade
Date: Wed, 30 Mar 2011 16:00:55 +0200 [thread overview]
Message-ID: <imvd3u$bsr$1@dough.gmane.org> (raw)
In-Reply-To: <4D9330CD.7090806@crc.id.au>
On 30/03/2011 15:31, Steven Haigh wrote:
> On 31/03/2011 12:14 AM, David Brown wrote:
>> If you've got a spare drive slot, and plenty of time, there is another
>> option that lets you keep online and redundant during the process.
>> Re-shape the array to raid 6, while adding one of the new drives. Then
>> you can replace each drive, one at a time, letting the raid recover in
>> between. For the last drive, you just have to remove it then reshape
>> back to raid 5 (although ideally you could buy an extra drive and keep
>> the raid 6 layout - it's worth the cost, assuming you have the drive
>> slot).
>>
>> Once everything is swapped over, you grow the array to fit the new disks.
>
> This makes me wonder... What is recommended as the best practice... Use
> the entire disk or 1 partition per device? Assuming of course that you
> won't be booting off the RAID5/6....
>
I think the answer depends on what you are trying to do. If you are
just building a single big array, then whole devices make most sense.
But sometimes you want to try something more complicated (see my recent
thread - though no one has yet said if it is a good idea...). You may
also want more than one array with different characteristics, such as
the balance between capacity, speed (for different uses) and redundancy.
For example, you might think raid 5 is appropriate for some of your
data, and raid10 for other parts. By dividing each disk into two and
using partitions from one half for one array, and the other half for the
other array, you get both areas. Clearly you'll get a performance hit
if both arrays are used at the same time, but it's your choice.
next prev parent reply other threads:[~2011-03-30 14:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 9:46 looking for advice on raid drives upgrade Vincent Schut
2011-03-30 11:10 ` Mikael Abrahamsson
2011-03-30 11:22 ` Vincent Schut
2011-03-31 6:54 ` hansbkk
2011-03-30 13:14 ` David Brown
2011-03-30 13:31 ` Steven Haigh
2011-03-30 14:00 ` David Brown [this message]
2011-03-31 8:50 ` Vincent Schut
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='imvd3u$bsr$1@dough.gmane.org' \
--to=david@westcontrol.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).