Balance of Raid1 pool, does not balance properly.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I have a Raid1 pool consisting of 6 drives, 3 3TB disks and 3 2TB disks.

Until yesterday it consisted of 3 2TB disks, 2 3TB disks and one 1TB disk.

I replaced the 1TB disk as the pool was close to full.

Replacement went well, and I ended up with 5 almost full disks, and 1 3TB disk that was one third full.

So I kicked of a balance, expecting it to balance the data as evenly as possible on the 6 disks (btrfs balace start poolname).

The balance ran fine but I ended up with this:

Total devices 6 FS bytes used 5.66TiB
        devid    9 size 2.73TiB used 2.69TiB path /dev/sdf
        devid   10 size 1.82TiB used 1.78TiB path /dev/sdb
        devid   11 size 1.82TiB used 1.73TiB path /dev/sdc
        devid   12 size 1.82TiB used 1.73TiB path /dev/sdd
        devid   13 size 2.73TiB used 2.65TiB path /dev/sde
        devid   15 size 2.73TiB used 817.87GiB path /dev/sdg

The sixth drive sdg, is still only one third full.

How do I force BTRFS to distribute the data more evenly across the disks?

The way BTRFS has done it now, will bring problems, when I write more data to the array.





[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux