On Wed, 10 Dec 2014 17:17:28 Robert White wrote: > A _monthly_ scrub is maybe worth scheduling if you have a lot of churn > in your disk contents.
I do weekly scrubs. I recently had 2 disks in a RAID-1 array develop read errors within a month of each other. The first scrub after replacing sdb revealed an error on sdc! > Defragging should be done after significant content additions/changes > (like replacing a lot of files via package management) and limited to > the directories most likely changed. I have never run defrag. Currently all my BTRFS filesystems that have any performance requirements are on SSD and I don't think that defragmenting a SSD does much good. > Balancing is almost never necessary and can be anti-helpful if a > experiences random updates in batches (because the nicely packed file > may end up far, far away from the active data extent where its COW > events are taking place. The problem with running out of metadata space requires a need for an occasional data balance. If you set it to only balance chunks that are less than 10% used then it doesn't take much time. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/ -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html