[Pkg-zfsonlinux-devel] Bug#986188: /lib/zfs-linux/trim: please provide an override to the new only-NVMe behaviour

наб nabijaczleweli at nabijaczleweli.xyz
Wed Mar 31 10:09:49 BST 2021


Package: zfsutils-linux
Version: 2.0.3-2
Severity: normal

Dear Maintainer,

The new autotrim script will fail for mixed HDD and NVMe pools,
but I assume you don't care about those, since you wrote it like this.

How-ever, I would still like to trim my pools that consist of SATA SSDs,
and that's now globally broken by default, on every machine.
A global "trim all pools" toggle or a list of pools to trim regardless
of their make-up would go a long way to fix this.

Well, that, or doing it the other way around and adding a list of pools
to /not/ trim, since that isn't a very common problem (and it's readily
apparent when it does manifest), and doesn't break every extant set-up.

Best,
наб

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: amd64, i386

Kernel: Linux 5.10.0-5-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfsutils-linux depends on:
ii  init-system-helpers  1.60
ii  libblkid1            2.36.1-7
ii  libc6                2.31-10
ii  libnvpair3linux      2.0.3-2
ii  libuuid1             2.36.1-7
ii  libuutil3linux       2.0.3-2
ii  libzfs4linux         2.0.3-2
ii  libzpool4linux       2.0.3-2
ii  python3              3.9.2-2

Versions of packages zfsutils-linux recommends:
ii  lsb-base                11.1.0
ii  zfs-dkms [zfs-modules]  2.0.3-2
ii  zfs-zed                 2.0.3-2

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

-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Permission denied: '/etc/sudoers.d/zfs'

-- no debconf information



More information about the Pkg-zfsonlinux-devel mailing list