On Thu, Jun 9, 2016 at 7:37 PM, Christoph Anton Mitterer <cales...@scientia.net> wrote: > Hey. > > Hmm, not sure whether this should be done per default... No-no-no. I did not mean installing the cron job by default. I meant providing such job in /usr/share/doc/btrfs-progs/ as a example
Though, i would prefer if that sample job would be functional with minimal editing required aside from $ sudo cp /usr/share/doc/btrfs-progs/btrfs-scrub.cronjob /etc/cron.monthly \ && chmod +x /etc/cron.monthly/btrfs-scrub.cronjob > a) The balance may do quite some rewriting... even if there'd be ionice > in front (and I'm not sure whether this would actually work), it may be > quite undesirable by SSD people. > > b) btrfs is still under heavy development, and at least I wouldn't dare > to claim for sure, that all these operations (balance/scrub) work > safely during any other possible running operation (e.g. device > replace, other balances, etc. pp.) > > c) *If* a regular scrub would be done automatically, than I think at > least any outputs with errors should go to a non-logrotated (per > default) logfile, as this is likely very important information that the > user should be able to see. > > > Cheers, > Chris. Roman.