On 6/13/2015 6:48 AM, crocket wrote:
I can check the result of 'btrfs scrub' later, but I don't want to
take time to actually check it.
Does anyone know how to make 'btrfs scrub' report errors via email?
It seems google doesn't know.
I use this job in /etc/cron.d/btrfs.scrub.cron :
0 0 * * fri root for dev in `mount | grep "type btrfs" | awk '{print
$1}' | sort -u`; do echo --------------------------; echo Scrubbing
$dev :; echo --------------------------; /usr/sbin/btrfs scrub start -B
$dev; done
I also use sec:
http://superuser.com/questions/789303/how-to-monitor-btrfs-filesystem-raid-for-errors
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html