[Pkg-zfsonlinux-devel] Bug#976090: zfsutils-linux: trim script fails if a pool doesn't support it

Felix Geyer fgeyer at debian.org
Sun Nov 29 14:51:18 GMT 2020


Package: zfsutils-linux
Version: 0.8.5-1

/usr/lib/zfs-linux/trim fails if one of the pools doesn't support trim (e.g. is on a HDD).
zpool trim seems to return exit code 255 in these cases.
Since the script is started with sh -e trim is never run on any subsequent pools.



More information about the Pkg-zfsonlinux-devel mailing list