Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Linux Storage

Direct answer

Linux storage covers block devices, partitions, LVM and device-mapper, file systems such as ext4, XFS and Btrfs, multipath, udev naming and fstab mounting — the layers between a disk and a mounted directory.

When to use this

Use this when working with disks, partitions, LVM, file systems and mounts on Linux, or when a disk or mount is missing or full.

First 30 seconds

1. Linux storage stack: block devices → device-mapper (LVM, crypt, multipath) → filesystems → mounts.

2. Use UUIDs/by-id names.

3. udev names devices.

4. fstab for persistence.

5. Kernel log for errors.

Operational verification

device → udev → dm → filesystem → mount

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Linux Storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformLinux Storage · Linux
Key commandlsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS
Scope / prerequisiteUse this when working with disks, partitions, LVM, file systems and mounts on Linux, or when a disk or mount is missing…
Verify · 2Reference · 3
What next?3 suggested next steps
Child topics (this level)10
Catalog command links5
Evidence0
On this pageJump to a specific section
Storage command reference

Primary Commands

Configuration and operational commands for this Topic.

lsblkVerify
lsblk

Display block-device topology, sizes, types, mount relationships and selected device attributes.

Use when: Primary lookup intent: verify. Use lsblk when the lookup goal is to display block-device topology, sizes, types, mount relationships and selected device attributes. Tie the result to the same host, namespace, user identity and time window as the symptom.

Quick note: Output review: healthy and suspicious cues are command-specific interpretation boundaries, not fixed literal output samples. Intent class: verify. Safety class: read_only. Intent describes the primary lookup role; safety remains command-family capability and can be higher than a read-only invocation. lsblk is documented as an operational lookup primitive under Disks & Block Devices. The canonical leaf intentionally represents the command family; options remain distribution/tool-version specific.

Linux · state
blkidReference
blkid

Read block-device signatures such as filesystem type, UUID and label.

Use when: Primary lookup intent: verify. Use blkid when the lookup goal is to read block-device signatures such as filesystem type, UUID and label. Tie the result to the same host, namespace, user identity and time window as the symptom.

Quick note: Output review: healthy and suspicious cues are command-specific interpretation boundaries, not fixed literal output samples. Intent class: verify. Safety class: read_only. Intent describes the primary lookup role; safety remains command-family capability and can be higher than a read-only invocation. blkid is documented as an operational lookup primitive under Disks & Block Devices. The canonical leaf intentionally represents the command family; options remain distribution/tool-version specific.

Linux · state
mdadmReference
mdadm

Inspect, assemble, create and manage Linux MD software RAID arrays.

Use when: Primary lookup intent: configure. Use mdadm when the lookup goal is to inspect, assemble, create and manage Linux MD software RAID arrays. Tie the result to the same host, namespace, user identity and time window as the symptom.

Quick note: Post-change verification for mdadm: Verify array/member state, resync outcome and application-level data integrity before normal writes. Output review: healthy and suspicious cues are command-specific interpretation boundaries, not fixed literal output samples. Intent class: configure. Safety class: disruptive. Intent describes the primary lookup role; safety remains command-family capability and can be higher than a read-only invocation. mdadm is documented as an operational lookup primitive under RAID. The canonical leaf intentionally represents the command family; options remain distribution/tool-version specific.

Linux · configuration
mountReference
mount

Attach a filesystem to the namespace or display currently mounted filesystems.

Use when: Primary lookup intent: configure. Use mount when the lookup goal is to attach a filesystem to the namespace or display currently mounted filesystems. Tie the result to the same host, namespace, user identity and time window as the symptom.

Quick note: Post-change verification for mount: Verify source/type/options and perform fresh read/write or application I/O on the intended mount. Output review: healthy and suspicious cues are command-specific interpretation boundaries, not fixed literal output samples. Intent class: configure. Safety class: changes_state. Intent describes the primary lookup role; safety remains command-family capability and can be higher than a read-only invocation. mount is documented as an operational lookup primitive under Filesystems & Mounting. The canonical leaf intentionally represents the command family; options remain distribution/tool-version specific.

Linux · configuration
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Device names instead of UUIDs in fstab.
  • No monitoring of LVM thin pools or ZFS pools.
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Block Devices

Linux block devices are disks and disk-like devices such as /dev/sda, /dev/nvme0n1 and /dev/mapper/*.

Subtopic udev

udev is the Linux device manager that creates /dev entries and stable symlinks like /dev/disk/by-id and by-uuid when devices appear.

Subtopic LVM

LVM (Logical Volume Manager) groups physical volumes into volume groups and carves them into logical volumes that can be resized, snapshotted or moved online, managed with pvs, vgs and lvs.

Subtopic Multipath

Linux multipath (dm-multipath) combines several paths to the same SAN LUN into one /dev/mapper device with failover and load balancing, configured in /etc/multipath.conf and checked with multipath -ll.

Subtopic device-mapper

Device-mapper is the Linux kernel framework that creates virtual block devices from other devices.

Subtopic fstab

/etc/fstab lists file systems to mount at boot with device, mount point, type, options, dump and fsck order.

Subtopic ext4

ext4 is the long-standing default Linux journaling file system: stable, fast to check and able to grow and shrink offline.

Subtopic XFS

XFS is a high-performance journaling Linux file system and the default on RHEL.

Subtopic Btrfs

Btrfs is a copy-on-write Linux file system with checksums, subvolumes, snapshots, compression and built-in RAID 1/10.

Subtopic Linux Storage Troubleshooting

Troubleshoot Linux storage with lsblk, dmesg and journalctl for I/O errors, df and df -i for space and inodes, mount and fstab, smartctl, iostat for latency, and fsck or xfs_repair on unmounted file systems.

Key points
  • Device names like /dev/sdb can change; use UUIDs or /dev/disk/by-id.
  • df shows space; df -i shows inodes, which can run out first.
  • A wrong fstab entry can stop boot unless nofail is set.
Key checks
  • lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,UUID — devices
  • findmnt — mounts
  • dmesg | grep -i -e 'I/O error' -e sd -e nvme — kernel storage messages
ReferenceHow it works2 sections · depth on demand

How it works

Linux storage is layered: block devices (/dev/sdX, /dev/nvmeXnY) → optional partitions → optional RAID (md) or LVM → device mapper (encryption, multipath) → filesystem → mount point. lsblk shows the whole tree.

Inspecting the stack

lsblk -f
findmnt
pvs ; vgs ; lvs
cat /proc/mdstat
zpool status
ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docLinux Storage current

Authoritative/upstream documentation reviewed for bounded claims in Linux Storage. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/block/index.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Confirmation

Confirm action

Continue?