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
Re: fstrim: /: the discard operation is not supported
On Sun, 11 Jun 2023 19:54:32 +0200 hede wrote: > on bullseye fstrim was working fine, but after the upgrade to bookworm fstrim > stops working. Sorry, my fault. I'm using a script to decrypt this drive via SecureBoot+TPM so /etc/crypttab doesn't get used and this script doesn't use the allow-discard option by default and was resetted to default values with the upgrade to bookworm. After patching the script, everything is fine for me. :-) (btw, I have to repair my github repo ... somehow it's broken: https://github.com/hede5562/mortar , fork of https://github.com/noahbliss/mortar I mean, github is broken, but... okay... github is Microsoft now... eh!?) regards hede