From: Neil Brown <neilb@suse.de>
To: Rich <rich@pcfusion.co.uk>
Cc: gmccullagh@gmail.com, linux-raid@vger.kernel.org
Subject: Re: LINEAR RAID, little help
Date: Thu, 12 Apr 2007 18:08:45 +1000 [thread overview]
Message-ID: <17949.59661.6968.6058@notabene.brown> (raw)
In-Reply-To: message from Rich on Thursday April 12
On Thursday April 12, rich@pcfusion.co.uk wrote:
> I forgot to ask something, sorry. With RAID0 and all the odd size drives
> I have I'd get a lot of left over unused space. Is there anyway to make
> use of this slack?
md/raid0 makes use of all available space (modulo chunk size).
To quote from "man md"
RAID0
A RAID0 array (which has zero redundancy) is also known as a striped
array. A RAID0 array is configured at creation with a Chunk Size which
must be a power of two, and at least 4 kibibytes.
The RAID0 driver assigns the first chunk of the array to the first
device, the second chunk to the second device, and so on until all
drives have been assigned one chunk. This collection of chunks forms a
stripe. Further chunks are gathered into stripes in the same way which
are assigned to the remaining space in the drives.
If devices in the array are not all the same size, then once the small‐
est device has been exhausted, the RAID0 driver starts collecting
chunks into smaller stripes that only span the drives which still have
remaining space.
(If you think that isn't suitable clear, you are probably correct.
Improvements always welcome).
NeilBrown
next prev parent reply other threads:[~2007-04-12 8:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-07 11:17 LINEAR RAID, little help Rich
2007-04-07 17:33 ` Gavin McCullagh
2007-04-07 18:41 ` Rich
2007-04-07 20:34 ` Gavin McCullagh
2007-04-10 21:49 ` Henrik Holst
2007-04-10 23:12 ` Neil Brown
[not found] ` <461DE4CA.9020406@pcfusion.co.uk>
2007-04-12 7:58 ` Rich
2007-04-12 8:08 ` Neil Brown [this message]
2007-04-12 11:19 ` matt s.
2007-04-12 14:55 ` Bill Davidsen
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=17949.59661.6968.6058@notabene.brown \
--to=neilb@suse.de \
--cc=gmccullagh@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=rich@pcfusion.co.uk \
/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).