Advertisement
Tritonio

Enabling TRIM with full disk encryption

Oct 20th, 2021
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. /etc/crypttab
  2. Add discard to options
  3.  
  4. /etc/fstab
  5. Add discard to options
  6.  
  7. If LVM, you need to do something for that too.
  8.  
  9. update-initramfs -u
  10.  
  11. Reboot.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement