You are not logged in.
btrfs balance every time founds the same number of chunks to relocate. For example if I run the command just after it has been finished it runs again and does balance again. Number of chunks only grows with time but why ?
Why "btrfs balance" does not reduce number of chunks ?
Offline
I'm not an expert, but I can't find anything indicating that btrfs balance should reduce the number of chunks.
btrfs filesystem balance is an operation which simply takes all of the data and metadata on the filesystem, and re-writes it in a different place on the disks, passing it through the allocator algorithm on the way. It was originally designed for multi-device filesystems, to spread data more evenly across the devices (i.e. to "balance" their usage). ....
The primary purpose of the balance feature is to spread block groups accross all devices so they match constraints defined by the respective profiles. ...
If "reduce number of chunks" was based on:
If there is a lot of allocated but unused data or metadata chunks, a balance may reclaim some of that allocated space. This is the main reason for running a balance on a single-device filesystem.
then see: https://btrfs.wiki.kernel.org/index.php … gularly.3F
Offline