Am Mon, 19 Jan 2015 16:32:53 +0800
schrieb Bill Kenworthy <[email protected]>:

> Can someone suggest what is causing a balance on this raid 1, 3 disk
> volume to successfully complete but leave the data unevenly distributed?
>  Content is mostly VM images.
> 
> sdc and sdd are 2TB WD greens, and sda is a 2TB WD red.
>
>
> rattus backups # btrfs fi sh
> Label: none  uuid: 04d8ff4f-fe19-4530-ab45-d82fcd647515
>         Total devices 1 FS bytes used 8.25GiB
>         devid    1 size 271.36GiB used 23.04GiB path /dev/sdb3
> 
> Label: none  uuid: f5a284b6-442f-4b3d-aa1a-8d6296f517b1
>         Total devices 3 FS bytes used 1.90TiB
>         devid    1 size 1.82TiB used 1.77TiB path /dev/sdc
>         devid    2 size 1.82TiB used 1.77TiB path /dev/sdd
>         devid    4 size 1.82TiB used 270.03GiB path /dev/sda
> 
> Btrfs v3.18
> rattus backups #  btrfs fi df /mnt/btrfs-root/
> Data, RAID1: total=1.90TiB, used=1.89TiB
> System, RAID1: total=32.00MiB, used=464.00KiB
> Metadata, RAID1: total=8.00GiB, used=6.53GiB
> GlobalReserve, single: total=512.00MiB, used=0.00B
> rattus backups # btrfs fi usage /mnt/btrfs-root/
> Overall:
>     Device size:                   5.46TiB
>     Device allocated:              3.81TiB
>     Device unallocated:            1.65TiB
>     Used:                          3.80TiB
>     Free (estimated):            845.00GiB      (min: 845.00GiB)
>     Data ratio:                       2.00
>     Metadata ratio:                   2.00
>     Global reserve:              512.00MiB      (used: 154.42MiB)
> 
> Data,RAID1: Size:1.90TiB, Used:1.89TiB
>    /dev/sda      265.00GiB
>    /dev/sdc        1.77TiB
>    /dev/sdd        1.77TiB


OK, that is odd.  While my experience with BTRFS RAID1 was that the FS is never
perfectly balanced, this is just... weird.

If I were you, I would ask on the BTRFS ML.

> Metadata,RAID1: Size:9.00GiB, Used:6.96GiB
>    /dev/sda        6.00GiB
>    /dev/sdc        7.00GiB
>    /dev/sdd        5.00GiB

This I would see as perfectly possible with BTRFS RAID1.

> System,RAID1: Size:32.00MiB, Used:464.00KiB
>    /dev/sda       32.00MiB
>    /dev/sdd       32.00MiB
> 
> Unallocated:
>    /dev/sda        1.55TiB
>    /dev/sdc       47.02GiB
>    /dev/sdd       47.99GiB
> rattus backups #

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

Attachment: pgp7pIeqKAaqm.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to