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>

Attachment: signature.asc
Description: PGP signature

Reply via email to