Re: fstrim: /: the discard operation is not supported
On Sun, 2023-06-11 at 19:54 +0200, hede wrote:
> Hi,
>
> on bullseye fstrim was working fine, but after the upgrade to bookworm fstrim stops working.
> Setup is: ext4 on LUKS on LVM on SSD
I have same setup on the machine I upgraded to Bookworm today and I
just checked and discards still work.
[...]
>
> But the crypttab includes:
> sda2_crypt UUID=[UUIDishere] none luks,discard
>
> I've added "issue_discards = 1" to /etc/lvm/lvm.conf without success - and btw. that wasn't needed before the upgrade.
I have both those settings, have done since I googled how to do this a
few releases ago.
> Any hints what to test or where to search for a solution?
After changing lvm.conf did you rebuild initramfs and reboot?
--
Tixy
Reply to: