A solid-state drive (SSD) is a data storage device that uses solid-state storage to store persistent data with the intention of providing access in the same manner of a traditional mechanical spinning/magnetic block I/O hard disk drive.

learn more… | top users | synonyms

123
votes
2answers
137k 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 ...
110
votes
13answers
75k 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?
41
votes
5answers
96k 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 ...
40
votes
4answers
18k views

How do I install and use flashcache/bcache to cache HDD to SSD?

I want to know if there is anyone who has tried installing and running their kernel built with flashcache or bcache for SSD caching? How did you manage to do it?
31
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 ...
31
votes
2answers
7k views

Is a 40GB SSD practical to use for ' / '

I was lucky enough to be given a 40 GB SSD as a Christmas gift; and, given the inherent speed of these drives, decided it would be best used as the / partition; but then it occurred to me that this ...
28
votes
3answers
16k views

How to move Ubuntu to an SSD

My current situation is: One hard disk Dual boot Ubuntu 11.04 and Windows 7. Partitions: 100MB Windows System thingy 144GB Main Windows 160GB Ubuntu 4GB Swap 12GB System Restore stuff Now I want ...
23
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 ...
21
votes
4answers
10k 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 ...
20
votes
4answers
2k views

With an SSD, do I need to change my swappiness to increase SSD life?

I encountered this article which includes the following suggestion: Swap and swappiness I kept my swap partition on the old HDD. Swap on the SSD would be faster, but would also shorten the ...
19
votes
1answer
14k views

How is Trim enabled?

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 ...
19
votes
3answers
3k views

What in /home would benefit from being on an SSD?

In Is a 40GB SSD practical to use for ' / ' Jorge describes how he symlinks directories in his /home that would benefit from being on an SSD. The directories he names are ~/.cache ~/.config ...
18
votes
5answers
3k views

Is Seagate's new “FAST Factor Boot” technology compatible with Ubuntu?

I'm looking at buying a new laptop and considering buying one with a hybrid HDD/SSD drive. Specifically I am looking at the new second generation Seagate Momentus XT. For some reviews look here and ...
17
votes
4answers
17k views

How do I check the health of a SSD?

We all know that SSDs have a limited predetermined life span. So the question for me is how do I check in (Ubuntu) Linux what the current health status of my SSD is? And maybe an estimation how long ...
17
votes
1answer
5k views

What are the advantages/disadvantages of different SSD to HDD cacheing options (dm-cache, flashcashe…)?

There appear to be various different technologies available to use an SSD to act as a cache for HHDs. The ones I know of: dm-cache (by Redhat - in the 3.9 Kernel, so it should be in ubuntu 13.10) ...
15
votes
2answers
11k views

How do I check whether partitions on my SSD are properly aligned?

I just installed ubuntu on my new intel SSD. Now I am not sure, whether paritions are properly aligned in respect to my specific SSD. Here's my fdisk output. $ fdisk -l Platte /dev/sda: ...
14
votes
2answers
6k 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 ...
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 ...
12
votes
1answer
4k views

Should I align partitions on an SSD, if so how do I do it at install time?

I just bought a new SSD (OCZ Vertex 2) and plan to do a clean install of Maverick on it (/home is on a separate HDD). I read that it is wise to align SSD partitions. What advantages does it truly ...
11
votes
3answers
20k views

Do I need Intel Smart Response when installing Ubuntu?

With lots of guides and setup variations all over the internet, I find it confusing which is which to really follow. Normally, in Windows 8 my setup would be install everything in the HDD and use ...
11
votes
2answers
24k views

GRUB: “invalid arch independent ELF magic” after install on SSD [duplicate]

I've got a brand new laptop with a 128GB SSD drive. I read that aligning the partitions to match the Erase Block Size of the SSD is important. I followed William Scott's guide SSD Tweaks in Linux and ...
11
votes
3answers
11k views

Should I use btrfs or Ext4 for my SSD?

Should I use btrfs (with discard, compress=lzo and space_cache options) or Ext4 (with discard option) for the SSD for my Ubuntu 11.10 (Oneiric) amd64 desktop root partition of my office machine? ...
10
votes
2answers
15k views

How to combine an SSD boot drive with a HDD data drive? [closed]

I have a SSD with 64 GB and a 6 GB/s 1 Terabyte harddrive. I want to use the SSD only as a boot device and maybe for swap storage. On the 1 Terabyte harddrive I want ot have the main file system. As ...
10
votes
4answers
19k views

Best /etc/fstab setings for boosting SSD/HDD

I know EXT4 is the fastest by 3y already checking test blog posts from different authors But theres also other settings that make SSD faster i found in ...
10
votes
2answers
604 views

What should I know about SSDs that can be used with Ubuntu?

I'm building a new configuration and intend to buy an SSD with it. I recall that the first SSDs were problematic in Linux for some reason (maybe lack of TRIM support?). Is there something to ...
10
votes
3answers
701 views

