Re: How do I make 'btrfs scrub' report errors via email?

Marc MERLIN
2015-06-17T17:48:06Z

On Sat, Jun 13, 2015 at 10:48:35PM +0900, 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.

See the bottom of:
http://marc.merlins.org/perso/btrfs/2014-03.html#Btrfs-Tips_-Btrfs-Scrub-and-Btrfs-Filesystem-Repair

You can remove shlock from the script if you don't have it (or use
another lock script).

Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901