[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to enable trim for an external encrypted SSD?



Normally I would enable TRIM support in the /etc/fstab or the /etc/
crypttab by add the discard option.

Now I have bought a SanDisk Extreme Portable SSD. My goal is to add a LUKS 
encrypted partition without an explicit fstab entry. I've done this with 
some USB thumbdrives before, but not with TRIM support. The drvie should 
be plugged into any Linux device without the need to change the 
configuration.

What is the correct way to add TRIM support to an external SSD with LUKS 
encrypted partition?


Reply to: