The trim command is only used on SSDs (Solid State Drives); it must be supported by the host OS as that informs the drive to perform safe 'garbage collection' on blocks of data that are unused and so can be wiped.

learn more… | top users | synonyms

122
votes
2answers
134k views

How to enable TRIM?

I know that the Linux kernel supports TRIM as of version 2.6.33, so there should be TRIM support in ubuntu. Is TRIM enabled by default or do I need to change some settings or install additional ...
22
votes
1answer
22k views

How well are SSDs supported?

I'm planning to buy an SSD (Corsair Force Series 60GB) but haven't found any reassurance that it is "safe" to install Ubuntu 11.04 on without commands or "hacks". I want to install Ubuntu on an SSD ...
11
votes
5answers
7k views

trim the terminal command prompt working directory

When using the terminal in a deep folder structure sometimes the prompt can take up most of the line. Is there any way in which I can trim the working directory? I know I can do PS1="\W >" to only ...
21
votes
4answers
9k views

What is the recommended way to empty a SSD?

I've just received my new SSD since the old one died. This Intel 320 SSD supports TRIM. For testing purposes, my dealer put malware, err, Windows on it. I want to get rid of it and install Kubuntu on ...
30
votes
5answers
22k views

Does Ubuntu have support for the TRIM command for use with SSD?

SSD drives need to be "cleared/reset" after the drive fills up to maintain performance. This is done through the TRIM command for new SSD drives. Does Ubuntu support the TRIM command (through hdparm ...
4
votes
1answer
4k views

Why doesn't Ubuntu detect all of my RAM on 64-bit? [duplicate]

Possible Duplicate: Ubuntu only detects 3.1 GB of ram on Ubuntu 64 bit ISSUE IDENTIFIED: BIOS bug. See dmesg output below. Question is: How to resolve this? Change made since 2.6.32 have ...
14
votes
2answers
5k views

Do I need to enable TRIM if I have a non-Intel/Samsung

I read in one of the webupd8 articles that TRIM support, which was introduced in Ubuntu 14.04, by default only works for Intel and Samsung SSDs. What about other? I am using Dell XPS 13 Dev Edition ...
6
votes
1answer
4k views

How to set up SSD raid and TRIM support?

I am looking to set up a new server. I can only use Intel 520 Series 240gb MLC ssds or standard Seagate 7200rpm disks. These are the non negotiable options. Naturally, as this is going to be running ...
2
votes
1answer
1k views

Encrypted home partition + encrypted swap + working hibernate

I would like to set up disk encryption on Ubuntu 13.10 such that I have plain / encrypted /home partition encrypted swap partition working hibernation and resume As these requirements suggest, ...
8
votes
2answers
9k views

TRIM on an encrypted SSD

wiki.ubuntuusers.de says if I want to use TRIM on an encrypted SSD, I need at least cryptsetup 1.4 and kernel 3.1. Do I need this, when creating the partitions and setting up encryption, or is ...
1
vote
1answer
391 views

How to apply TRIM to an NTFS partition on an SSD drive?

I have Ubuntu 13.10 and Windows 7 installed in dual boot on a single SSD. In addition they share an NTFS partition where I put all my data and documents. How can I apply TRIM to this partition?
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 ...
8
votes
1answer
6k views

Is SSD TRIM support still automatic in 12.10?

Folks I had automatic TRIM working on my laptop running Ubuntu Precise. As in the TRIM guide I added discard to mount options in /etc/fstab, and hdparm --read-sector read 0s immediately after a rm ...
3
votes
1answer
1k views

SSD tweaks for Ubuntu 12.04 cause Texmaker to compile a lot slower

I added these tweaks from Ubuntu SSD Tweak and Ubuntu Tweaks but now Texmaker is compiling slowly. Does someone know what tweak would be causing this? Or could I edit something unrelated to the ...
2
votes
2answers
1k views

Does upgrading a kernel automatically enable trim?

Simple question, I have some servers that were running 10.04 that I upgraded to 12.04. So they were installed using 10.04 (kernel 2.6.32* I believe) and the version of ext4 that shipped then. By ...
2
votes
1answer
1k views

Does Ubuntu 11.04 fully support TRIM?

Does Ubuntu 11.04 fully support TRIM? And what happens if it doesn't, will my SSD wear out?