Hi,

please, can someone comment on the current status of raid level migration?
(kernel 4.0.0-rc2, btrfs-progs 3.19-rc2)

I just started testing this feature, and it doesn't seem to work:

Starting with Raid1:

root@thunder[ ~/btrfs-progs ]# ./btrfs fi df /tmp/m
Data, RAID1: total=3.00GiB, used=512.00KiB
Data, single: total=8.00MiB, used=0.00B
System, RAID1: total=8.00MiB, used=16.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, RAID1: total=1.00GiB, used=112.00KiB
Metadata, single: total=8.00MiB, used=0.00B
GlobalReserve, single: total=16.00MiB, used=0.00B

Converting to Raid10:

root@thunder[ ~/btrfs-progs ]# ./btrfs balance start -dconvert=raid10
-mconvert=raid10 /tmp/m/
Done, had to relocate 9 out of 9 chunks

Still Raid1 ...:

root@thunder[ ~/btrfs-progs ]# ./btrfs fi df /tmp/m
Data, RAID1: total=35.00GiB, used=31.49GiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=1.00GiB, used=33.86MiB
GlobalReserve, single: total=16.00MiB, used=0.00B

I also tried conversion of raid6 - but it did not work either
(according to btrfs fi df output).

Did I miss something, or is it a bug?

Bye,
    Marcel
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to