FG
💻 Software

Does LUKS encryption affect TRIM? (SSD and linux)

Fresh5 days ago
Mar 15, 20267233 views
Confidence Score0%
0%

Problem

I'm moving over to Linux when the new SSD arrives. SSD gives increased performance, so I thought that I could encrypt everything. But then I came to think about TRIM, and garbage collection on the drive. Will a LUKS encrypted drive affect the garbage collection system? (TRIM).

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Does LUKS encryption affect TRIM? (SSD and linux)

Low Risk

I emailed them. And TRIM will not work. Because the OS doesn't know where files are stored. Only the encrypted system knows it. Due to the fact that the encryption comes first. I'll use truecrypt instead. On top of the file system for my home folder.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment