[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-btrfs
Subject:    Re: balance conversion from RAID-1 to RAID-10 leaves some metadata in RAID-1?
From:       Chris Murphy <lists () colorremedies ! com>
Date:       2020-03-02 21:03:10
Message-ID: CAJCQCtQ0DU5uv0pwJSxRfpc1-bWQnRvtZ07u8JYD8y9jUs=hvg () mail ! gmail ! com
[Download RAW message or body]

On Mon, Mar 2, 2020 at 12:39 AM Tomasz Chmielewski <mangoo@wpkg.org> wrote:
>
> 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/

Sorry mine had a typo too; should be '-mconvert=raid10,soft /mountpoint/'

>
> And it fully converted the remaining RAID-1 metadata to RAID-10.
>
> Still, a bit "weird".

Yep, I think Hugo's guess is a likely explanation.

-- 
Chris Murphy
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic