How to enable TRIM on LVM on Ubuntu 12.10?
Posted
by
Siddarth Kaki
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Siddarth Kaki
Published on 2012-12-02T15:58:55Z
Indexed on
2012/12/02
17:21 UTC
Read the original article
Hit count: 321
When I reinstalled Ubuntu 12.10 64-bit on my SSD, I chose the option to use LVM in Ubiquity. I am trying to find out how to enable TRIM for my SSD. I came across this article:
http://worldsmostsecret.blogspot.com/2012/04/how-to-activate-trim-on-luks-encrypted.html
The article states in addition to adding discard and noatime to /etc/fstab , discard must be added to the drive (sdX_crypt) in /etc/crypttab. My problem is the only listings in my /etc/crypttab are several cryptswap; it does not list any sdX_crypt.
I currently have a /dev/sda1 (ext2), which is the boot point, and /dev/mapper/ubuntu-root, which is my ext4 partition.
Any ideas as to how to enable TRIM?
© Ask Ubuntu or respective owner