linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Philipp <philipp.andreas@gmail.com>
To: "Hugo Mills" <hugo@carfax.org.uk>,
	"Marcus Lövgren" <marcuslvgrn@gmail.com>,
	"Remco Hosman - Yerf IT" <remco@yerf-it.nl>,
	linux-btrfs@vger.kernel.org
Subject: Re: Btrfs balance invalid argument error
Date: Sat, 11 May 2013 12:14:24 +0200	[thread overview]
Message-ID: <518E1A00.8000401@gmail.com> (raw)
In-Reply-To: <20130510214618.GG26072@carfax.org.uk>


On 05/10/2013 11:46 PM, Hugo Mills wrote:
> On Fri, May 10, 2013 at 11:43:34PM +0200, Marcus Lövgren wrote:
>> Yes, you were right! Adding another drive to the array made it continue
>> without errors. Is this already reported as a bug?
>
>    I believe it has been, yes. I think we've even had a patch out for
> it. I haven't looked to see if it's got into 3.10.
>
Yes, there is a patch but as far as I've seen it didn't hit 3.10 (yet).
I'll repost it immediately.

Thanks for reminding me on that,
Andreas

>    Hugo.
>
>> 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.
>>>>
>



      reply	other threads:[~2013-05-11 10:14 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
     [not found]     ` <CAB_++moSXQVBq=dLKHiUk3acL6Rhn9r1BAdPAFb+FphrzjHD2Q@mail.gmail.com>
2013-05-10 21:46       ` Hugo Mills
2013-05-11 10:14         ` Andreas Philipp [this message]

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=518E1A00.8000401@gmail.com \
    --to=philipp.andreas@gmail.com \
    --cc=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=marcuslvgrn@gmail.com \
    --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).