linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Balance of Raid1 pool, does not balance properly.
@ 2019-01-08 19:40 Karsten Vinding
  2019-01-09  1:08 ` Duncan
  2019-01-09 17:20 ` Karsten Vinding
  0 siblings, 2 replies; 7+ messages in thread
From: Karsten Vinding @ 2019-01-08 19:40 UTC (permalink / raw)
  To: linux-btrfs

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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-01-11 22:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 19:40 Balance of Raid1 pool, does not balance properly Karsten Vinding
2019-01-09  1:08 ` Duncan
2019-01-09 17:20 ` Karsten Vinding
2019-01-09 20:47   ` Peter Becker
2019-01-10 18:21     ` Karsten Vinding
2019-01-10 18:58       ` Peter Becker
2019-01-11 22:04         ` Karsten Vinding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).