Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: Chris Murphy <lists@colorremedies.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Data single *and* raid?
Date: Sun, 2 Aug 2015 19:06:45 +0000	[thread overview]
Message-ID: <20150802190645.GD14352@carfax.org.uk> (raw)
In-Reply-To: <CAJCQCtSrt5OcUtURko3PjOtvCZBJ6quTn=AdT5P=+Ek3HuNuCQ@mail.gmail.com>

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

On Sun, Aug 02, 2015 at 12:31:13PM -0600, Chris Murphy wrote:
> On Sat, Aug 1, 2015 at 9:46 PM, Duncan <1i5t5.duncan@cox.net> wrote:
> 
> > If it was setup with something earlier (not sure about 4.1.0, was it
> > affected?
> 
> No.
> 
> > but 4.0.x and earlier should be fine for setup), however, once
> > on a new kernel the usual ENOSPC workarounds can be given a try.  That
> > would include a first balance start -dusage=0 -musage=0, and if that
> > didn't free up at least a gig on a second device,
> 
> If I'm following this correctly, the reproduce steps would be to
> create a single device Btrfs that's ~94% full, add two devices, then
> convert to raid5. I think what's going on here is empty single profile
> data chunks aren't being deallocated, and it's effectively a 2 device
> raid5.

   This isn't supported by the btrfs fi df output: all of the
allocated space is used.

   Hugo.

> So actually, you're right, either -dusage=0 might fix it, or better,
> newer kernel that automatically deallocated empty/converted single
> profile data chunks. But right now it will take another balance in the
> end because it looks like this is effectively a 2 device raid5, with
> the 3rd drive full of single only chunks (which might be empty?).

-- 
Hugo Mills             | I'll take your bet, but make it ten thousand francs.
hugo@... carfax.org.uk | I'm only a _poor_ corrupt official.
http://carfax.org.uk/  |
PGP: E2AB1DE4          |                              Capt. Renaud, Casablanca

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2015-08-02 19:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01 20:09 Data single *and* raid? Hendrik Friedel
2015-08-01 20:24 ` Chris Murphy
2015-08-01 20:32 ` Hugo Mills
2015-08-01 20:44   ` Chris Murphy
2015-08-01 21:45     ` Duncan
2015-08-01 22:26       ` Chris Murphy
2015-08-01 22:34         ` Hugo Mills
2015-08-02  0:27           ` Duncan
2015-08-02  1:14             ` Chris Murphy
2015-08-02  3:46               ` Duncan
2015-08-02 18:31                 ` Chris Murphy
2015-08-02 19:06                   ` Hugo Mills [this message]
2015-08-02 12:54     ` Hendrik Friedel
2015-08-06 18:57     ` Hendrik Friedel
2015-08-07  1:26       ` Qu Wenruo
2015-08-07  5:16         ` Hendrik Friedel
2015-08-07  6:25           ` Duncan
2015-08-07  8:11           ` 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=20150802190645.GD14352@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    /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