[Pkg-zfsonlinux-devel] Bug#982505: Bug#982505: zfsutils-linux: trim cronjob triggers "cannot trim" e-mails on spinning rust

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Thu Feb 11 17:41:38 GMT 2021


Petter Reinholdtsen wrote...

> Any idea how to figure out if trimming is possible/useful?

Haven't checked, but in the meantime I figured a sane solution was
something like Colm suggested: Have upstream modifiy the zpool command
so - at least when providing an option like "--cron-mode" - it is silent
as long as there is no error, and it considers that particular situation
not an error. Then you could also remove the "|| true" again which has
potential of hiding errors where it should not.

    Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20210211/c36a0cc8/attachment.sig>


More information about the Pkg-zfsonlinux-devel mailing list