All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: Hugo Mills <hugo@carfax.org.uk>,
	helmut@hullen.de, linux-btrfs@vger.kernel.org
Subject: Re: "not enough space" with "data raid0"
Date: Wed, 28 Mar 2012 14:38:48 -0400	[thread overview]
Message-ID: <4F735AB8.40301@ubuntu.com> (raw)
In-Reply-To: <20120317121909.GB3172@carfax.org.uk>

On 3/17/2012 8:19 AM, Hugo Mills wrote:
>> Where is the problem, how can I use the full space?
>
>     You can't. btrfs requires RAID-0 to be at least two devices wide
> (otherwise it's not striped at all, which is the point of RAID-0). If
> you want to use the full capacity of both disks and don't care about
> the performance gain from striping, use -d single (which is the
> default). If you do care about the performance gain from striping,
> then you're going to have to lose some usable space.

So currently btrfs's concept of raid0 is "stripe across as many disks as 
possible, with a minimum of 2 disks".  Is there any reason for that 
minimum?  I don't see why it can't allow only one if that's the best it 
can manage.


  reply	other threads:[~2012-03-28 18:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17 12:01 "not enough space" with "data raid0" Helmut Hullen
2012-03-17 12:13 ` Chris Samuel
2012-03-17 12:18   ` Helmut Hullen
2012-03-17 12:19 ` Hugo Mills
2012-03-28 18:38   ` Phillip Susi [this message]
2012-03-28 22:11     ` Alex
2012-03-29  1:07       ` Duncan
2012-03-17 12:19 ` Alex
2012-03-17 12:25   ` Hugo Mills
2012-03-17 13:36     ` Alex
2012-03-17 14:00       ` Hugo Mills
2012-03-17 14:24         ` Helmut Hullen
2012-03-17 14:43           ` Hugo Mills
2012-03-17 15:17         ` Alex
2012-03-19 15:14         ` Alex
2012-03-19 17:58           ` Hugo Mills
2012-03-19 21:45             ` Alex Plumbley-Jones
2012-03-17 13:46     ` Helmut Hullen
2012-03-17 14:04       ` Hugo Mills

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=4F735AB8.40301@ubuntu.com \
    --to=psusi@ubuntu.com \
    --cc=helmut@hullen.de \
    --cc=hugo@carfax.org.uk \
    --cc=linux-btrfs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.