* Btrfs balance invalid argument error
@ 2013-05-10 20:07 Marcus Lövgren
2013-05-10 20:21 ` Hugo Mills
0 siblings, 1 reply; 6+ messages in thread
From: Marcus Lövgren @ 2013-05-10 20:07 UTC (permalink / raw)
To: linux-btrfs
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?
Thanks,
Marcus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Btrfs balance invalid argument error
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
0 siblings, 1 reply; 6+ messages in thread
From: Hugo Mills @ 2013-05-10 20:21 UTC (permalink / raw)
To: Marcus Lövgren; +Cc: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]
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.
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.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Btrfs balance invalid argument error
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>
0 siblings, 2 replies; 6+ messages in thread
From: Remco Hosman - Yerf IT @ 2013-05-10 20:25 UTC (permalink / raw)
To: Hugo Mills; +Cc: Marcus Lövgren, linux-btrfs
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Btrfs balance invalid argument error
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>
1 sibling, 0 replies; 6+ messages in thread
From: Marcus Lövgren @ 2013-05-10 21:45 UTC (permalink / raw)
To: Remco Hosman - Yerf IT; +Cc: Hugo Mills, linux-btrfs
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.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Btrfs balance invalid argument error
[not found] ` <CAB_++moSXQVBq=dLKHiUk3acL6Rhn9r1BAdPAFb+FphrzjHD2Q@mail.gmail.com>
@ 2013-05-10 21:46 ` Hugo Mills
2013-05-11 10:14 ` Andreas Philipp
0 siblings, 1 reply; 6+ messages in thread
From: Hugo Mills @ 2013-05-10 21:46 UTC (permalink / raw)
To: Marcus Lövgren; +Cc: Remco Hosman - Yerf IT, linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 2268 bytes --]
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.
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.
> > >
--
=== 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
--- Strive for apathy! ---
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Btrfs balance invalid argument error
2013-05-10 21:46 ` Hugo Mills
@ 2013-05-11 10:14 ` Andreas Philipp
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Philipp @ 2013-05-11 10:14 UTC (permalink / raw)
To: Hugo Mills, Marcus Lövgren, Remco Hosman - Yerf IT,
linux-btrfs
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.
>>>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-05-11 10:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).