Autoshutdown: how to detect scrubbing?

  • I've configured autoshutdown to check for several IP addresses, uploads and HDD io over the (default) 401 KB/s.



    However, during the scrubbing of my ZFS pool, the IO rates are way above the 401KB/s value, but both harddisks are skipped:





    Is there a way to have autoshutdown detect scrubbing? I couldn't find a process with iotop so I guess a script is needed?

    Odroid H4+ , 32GB ECC, 512GB 980 SSD, HGST 18TB x 2 in RAID 1, 2.5 Gbit network

  • Thanks for your reply raulfg3.


    I know that I can see it in the gui just as from SSH with zpool status poolname. However, I'd like to know how I can configure autoshutdownplugin to detect this so the system won't be shutdown while a scrub is active. Thanks!

    Odroid H4+ , 32GB ECC, 512GB 980 SSD, HGST 18TB x 2 in RAID 1, 2.5 Gbit network

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!