Questions tagged [ssd]

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.

Filter by
Sorted by
Tagged with
201 votes
2 answers
231k 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 ...
Uli's user avatar
  • 5,166
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?
Lars Haugseth's user avatar
143 votes
9 answers
347k 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 ...
keiki's user avatar
  • 1,927
137 votes
3 answers
378k views

How can I check the SMART status of a SSD or HDD on current versions of Ubuntu 14.04 through 20.04?

How can I check the SMART status of a drive under 14.04 and beyond? I've seen Checking HD SMART status on a fresh install but it doesn't seem to apply under 14.04 and later.
Elder Geek's user avatar
136 votes
7 answers
219k views

Why are swap partitions discouraged on SSD drives, are they harmful?

I often read that one should not place swap partitions on a SSD drive, as this may harm the device. Is this true? Can you please explain the reason to me? Because I otherwise would have thought that ...
Byte Commander's user avatar
  • 107k
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 ...
Lekensteyn's user avatar
  • 174k
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 ...
m.umar's user avatar
  • 835
65 votes
3 answers
100k views

How to check if my Ubuntu is placed on SSD?

I think have installed Ubuntu on SSD but I'm not sure and I want to check this. But I do not know how to?
moonlight's user avatar
  • 653
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 ...
kunal's user avatar
  • 767
55 votes
4 answers
41k 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?
kapad's user avatar
  • 1,062
49 votes
5 answers
71k 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 to ...
Bart van Heukelom's user avatar
37 votes
3 answers
53k 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: 120....
jottr's user avatar
  • 765
37 votes
2 answers
13k 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 ...
David Thomas's user avatar
36 votes
4 answers
54k views

How can I monitor the TBW on my Samsung SSD?

As is common knowledge, SSDs have a limited number of PE (Program-Erase) cycles before the NAND cells die. Therefore, it is very helpful to know how much data has been written to your SSD, in order ...
You'reAGitForNotUsingGit's user avatar
36 votes
7 answers
32k 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 ...
8128's user avatar
  • 28.7k
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 ...
ssanj's user avatar
  • 4,341
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 ...
student's user avatar
  • 2,312
28 votes
4 answers
59k 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 ...
user197088's user avatar
24 votes
4 answers
32k 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), ...
jwir3's user avatar
  • 389
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 ...
Erebus9997's user avatar
23 votes
2 answers
23k views

How to securely wipe files from SSD drive?

When trying to securely wipe SSDs, we have several problems: SSDs wear out after a limited amount of erase cycles SSDs have a controller that dynamically maps LBAs (logical block addresses used by ...
Byte Commander's user avatar
  • 107k
23 votes
4 answers
5k 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 ~...
N.N.'s user avatar
  • 18.2k
23 votes
2 answers
11k 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) ...
Uli's user avatar
  • 5,166
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 ...
Celso's user avatar
  • 432
22 votes
6 answers
46k 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 few 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 ...
Rmano's user avatar
  • 31.9k
22 votes
4 answers
86k views

What SSD optimization are needed on latest Ubuntu version?

