linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Marcus Lövgren" <marcuslvgrn@gmail.com>
To: Remco Hosman - Yerf IT <remco@yerf-it.nl>
Cc: Hugo Mills <hugo@carfax.org.uk>, linux-btrfs@vger.kernel.org
Subject: Re: Btrfs balance invalid argument error
Date: Fri, 10 May 2013 23:45:16 +0200	[thread overview]
Message-ID: <CAB_++mrGbVJ0CjqcOmbkWdUTakEVPTHGJWC4kmEo+To82stYpA@mail.gmail.com> (raw)
In-Reply-To: <2549B5BE-9254-4E57-A7F1-82CAD2EE0E30@yerf-it.nl>

Yes, you were right! Adding another drive to the array made it
continue without errors. Is this already reported as a bug?

Thanks for the help,
Marcus

2013/5/10 Remco Hosman - Yerf IT <remco@yerf-it.nl>:
> On May 10, 2013, at 10:21 PM, Hugo Mills <hugo@carfax.org.uk> wrote:
>
>> On Fri, May 10, 2013 at 10:07:56PM +0200, Marcus Lövgren wrote:
>>> Hi list,
>>>
>>> I am using kernel 3.9.0, btrfs-progs 0.20-rc1-253-g7854c8b.
>>>
>>> I have a three disk array of level single:
>>>
>>> # btrfs fi sh
>>> Label: none  uuid: 2e905f8f-e525-4114-afa6-cce48f77b629
>>>        Total devices 3 FS bytes used 3.80TB
>>>        devid    1 size 2.73TB used 2.25TB path /dev/sdd
>>>        devid    2 size 2.73TB used 1.55TB path /dev/sdc
>>>        devid    3 size 2.73TB used 0.00 path /dev/sdb
>>>
>>> Btrfs v0.20-rc1-253-g7854c8b
>>>
>>> # btrfs fi df /mnt/data
>>> Data: total=3.79TB, used=3.79TB
>>> System: total=4.00MB, used=420.00KB
>>> Metadata: total=6.01GB, used=4.87GB
>>>
>>>
>>> When running
>>> # btrfs balance start -dconvert=raid5 -mconvert=raid5 /mnt/data
>>>
>>> I get
>>>
>>> ERROR: error during balancing '/mnt/data' - Invalid argument
>>> There may be more info in syslog - try dmesg | tail
>>>
>>> dmesg | tail says:
>>>
>>> btrfs: unable to start balance with target data profile 128
>>>
>>> Isn't it possible to convert raid level to raid5?
>>
>>   Yes, it should be possible. It looks like the kernel's got a
>> problem with it, which is odd because 3.9 should know about RAID-5.
>>
>
> Wasn't there some issues that the kernel or tools wanted 4 disks when converting to raid5?
>
> Remco
>
>>   Hugo.
>>
>> --
>> === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
>>  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
>>    --- I think that everything darkling says is actually a joke. ---
>>         It's just that we haven't worked out most of them yet.
>

  reply	other threads:[~2013-05-10 21:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 20:07 Btrfs balance invalid argument error Marcus Lövgren
2013-05-10 20:21 ` Hugo Mills
2013-05-10 20:25   ` Remco Hosman - Yerf IT
2013-05-10 21:45     ` Marcus Lövgren [this message]
     [not found]     ` <CAB_++moSXQVBq=dLKHiUk3acL6Rhn9r1BAdPAFb+FphrzjHD2Q@mail.gmail.com>
2013-05-10 21:46       ` Hugo Mills
2013-05-11 10:14         ` Andreas Philipp

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=CAB_++mrGbVJ0CjqcOmbkWdUTakEVPTHGJWC4kmEo+To82stYpA@mail.gmail.com \
    --to=marcuslvgrn@gmail.com \
    --cc=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=remco@yerf-it.nl \
    /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).