I'm in the process of configuring a new laptop with Centos 6.5. The laptop has a SSD and I want to make sure that I have it configured correctly so as not to either damage, shorten lifespan, or degrade performance.
Based on what I read at:
I added the discard option to my fstab but that caused it not to boot with the error invalid partition table. As per the RedHat documentation I checked the /sys/block/sda/queue/disca
rity file which has a value of 512.
After a reinstall, I moved /tmp to ram and so far my /etc/fstab looks like this:
# Created by anaconda on Mon Apr 7 14:52:42 2014
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
oot / ext4 defaults 1 1
UUID=**** /boot ext4 defaults 1 2
ome /home ext4 defaults 1 2
swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
1) How should I configure fstab to use trim (if possible)
2) Are there are other performance measures that I should take with the ssd? (and any links to how + I decided to keep the swap)
My hardware is a Dell E7240 w/ 8Gb Ram