Hi, Yes, I am using LUKS. Sorry for the confusion. Am Freitag, 18. Januar 2019, 10:38:40 CET schrieb Rui Santos:
c/crypttab cr_sda3 UUID=XXXXXXXX-XXX-XXXX-XXXX-XXXXXXXXXXXX /root/secrets/luks.key discard
I already tried that. But as this is the root device it doesn't seem to have an affect. Even when regenerating the initrd. Curiosly, on the one system where it is working, the device doesn't even show up in /etc/crypttab.
Also, if you're using LVM (which I think it's not the casa, you also need issue_discards = 1 on /etc/lvm/lvm.conf
I have that. However, it seems the discard capability already get's lost at the crypto layer. Thanks for confirming I wasn't completely on the wrong track! Kind Regards, Matthias -- Dr. Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke