Linked Questions
49 questions linked to/from How to enable TRIM?
156
votes
13
answers
144k
views
How do I optimize the OS for SSDs?
What steps should be taken before/during/after installation of Ubuntu on a Solid State Drive to optimize performance and ensure maximum durability of the drive?
75
votes
6
answers
67k
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 Windows on it, but I want to get rid of this and install Kubuntu on it.
It ...
57
votes
5
answers
188k
views
Installing Ubuntu on a SSD
Going to install Ubuntu 10.10 on new intel x25M 80GB SSD. It will be fresh install. I have been googling for past few days and getting overwhelming articles/blogs/Q&As. One particularly very ...
34
votes
5
answers
25k
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 ...
13
votes
5
answers
5k
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 ...
19
votes
4
answers
59k
views
Best /etc/fstab settings for boosting SSD/HDD performance
After checking test blog posts from different authors, I know EXT4 is the fastest for 3y already in 2011. However, there are also other settings that make an SSD faster which I found in: http://www....
13
votes
4
answers
29k
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
4
answers
8k
views
How to check if TRIM is working for an encrypted volume?
You can easily check if TRIM works for a "normal" ext4 partition: https://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 ...
1
vote
4
answers
245
views
How shall I partition my disk
I installed Ubuntu 64bit on a new Dell XPS 8500.
As I had no idea how to partition my disk, I installed everything in one partition.
The disk has 2TB and there is an additional 64GB SSD inside, ...
10
votes
3
answers
7k
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 ...
10
votes
3
answers
12k
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 ...
7
votes
3
answers
10k
views
Intel 330 SSD running slow, how can I improve performance?
I just installed a new Intel 330 60 GB SSD into my HP Mini 2140 laptop.
But it's not going as fast as expected and my hdparm results aren't looking very good compared to SSD benchmarks at:
https://...
5
votes
3
answers
27k
views
"A start job is running for /etc/rc.local Compatibility": how to fix?
I just upgraded to Ubuntu Vivid (15.04) today, and after the restart I experienced a very long boot process. My laptop usually boots in 5 seconds or less, and now it hadn't finished even after a few ...
2
votes
3
answers
11k
views
partitioning SSD + HDD
I recently bought an SSD drive 128 GB and I would like yo have your suggestions on partitioning and installing Ubuntu 12.10 on it.
First of all my drives are :
HDD 640 GB
SSD Samsung 830 series 128 ...
72
votes
2
answers
69k
views
Is TRIM enabled on my Ubuntu 18.04 installation?
I know that weekly TRIM is enabled by default from 14.10 onwards. Source: How to enable TRIM?
But running sudo nano /etc/cron.weekly/fstrim returns an empty file. Also tail -n1 /etc/cron.weekly/fstrim ...
23
votes
2
answers
98k
views
Samsung Magician on Ubuntu 14.04
I have replaced my laptop's HDD with a Samsung SSD 840 EVO 250GB and installed Ubuntu 14.04. I know that the Samsung Magician software drastically improves SSD performance, but have not been able to ...
21
votes
2
answers
54k
views
How to combine an SSD boot drive with a HDD data drive? [closed]
I have an SSD with 64 GB and a 6 GB/s 1 Terabyte hard drive. I want to use the SSD only as a boot device and maybe for swap storage. On the 1 Terabyte hard drive, I want to have the main file system. ...
20
votes
2
answers
11k
views
Why does ~/.local/share/Trash still use lots of space even after emptying the Trash? [closed]
I delete files via Nautilus. I then empty the Trash. It shows as empty. However, ~/.local/share/Trash contains 1.5G of stuff. I have a small SSD and so this is highly annoying. Here's what ~/.local/...
7
votes
2
answers
11k
views
Why isn't discard automatic for SSDs?
I was surprised to find that the discard option still isn't added automatically to my fstab, even though I have an SSD. Thus I have to follow these instructions to add it.
Why doesn't the installer ...
3
votes
2
answers
2k
views
Using an SSD - things to consider? [closed]
I am considering to buy an SSD disk for my laptop. I know it's very fast, but i am concerned about its lifetime and data integrity.
Can you please share your experience about using SSD in your ...
3
votes
2
answers
2k
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 ...
1
vote
2
answers
7k
views
How to install Ubuntu with LVM & LUKS on a SSD and use an LUKS encrypted HDD for data on a Dell Inspiron 7580
The goal for a Dell Inspiron 7580 (smaller SSD and bigger HDD) is to install Ubuntu (LVM/LUKS) on the SSD and use the HDD (LUKS-encrypted) for the bigger files (e.g. Video, Pictures, Download, ...). I ...
0
votes
2
answers
768
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: ...
52
votes
1
answer
22k
views
Will my device work with Ubuntu?
I have a device on which I would like to install Ubuntu. How do I find out if Ubuntu will work on it?
33
votes
1
answer
66k
views
How is Trim enabled? [duplicate]
I have heard, that Ubuntu 14.04 will have Trim enabled by default. How will this be done? By adding a discards option to the ext4 mount options or by running a cron-job?
Will the default options for ...
23
votes
1
answer
23k
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 ...
8
votes
1
answer
7k
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
1
answer
9k
views
How to partition a small SSD alongside an HDD when installing Ubuntu
There is both a HDD and a 24GB SSD in my Ultrabook.
I will install Windows (for testing in feature, as its free in university) in the HDD.
I need to decide what to do with Ubuntu, as its the system ...
4
votes
1
answer
3k
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!
3
votes
1
answer
6k
views
Are features like Trim for SSD's Included for 16.04?
I am new to Ubuntu and I am wondering what to do for Sandisk SSDs? Questions I have looked up are from many years ago and I am wondering if things like Trim are now included in 16.04 and I should not ...
3
votes
1
answer
2k
views
Large amount of data trimmed after running fstrim
Each time after I restart my computer I run fstrim. And each time this is the output I receive:
emil@emil-Lenovo-G580 ~> sudo fstrim -v /
[sudo] password for emil:
/: 84.2 GiB (90372820992 bytes) ...
3
votes
1
answer
751
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 ...
3
votes
1
answer
2k
views
Encrypt SSD or not?
My desktop machine is running Ubuntu 12.04 (and will probably stay with it until the next LTS). I've got a new 120GB SSD on the way as my existing 420GB spinning disk.
If it makes any difference I'll ...
3
votes
1
answer
1k
views
How do I enable Trim on an SSD in a Wubi install under Windows 7?
I've installed Wubi on an SSD on a Windows 7 x64 system. Wubi and Windows 7 reside on the same ntfs formated drive/partition. How does trim work for this configuration? How do I configure it? ...
3
votes
1
answer
3k
views
Does the Intel 320 SSD work out-of-the-box?
I have a ThinkPad T510 with a SATA II, 3 GB interface. I am thinking about a new drive and installing a 12.04 ISO in April. The SSD I am thinking about is an Intel 320 Series 160 GB.
Can anyone tell ...
2
votes
1
answer
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: ...
1
vote
1
answer
698
views
No trim necessary or possible on a Ubuntu 19.10 with ZFS?
I've installed 19.10 with ZFS on one of my laptops because I want to learn the file system and under the impression it's "the file system of the future" (let's not discuss that here). Since I'm new ...
0
votes
1
answer
58
views
How to increase my SSD performance? [duplicate]
I use Transcend 120-GB SSD drive with 1-TB HDD drive.
My machine is DELL Inspiron-5567 (laptop).
Ram 12-GB with 2-GB Swap Memory from the SSD drive.
Now I'm asking sir, can I use Trim Technology?
And ...
0
votes
1
answer
572
views
Run e2fsck automatically to fix all errors during boot with Samsung SSD 850 EVO 500GB
Almost each time that I switch from Windows 10 to Ubuntu 16.10 which I installed on a dual boot laptop Ubuntu wants me to
e2fsck -b 32768 /dev/sdb5
Can I automate this during startup? If yes, how? ...
0
votes
1
answer
83
views
Notebook with two hard disk (SSD and mechanical)
I have a Notebook with two hard disk (one SSD and other mechanical). How can I divide partition? I think swap could go on mechanical one.
Will Ubuntu see that one is SSD and other no? I know SSD has ...
0
votes
1
answer
2k
views
How is trim enabled in Ubuntu 15.04? [duplicate]
Does it work once a week or does it continually trim the system?
I have seen answers for this but they refer to Ubuntu 14.04 but not to Ubuntu 15.04
0
votes
1
answer
267
views
About TRIM command execution
I have some question about TRIM command for SSDs.
First of all, mounting partitions with discard option vs. trim in crontab. I'm aware discard option forces immediate trim after every single file ...
0
votes
1
answer
1k
views
Samsung ssd 840 pro configuration?
I am about to buy an SSD 840 pro from Samsung and I read I needed to do some configuration on ubuntu in order to not reduce its life, and get the optimal performances. What I wanna know is what I need ...
0
votes
1
answer
3k
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 ...
0
votes
1
answer
633
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.
5
votes
0
answers
1k
views
fstrim for SSD in Ubuntu 15.04, --no-model-check no longer necessary?
I have SSD on my computer. before when I use Ubuntu I always do :
sudo nano /etc/cron.weekly/fstrim
And add this command:
exec fstrim-all --no-model-check
The description in this file states that ...
2
votes
0
answers
800
views
Ubuntu 14.04 installed on Samsung 850 Pro 512GB results in data corruption [duplicate]
In short:
Does anybody know why running Ubuntu 14.04.3 LTS on Samsung 850 Pro 512GB drive results in corrupted file system and random files disappearing?
Here is the long story:
In 2013 I got ...
2
votes
0
answers
5k
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 ...
1
vote
0
answers
2k
views
Trim supports for Kington SSD is in default or not? [duplicate]
I have just installed Ubuntu 17.10 on a Kington SSD.
I heard that Ubuntu enables Trim by default, but it is only for some brands like Intel and Samsung while Sandisk and Kingston are not included in ...