Re: balance conversion from RAID-1 to RAID-10 leaves some metadata in RAID-1?

Tomasz Chmielewski
2020-03-02T07:39:24Z

On 2020-03-02 15:29, Chris Murphy wrote:
> On Sun, Mar 1, 2020 at 3:41 AM Tomasz Chmielewski <mangoo@wpkg.org>
> wrote:
>>
>> To my surprise, some metadata is still RAID-1 - is it expected?
>
> I'd say it's not expected but also balance is pretty complicated. Try
>
> 'btrfs balance start -dconvert=raid10,soft /mountpoint/'
>
> What does dmesg report for that command? And are those raid1 bg's
> converted to raid10? I don't think it should matter in this case, but
> what's the btrfs-progs version?

I did one more balance, for metadata only:

btrfs balance start -dconvert=raid10 /mountpoint/

And it fully converted the remaining RAID-1 metadata to RAID-10.

Still, a bit "weird".

btrfs-progs is 5.4.1.

Tomasz Chmielewski