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

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Wed Feb 10 23:36:13 GMT 2021


Package: zfsutils-linux
Version: 2.0.1-3
Severity: normal

Dear Maintainer,

on a host where the ZFS installation is based on harddisks, the
/usr/lib/zfs-linux/trim cronjob triggers e-mails with the body

| cannot trim: no devices in pool support trim operations

The reason for this is fairly obvious. Still these messages create
nothing but noise.

Please find a solution for this - preferably by checking beforehand
whether trimming is possible. Or if all else fails, by muting stderr
from the "zpool trim" command. Although that might hide serious errors
as well.

Regards,

    Christoph

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.14 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zfsutils-linux depends on:
ii  init-system-helpers  1.60
ii  libblkid1            2.36.1-6
ii  libc6                2.31-9
pn  libnvpair3linux      <none>
ii  libuuid1             2.36.1-6
pn  libuutil3linux       <none>
pn  libzfs4linux         <none>
pn  libzpool4linux       <none>
ii  python3              3.9.1-1

Versions of packages zfsutils-linux recommends:
ii  lsb-base                11.1.0
pn  zfs-modules | zfs-dkms  <none>
pn  zfs-zed                 <none>

Versions of packages zfsutils-linux suggests:
pn  nfs-kernel-server           <none>
pn  samba-common-bin            <none>
pn  zfs-initramfs | zfs-dracut  <none>

-------------- 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/b9e35515/attachment.sig>


More information about the Pkg-zfsonlinux-devel mailing list