0
votes
0answers
39 views

is it necessary to enable discard on logical volumes if lvm is configured with “issue_discards”?

LVM has a option issue_discards. If this option is set, does it make sense using discard on filesystem level (ext4 here) for filesystems being created in a LVM logical volume?
1
vote
1answer
898 views

How to enable TRIM on LVM on Ubuntu 12.10?

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: ...
1
vote
1answer
335 views

Run fstrim from LiveCD

A few years ago I installed Ubuntu 10.04 with LVM + LUKS on a system with SSD, TRIM was not enabled. Now I want to install Ubuntu 12.04 on the same SSD. I have found a guide explaining how to enable ...
7
votes
3answers
5k views

How should I configure TRIM Support for LVM logical volumes?

I am setting up a notebook for software demo purpose. The machine has a Intel Core i7 CPU, 8GB RAM, a 128GB SSD, and runs Ubuntu 12.04 LTS 64bit desktop. As it is, the SSD is configured to have a ...
3
votes
1answer
2k views

SSD + TRIM + ext4 OK. What about LVM and RAID?

I've read that SSD TRIM is now supported in the recent kernels with ext4 too (see How to enable TRIM? ). Is it OK/safe to enable TRIM when having a) LVM b) RAID1+LVM? Thanks!