
On Tue, Jul 16, 2013 at 12:28 PM, Craig Sanders <cas@taz.net.au> wrote:
On Mon, Jul 15, 2013 at 03:38:07PM +1000, Tim Connors wrote:
One thing I read yesterday was that zfs can be prone to issues from fragmentation - is there a preventive strategy or remedial measure to take into account?
Don't ever use more than 80% of your file system?
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.
zfs doesn't have this.
balance in btrfs is also used to change the pool replication (single to raid1 (1 replica) to raid 10(1 replica with striping)) and i would imagine for moving in and out of parity based replication systems. (erasure codes)