How can I log my SSD's read performance over time?

I'd like to keep a log over time, perhaps weekly, of my solid state drive's read rate as determined by a tool like System -> Administration -> Disk Utility -> Benchmark: Is there a way to archive ...
10
votes
1answer
1k 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 ...
9
votes
3answers
12k views

Clone internal HDD to new SSD

I recently installed an SSD into my machine. The machine itself is a Lenovo thinkpad W520, and it previously had an internal HDD. I moved the internal HDD into an expansion bay (replacing the CD-ROM), ...
9
votes
3answers
7k 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 ...
8
votes
3answers
2k views

/ on SSD, should I put /var on a HDD?

I've recently just installed ubuntu 14.04 and i'm still very new to linux/ubuntu. I've got a laptop in which i have installed an 120GB SSD and a 750GB HDD. Currently, i have ubuntu installed on the ...
8
votes
4answers
11k views

Put swap on SSD or HDD?

New installation coming up. 120gb SSD for OS and HOME and 1tb HDD for storage. 16gb of ram which means 16gb of swap if I recall correctly. SSD space is too valuable for a swap partition right? If my ...
8
votes
2answers
10k 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 ...
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 ...
7
votes
4answers
2k views

What about the performance enhancement when using an SSD as the main disk?

I'm planning to buy a new PC and I am thinking about using an SSD as the main disk. I'd also use a standard spinning disk and I'd mount it to /home. To the people already using such a setup: does ...
7
votes
3answers
8k 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: ...
7
votes
2answers
4k 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: ...
7
votes
1answer
1k views

Does the system suffer in performance because of full-disk encryption?

I have a netbook that uses an SSD (Corsair Force 3 SSD (5.02)). When installing Ubuntu on it I chose an encrypted file system with EXT4. My question is: Does the file system suffer any performance ...
7
votes
1answer
3k views

How do I symlink certain directories in /home to an SSD?

In Is a 40GB SSD practical to use for ' / ' Jorge describes how he symlinks things in his /home that would benefit from being on an SSD. How is this done? I've figured that I need to do the ...
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 ...
7
votes
8answers
16k views

Dual boot Windows 7 and Ubuntu, SSD + HDD

I am new to linux and Ubuntu and wish to create a system that can boot both Windows 7 (for windows specific applications) and Ubuntu (I wish to become familiar with linux and Ubuntu for work). I have ...
7
votes
1answer
356 views

SSD suddenly extremely slow (50x slower)

I'm using a SSD for about 460GB of data on an Ubuntu 12.04 server. (The drive holds 560GB, so it is about 88% full.) I have had a program which does a lot of random access to the data (no writing), ...
7
votes
1answer
734 views

Very slow copying Ubuntu 12.10, AHCI

I have two disks, SSD (Samsung 830 128GB) and normal HDD (WD 1TB) and Ubuntu 12.10 installed. AHCI enabled in the BIOS. I have a problem with extremely slow copying in all directions ...
6
votes
2answers
3k views

Investigate disk writes further to find out which process writes to my SSD

I try to minimize disk writes to my new SSD system drive. I'm stuck with iostat output: ~ > iostat -d 10 /dev/sdb Linux 2.6.32-44-generic (Pluto) 13.11.2012 _i686_ (2 CPU) Device: ...
6
votes
6answers
3k views

How can I tell linux kernel to completely ignore a disk as if it was not even connected?

Notice Please scroll down for the answer (it has 0 points but it is the correct one). The problem is solved by a patch that will be in kernel 3.12.7 and up; I hope it will back-ported to earlier ...
6
votes
3answers
6k 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 ...
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 ...
5
votes
2answers
1k views

16GB SSD booster on ubuntu

I've bought a Lenovo Thinkpad Edge laptop which has a hybrid 320GB HDD + 16GB SSD, then I've installed Ubuntu 12.04, so now I have dual boot - Ubuntu/Windows7. Everything is fine but the question is ...
5
votes
1answer
3k views

Slow SSD + dm-crypt with Luks encryption in Ubuntu 12.10

I have an 128 GB SSD installed in my laptop (Samsung 840 Pro) on a Sata 3 interface. This laptop also has an i5 3210m Ivy Bridge Intel processor and 8 GB of RAM. I installed Ubuntu 12.10, using the ...
5
votes
1answer
374 views

Is there a way to force a specific file to exist in RAM only?

I like this suggestion of mounting a tmpfs at /var/log in order to reduce disk writes. Is there any way to do something similar for just a single file such as ~/.xsession-errors? My incentive for ...
5
votes
1answer
3k views

Where to install boot loader on a Zenbook Prime?

I cannot figure out where to install the boot loader on my Zenbook UX31A Prime. I have installed Ubuntu many times on normal hard drives, but this is the first SSD and I am struggling. Installed ...