Questions tagged [ssd]

A no-moving-parts all-electronic storage device which replaces a spinning hard disk drive.

552 questions
289
votes
10 answers

How to know if a disk is an SSD or an HDD

I want to know whether a disk is a solid-state drive or hard disk. lshw is not installed. I do yum install lshw and it says there is no package named lshw. I do not know which version of http://pkgs.repoforge.org/lshw/ is suitable for my CentOS. I…
user4951
  • 10,329
  • 28
  • 71
  • 92
86
votes
6 answers

How can I safely remove a SATA disk from a running system?

I sometimes need to plug a disk into a disk bay. At other times, I have the very weird setup of connecting a SSD using a SATA-eSATA cable on my laptop while pulling power from a desktop. How can I safely remove the SATA disk from the system? This…
Lekensteyn
  • 20,173
  • 18
  • 71
  • 111
75
votes
6 answers

What NOT to put on an SSD?

I bought an SSD and I am going to set up my desktop system with a completely fresh Linux installation. SSDs are known to be fast, but they have a disadvantage: The number of writes (per block?) is limited. So I am thinking about which data should be…
user41961
  • 753
  • 1
  • 5
  • 5
64
votes
3 answers

Difference between 'sync' and 'async' mount options

What is the difference between sync and async mount options from the end-user point of view? Is file system mounted with one of these options works faster than if mounted with another one? Which option is the default one, if none of them is set? man…
user77422
50
votes
6 answers

Benchmark ssd on linux: How to measure the same things as crystaldiskmark does in windows

I want to benchmark a ssd (possibly with encrypted filesystems) and compare it to benchmarks done by crystaldiskmark on windows. So how can I measure approximately the same things as crystaldiskmark does? For the first row (Seq) I think I could do…
student
  • 17,875
  • 31
  • 103
  • 169
42
votes
6 answers

How to check drive temperature on Linux?

I have used of hdparm -n and smartctl -A but it always seem to be a "per drive" technique as a drive may answer for only one of these tools. So, is there a standard way to get the drive temperature on Linux (HDD or SSD)? If not, what (other) tools…
Totor
  • 19,302
  • 17
  • 75
  • 102
39
votes
4 answers

How to check the life left in SSD or the medium's wear level?

We all know that SSDs have a limited predetermined life span. How do I check in Linux what the current health status of an SSD is? Most Google search results would ask you to look up S.M.A.R.T. information for a percentage field called…
Tankman六四
  • 937
  • 2
  • 10
  • 13
35
votes
5 answers

Is shred bad for erasing SSDs?

Whenever I sold a drive I've zeroed it once with shred from a live environment: sudo shred -vzn 0 /dev/sdX Before I double-checked it wasn't mounted. This is the fastest way to securely erase a drive I know of. Now I've heard it's bad for SSDs. Is…
H3R3T1K
  • 477
  • 1
  • 4
  • 7
35
votes
2 answers

SSD: how often should I do fstrim?

There are different sources and different practices are suggested. I found the following proposals how often one should run fstrim. run weekly by cron run daily by cron run at each boot What is the optimal option and why? Ubuntu 14.04 uses the…
marmistrz
  • 2,732
  • 4
  • 23
  • 30
34
votes
3 answers

Is there a way to find out SSD page size on Linux/Unix? What is "physical block" in fdisk output?

Everywhere I read that internally SSDs are structured in 4K or larger "pages", which grouped in "blocks" of about 128-256 pages (1, 2). SSDs work with these pages and blocks, "they can only erase data at the block level" (thus the block of pages is…
xealits
  • 2,093
  • 3
  • 19
  • 27
31
votes
2 answers

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS to be on the SSD while the data is on the SATA…
Nick
  • 413
  • 1
  • 4
  • 6
25
votes
4 answers

File system for an SSD drive

I always thought that traditional file systems, are geared and optimized for non-ssd drive, where, for instance, data locality is important, and fragmentation is problematic. Is there a file system recommended today for SSD drives? Am I better off…
Elazar Leibovich
  • 3,131
  • 5
  • 27
  • 28
24
votes
3 answers

Trim with LVM and dm-crypt

I tried to setup TRIM with LVM and dm-crypt on ubuntu 13.04 following this tutorial: http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-linux-fstrim-lvm-and-dmcrypt/ See the notes about my configuration and my testing…
student
  • 17,875
  • 31
  • 103
  • 169
24
votes
3 answers

Securely erase SSDs (The whole SSD)

I want to sell my SSD to my friend, it's a 256GB, I have personal stuff on this SSD, so I want to make sure that it will become extremely hard or at least hard to recover the data back. Erasing the whole SSD, as if it were new. The other questions…
Normal
  • 349
  • 2
  • 8
24
votes
3 answers

How can you get any version of Linux to see the 2018 MacBook Pro SSD?

I have tried nvme_load=yes in place of quiet --- with Ubuntu 18.04.1 and Xubuntu 18.04. df -h results in only the system generated mounts and the installation media. The weekly live including firmware image of Debian also fails to discover…
Cheatcode
  • 349
  • 1
  • 2
  • 4
1
2 3
36 37