I have a btrfs seed device, created with mixed data+metadata (mkfs.btrfs --mixed
), and also --metadata single
. This device is read-only. When doing btrfs device add /dev/sdc1 /mnt
, is it possible to disable mixed-mode and to change the metadata profile for this second device? Or do creation options apply to all devices?
1 Answer
man btrfs device
reports:
Profile names, used in profiles and convert are one of: raid0, raid1, raid10, raid5, raid6, dup, single. The mixed data/metadata profiles can be converted in the same way, but it’s conversion between mixed and non-mixed is not implemented.
So according to this, you would be unable to change out of mixed
mode, though you could change from single
to dup
(anything else would need more than one writable device).
btrfs-balance
- though i dunno about getting out --mixed mode. For the profiles its talking about, seeman mkfs.btrfs
.