SSD drives

Milan Broz mbroz at
Mon May 28 15:26:10 UTC 2012

On 05/28/2012 04:55 PM, Roberto Ragusa wrote:
> On 05/26/2012 03:53 PM, Juan Orti Alcaine wrote:
>> I suspect it isn't working because "cryptsetup status
>> /dev/mapper/luks-uuid" does not say anything about discards. I think
>> it must say "flags: discards"
>> Any suggestion?

lsblk -D
it should print non-zero discard size for the whole storage stack.

dmsetup table <name of luks device>

and you should see "allow-discards" as last option in mapping table.

If not, discards are rejected.

(Of course you can complicate it and use blktrace + fstrim)


More information about the devel mailing list