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

0
votes
0answers
88 views

Ubuntu 13.04 on a 60GB Kingston SSD ( partititions and TRIm )

Whats the difference between having / and /home on a same partition / and having them saparate partitions which is better ? / -> 24GB /home -> 34GB swap -> 2GB OR / -> 58GB ...
0
votes
1answer
82 views

Does Ubuntu 13.04 conclusively support TRIM? [duplicate]

I'm getting ready to install (dual boot) Ubuntu, but I have heard conflicting information on how well supported TRIM is. I'm solely using an Intel 330 and would not install it if I don't know whether ...
1
vote
1answer
207 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 ...
3
votes
1answer
228 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
2answers
338 views

fstrim doesnt work

I have a Thinkpad X60s with an OSZ agility SSD I read that I should execute the trim command from time to time, however, this command doesn't work on my machine: boris@boris-ThinkPad-X60s:~$ fstrim ...
3
votes
1answer
359 views

Trim and SSD with usb 3.0 enclosure does not work - UASP not supported?

I have installed one SSD disk (Micron C400-MTFDDAC128MAM) in an external usb 3.0 enclosure. Now I want use this disk as second disk in my laptop with Ubuntu 12.04. Disk is working, but I want to use ...
7
votes
1answer
302 views

What exactly do the 'allow-discards' and 'root_trim' Linux parameters do?

A lot of SSD-related instructions online currently say you should add allow-discards and root_trim=yes to your GRUB_CMDLINE_LINUX. I have yet to find one that says why you should do that, i.e. what ...
0
votes
0answers
287 views

Installing Ubuntu via Wubi - about SSDs and HDDs

I read the question in regards to installing Ubuntu with Wubi on an SSD ( How do I enable Trim on an SSD in a Wubi install under Windows 7? ). My Windows installation is on an SSD (C: drive). My ...
1
vote
1answer
747 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
218 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 ...
2
votes
1answer
108 views

Was TRIM support backported into the 2.6.32 kernel that is in 10.04?

I have found conflicting answers to this around the web, even a link to a launchpad bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/571476 which is kind of left hanging. So I'm curious, was ...
0
votes
1answer
202 views

How to enable the trim on Transcend 320 Ultra-fast 256GB SSD?

I got a new TS256GSSD320, I'd like to put on the trim. I have edited /etc/fstab with discard on the boot partition but the trim is still off.
7
votes
1answer
5k 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 ...
7
votes
2answers
2k views

Automatic TRIM vs. manual TRIM

I am currently trying to find out how to trim with my new TP and was wondering about the difference of manual/online trimming. Here is my setup: ThinkPad T430s with SSD Samsung 830, 128GB and ...
6
votes
1answer
2k 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 ...
2
votes
2answers
843 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 ...
0
votes
1answer
557 views

Fresh install on SSD with Ubuntu and Windows Vista, using whole disk encryption for Ubuntu

I would like to do a fresh install on a OCZ Vertex Plus R2 SSD 60GB drive I purchased on the cheap. Since the AES-encryption looks like it may not work optimally for this drive, I would like to set ...
1
vote
0answers
3k views

Unsure about TRIM enabled on my SSD

I have a SSD OCZ Vertex4 installed on my laptop. I'm running Ubuntu 12.04 LTS. I have enable TRIM by adding "discard" to my fstab file. (also added option noatime). I rebooted my Ubuntu and followed ...
1
vote
3answers
2k views

How to check if TRIM is working for an encrypted volume?

You can easily check if TRIM works for a "normal" ext4 partition: http://askubuntu.com/a/19480/5920. How to do that for a LUKS-encrypted one? Let's assume the default LUKS setup made by 12.04 ...
2
votes
1answer
433 views

Trim on encrypted SSD--Urandom first?

My understanding (I'm not sure I'm getting this all right) is that if one uses Trim on an encrypted SSD, it defeats some of the security benefits, because the drive will write zeros to empty space (as ...
4
votes
2answers
4k 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 ...
4
votes
1answer
3k 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 ...
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!
0
votes
0answers
1k views

how do I enable trim on my SSD? [duplicate]

Possible Duplicate: How to enable TRIM? I have Ubuntu 11.04. # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for ...
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?
4
votes
3answers
3k views

Do you recommend LUKS encryption on a SSD (TRIM support)?

I have a laptop (Dell Inspiron 11z) and and SSD (Samsung 128GB) on order. On my current laptop, I have a spinning HDD and use LVM and LUKS encryption. I would like to use LUKS on the SSD but from ...
1
vote
1answer
482 views

Can't get TRIM test to work [closed]

So I'm attempting to install TRIM using the walkthrough here: How to enable TRIM? But everytime I attempt to run the hdparm command, I get the following when I try to run it w/ sda: reading sector ...
21
votes
1answer
18k 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 ...
13
votes
3answers
5k 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 ...
73
votes
3answers
77k 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 ...
6
votes
4answers
2k 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 ...
13
votes
5answers
4k views

What's the story with TRIM support?

The situation with TRIM in Ubuntu has me utterly confused. I don't know whether I need to manually run it or not. Sources I've found are disparate and unclear. I have Ubuntu 10.04 with latest updates ...
30
votes
5answers
20k 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 ...