Skip to main content
Lexicon
Lexicon
Linux

Solid-State Drive

Difficulty: Introductory
4 min read
Updated 2026-11-26

In plain English

Plain definition

Think of a filing cabinet that never needs a clerk to walk anywhere. A hard disk is a cabinet whose drawers are reached by a moving arm; an SSD stores the same papers in chips, so nothing has to physically move before a page can be read. You meet SSDs as the system disk in laptops, the boot volume of a server or virtual machine, and the fast tier in a storage plan, and whenever someone says a machine feels slow because of its disk.

A solid-state drive (SSD) is a storage device that uses solid-state memory to hold data permanently. Unlike RAM, what an SSD stores survives a power cut, and unlike a hard disk it has no spinning platter or moving read head. On Linux you can tell whether a disk reports itself as non-rotational with lsblk -d -o NAME,ROTA, and the main upkeep that matters is trimming unused blocks, normally on a weekly schedule rather than continuously.

What an SSD is, technically

NIST defines a solid-state drive as a storage device that uses solid-state memory to store persistent data. The word persistent separates it from main memory: the operating system sees it as a block device, and files and filesystems sit on top of it as they would on any disk. Linux records whether a block device is rotational or non-rotational in /sys/block/<disk>/queue/rotational, and the kernel’s documentation describes that file as the way to tell the two types apart.

Why admins care about trimming

An SSD changes what is worth tuning. There is no seek time to avoid, so the habits built around hard disks, such as keeping related files physically close, matter less. What does matter is how unused space is handled. A filesystem can tell an SSD which blocks it no longer uses, a step called discard or trim, and the fstrim command does this on a mounted filesystem. Its manual page warns that running it frequently, or mounting with -o discard, might reduce the lifetime of poor-quality SSDs, notes that not every device supports a queued trim, so each trim command can slow other work on the disk, and says that once a week is sufficient for most desktop and server systems.

Where it fits in the stack

An SSD sits at the bottom of the storage stack, below the partition table, any volume manager and the filesystem. It is a different thing from RAM: the processor works on what is in memory, and the SSD holds everything that must be there after a restart. Making a volume larger, as in increasing an AWS EBS volume and extending the Linux file system, changes how much space there is, not what kind of device provides it. A fast disk does not cure a full one either: a disk that reports full because it has run out of inodes is a filesystem limit, and the type of drive does not change it.

A worked example: is this disk an SSD?

These commands only read information and change nothing:

lsblk -d -o NAME,ROTA
lsblk -D
cat /sys/block/sda/queue/rotational

lsblk -d (short for --nodeps) lists each whole disk without its partitions or holders, and ROTA is one of the columns lsblk can print; a value of 0 means the kernel treats the disk as non-rotational, which is how an SSD normally reports itself. lsblk -D prints each device’s discarding capabilities (TRIM, UNMAP), so a device that supports trim shows non-zero granularity there. The last command reads the same rotational flag straight from sysfs; replace sda with your own disk name. Virtual disks in a hypervisor or cloud platform report what the platform presents, which may not match the hardware underneath.

The misconception that an SSD never needs attention

An SSD has no moving parts, but that does not make it maintenance-free. Trimming unused blocks is a scheduled job, not a constant one, and more frequent is not better: the fstrim manual page cautions that frequent trimming or mount -o discard can shorten the life of poor-quality devices. An SSD is also not a backup. It stores data persistently, and it can still fail, or have files deleted or overwritten, like any other disk.

See also

  • Block device: how the kernel presents a disk, partition or volume as fixed-size blocks.
  • TRIM (discard): telling a drive which blocks the filesystem no longer uses.
  • fstrim: the command that discards unused blocks on a mounted filesystem.
  • RAM: volatile working memory that loses its contents when power is lost.

Learn more about SSDs on Linux

The fstrim(8) and lsblk(8) manual pages, the kernel’s sysfs-block documentation for the rotational attribute, and the NIST glossary entry for solid-state drive.

Before you rely on an SSD for a workload

Check three things on the machine in question: that the disk reports as non-rotational, that it reports discard support, and that a weekly trim is scheduled by your distribution or by you. All of the checks above read only, so there is nothing to roll back. If a trim job is not running, adding one changes the system, so test it first on a non-production machine and follow your distribution’s documentation for scheduling it.

About this page

Credited to

Dates

Published

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

More from KBY that goes with this term.