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
46 views

hdparm issue / problem verifying TRIM

I am trying to find out whether TRIM works on my 14.04 installed on a 1TB samsung SSD which is set up as an LVM. I have been following this tutorial and have carried out the following steps: First, I ...
0
votes
2answers
80 views

Can Ubuntu TRIM another (NTFS) partition?

I have three questions for Ubuntu and TRIM/SSD experts. I've got SSD drive (SanDisk SDSSDP128G 128Gb). Currently, it is the only hard drive. Connected via SATA cable however in BIOS using IDE mode ...
1
vote
1answer
30 views

Enable TRIM on the windows partitions?

Do I need to enable TRIM for the windows 8.1 partition on my dual boot ultrabook if I will be reading/writing to the windows partition while booted into Ubuntu? Also do I need to enable it for a ...
1
vote
0answers
358 views

USB: Enable Trim (FITRIM ioctl failed: Operation not supported)

First of all, I am pretty surprised my usb flash device supports trim: sudo hdparm -I /dev/sdb | grep 'Model\|TRIM' gives me: Model Number: SanDisk SSD CZ80 32GB ...
1
vote
1answer
164 views

SSD TRIM Support and Block Limits?

I'm running Ubuntu 13.10. In this situation, I have two questions? I have 4 drives on my desktop, two of which are SSD's with TRIM supported. However the two have different block limits. I am trying ...
3
votes
1answer
199 views

Does the mpt2sas driver support TRIM?

I'm running Ubuntu 13.10 with an LSI 9211-8i SAS adapter with Samsung 840 EVO SSDs. Doing some performance testing I noticed the write speed dropping off significantly so I've been attempting to get ...
1
vote
0answers
182 views

fstrim is taking too long?

I'm running manual SSD TRIM fstrim -v /, and it's added to my /etc/rc.local. Recently I realized that the command is taking too long to finish execution. It finishes after I login by average 10 ...
0
votes
2answers
117 views

Unable to get TRIM to work on Ubuntu 12.10

I am trying to use the fstrim command on my machine. The configuration is as follows : ubuntu@ip-172-16-10-56:~/test$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: ...
1
vote
1answer
640 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, ...
0
votes
1answer
209 views

Will be TRIM enabled by default?

I heard that Ubuntu 14.04 will feature TRIM by default on SSDs. What I would like to know is that if in the current daily builds it is already activated. Also, it would be appreciated a way to verify ...
1
vote
2answers
302 views

Does TRIM work with FAT32?

I used this webupd8 guide to help me Trim my SSD on Ubuntu 13.10. The guide says that "you must make sure the partition(s) are EXT4 or BTRFS". Unfortunately, I stupidly assumed the HD was formatted to ...
1
vote
1answer
218 views

get error when try fstrim

Below is my /etc/cron.daily/fstrim file: #! /bin/sh # By default we assume only / is on an SSD. # You can add more SSD mount points, separated by spaces. # Make sure all mount points are within ...
1
vote
1answer
294 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?
0
votes
0answers
36 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
0answers
182 views

TRIM and encrypted home folders

I have enabled TRIM for my root partition by adding discard in /etc/fstab, following How to enable TRIM? They mention that special steps are needed if I have an encrypted partition. I have encrypted ...
2
votes
1answer
2k views

Is TRIM on by default in 13.04?

I've just installed the Ubuntu Raring (with Sandisk Extreme) and I know there're multiple articles over the internet (and here) about TRIM, but I suspect it's a native resource on Ubuntu Raring. PS: ...
0
votes
0answers
842 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
2k 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 ...
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 ...
5
votes
1answer
3k 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 ...
6
votes
2answers
3k views

fstrim does not work

I have a Thinkpad X60s with an OSZ agility SSD. I use ext2. I read that I should execute the trim command from time to time, however, this command doesn't work on my machine: ...
3
votes
1answer
2k 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 ...
8
votes
1answer
935 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
452 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
863 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
311 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
151 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
258 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.
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 ...
9
votes
3answers
6k 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 ...
7
votes
3answers
4k 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
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 ...
0
votes
1answer
658 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
4k 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 ...
2
votes
3answers
3k 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
549 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 ...
6
votes
3answers
8k 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
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 ...
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?
5
votes
3answers
5k 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
559 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 ...
22
votes
2answers
21k 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 ...
21
votes
4answers
8k 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 ...
120
votes
3answers
121k 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 ...
8
votes
5answers
5k 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
21k 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 ...