[Users] SSD trim support over a LUKS layer
Narcis Garcia
informatica at actiu.net
Wed Apr 10 10:42:46 MSK 2019
Does anybody know how can I solve this?
$ lsb_release -d
Description: Devuan GNU/Linux 1.0 (jessie)
$ uname -a
Linux bell1 2.6.32-openvz-042stab134.8-amd64 #1 SMP Fri Dec 7 17:18:40
MSK 2018 x86_64 GNU/Linux
$ lsblk --discard /dev/sda
NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sda 0 512B 2G 0
├─sda1 0 512B 2G 0
└─sda2 0 512B 2G 0
└─sda2_crypt 0 0B 0B 0
$ cat /etc/crypttab
sda2_crypt UUID=***** none luks,discard
$ mount | grep -e discard
/dev/mapper/sda2_crypt on / type ext4
(rw,noatime,errors=remount-ro,barrier=1,data=ordered,discard)
/dev/sda1 on /boot type ext4 (rw,relatime,barrier=1,data=ordered,discard)
$ sudo fstrim /
fstrim: /: the discard operation is not supported
Thank you.
More information about the Users
mailing list