Re: btrfs: convert metadata from raid5 to raid1

Swâmi Petaramesh
2020-02-17T13:55:50Z

On 2020-02-17 14:50, Menion wrote:
> Is it ok to run it on a mounted filesystem with concurrent read and
> write operations?

Yes. Please check man btrfs-balance.

All such BTRFS operations are to be run on live, mounted filesystems.

Performance will suffer and it might be long though.

> Also, since the number of HDD is 5, how this "raid1" scheme is deployed?

BTRFS will manage storing 2 copies of every metadata block on 2
different disks, and will choose how by itself.

ॐ

--