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.
2,536
questions
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 ...
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?
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 ...
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.
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 ...
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 ...
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 ...
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?
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 ...
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?
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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), ...
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 ...
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 ...
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
~...
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)
...
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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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?
/...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...