I have read of a lot of questions about SSD optimization (How do I optimize the OS for SSDs?, Installing Ubuntu on a SSD, I'm confused about SSD optimization, etc...). Most of those questions seem ...
hg8's user avatar
  • 13.5k
22 votes
2 answers
39k views

How to enable Hardware Encryption on SSDs like Samsung 840 EVO?

Just got Ubuntu 14.04 running on a Zotac Zbox CI320. I want to enable the Samsung 840 hard ware encryption that comes with this hard drive, but I don't know how. Is there anyone that can help me set ...
user312082's user avatar
21 votes
4 answers
27k views

Ubuntu SSD - Was fast, is now extremely slow

This is what I'm getting now, with a Crucial MX300 750GB SSD (with latest firmware [there are no firmware updates yet]). lptp [ blah ]: sudo hdparm -Tt /dev/sda /dev/sda: Timing cached reads: ...
d0c_s4vage's user avatar
21 votes
1 answer
34k views

I need to run a security erase tool on my drive

I downloaded Hirens Boot CD and it just stops and says "No PXE" or similar. So that is obviously a stumbling block and I can't afford to keep downloading on the basis that it may be a bad download. I ...
Mark Giblin's user avatar
21 votes
4 answers
32k views

How to check serial number of NVMe disk?

How to check serial number of NVMe disk? To check serial number for sda and sdb I used: sudo lsblk --raw -o name,type,serial However it does not work for NVMe disks (nvme0n0, nvme0n1 etc). No ...
Hash Doe's user avatar
  • 349
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. ...
Alexander Marcev's user avatar
21 votes
8 answers
44k 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 ...
treystaff's user avatar
  • 311
20 votes
1 answer
80k views

Is it safe to format msftres, msftdata and hidden partitions?

I have an acer V7 which came with a 1TB HDD, 24GB SSD and Windows 8 installed. I have installed Ubuntu onto the SSD and formatted the main partitions of the HDD. However, I also notice 3 other ...
db579's user avatar
  • 454
20 votes
4 answers
85k views

How to install applications to a separate hdd?

I was so good with windows, now I’m feeling like a complete idiot. I have an SSD for ubuntu and want to install the majority of my programs to a separate HDD but I have no clue how. All searches I ...
plaguedoctor's user avatar
20 votes
1 answer
43k views

How would I use tar for full backup and restore with system on SSD and home on HDD?

How would I use tar for full backup and restore with system on SSD and home on HDD? The existing backup and restore answers don't seem to cover the case where root and home are on separate devices
Buildit's user avatar
  • 201
20 votes
1 answer
23k views

Is it still bad to use swap on a modern SSD?

I have a Samsung 960 Pro SSD with Ubuntu 18.04 is it safe to put the swap file on there or would it hurt it in the long run, I heard some people saying that new SSDs don't suffer from that issue ...
H D's user avatar
  • 323
20 votes
5 answers
5k 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 ...
adempewolff's user avatar
  • 11.9k
19 votes
1 answer
96k views

Cloning hard disk partition to smaller SSD on laptop [duplicate]

On my linux laptop, I currently have a 250 gb hd that has a 100gb partition but only 50 gb of it is used. I would like to change to upgrade my system to a 64 gb SSD. I read about Clonezilla and ...
Eric's user avatar
  • 301
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....
Kangarooo's user avatar
  • 5,075
18 votes
2 answers
10k views

Swap (and hibernation) on SSD in 2019?

I was trying to enable hibernate on my laptop, when I came across this post, where enabling hibernation on an SSD disk is discouraged. Then I saw, that that post was four years old. Has anything ...
OZ1SEJ's user avatar
  • 1,235
18 votes
3 answers
25k 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 ...
Allen's user avatar
  • 193
17 votes
3 answers
19k 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 ...
Taerus's user avatar
  • 303
17 votes
4 answers
29k 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? /...
Graham's user avatar
  • 614
17 votes
2 answers
23k views

Cloning Encrypted SSD to larger SSD

I currently have a 128GB SSD. Its using encryption that comes with Ubuntu. What's the best way to clone this to another SSD that's bigger and then expand the partition to be bigger to fit this new ...
RedPacketSecurity's user avatar
17 votes
2 answers
4k views

Should I turn off kernel logging (and how?) if I'm running off an SSD?

I am running Kubuntu 18.04 on a Dell XPS 9370 laptop with no hard disk - just an SSD. Should I turn off kernel logging to reduce the amount of writes to the FLASH memory on the SSD to prolong its ...
B.Tanner's user avatar
  • 2,636
17 votes
3 answers
23k views

Is the default 512 byte physical sector size appropriate for SSD disks under Linux?

GSmartControl and any other command line tool (like fdisk, smartctl, cat /sys/block/sd*/queue/hw_sector_size, cat /sys/block/sd*/queue/physical_block_size) I had used report the same for both of my ...
FedKad's user avatar
  • 10.5k
17 votes
4 answers
20k views

Moving physical drive (SSD) with installed Ubuntu from one machine to another

I haven't found exact answer to my question, so I'm creating this thread. Most of the threads considered transferring data - not moving physical drive. I'm using laptop with installed Ubuntu. I'm ...
Piotr Wittchen's user avatar
16 votes
1 answer
12k views

How do I install 18.04 using full disk encryption with two drives (SSD/HDD)

I have a laptop and wish to do a fresh install with full disk encryption. I would like to have my OS installed on the SSD an,d after installation, move my /home directory to the HDD. Is it possible ...
Andor Kiss's user avatar
15 votes
5 answers
32k views

SSD temperature sensor readout with hddtemp

It seems hddtemp cannot detect the temperature sensor of my SSD (Samsung EVO 840) properly.This is the bash output when running hddtemp: WARNING: Drive /dev/sda doesn't seem to have a temperature ...
a.b.brandl's user avatar
15 votes
2 answers
15k 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 ...
Nikki Kononov's user avatar

1
2 3 4 5
51