
17 Jul
2013
17 Jul
'13
8:03 a.m.
Craig Sanders <cas@taz.net.au> wrote:
btrfs has a 'balance' command to rebalance storage of files across the disks (e.g. after you've added or replaced disks in the pool. That has the side-effect of de-fragging files.
of course, on a large pool, it takes ages to run.
Btrfs also has online de-fragmentation, performed while the file system is otherwise idle. In addition, there's a defragment command that the administrator can invoke on files and directories.