Linux Storage Fundamentals

A 13-part series covering disk and linux commands

By Dejan Panovski

Updated on

13 parts

Linux storage concepts arranged around a central disk

A Linux system presents storage in layers. The kernel exposes a disk as a block device, a partition table divides it, a filesystem gives it structure, and a mount point attaches it to the directory tree. This series works through those layers and the commands that inspect and change each one.

Each article stands on its own, and the order below builds from device discovery to partitioning, mounting, and recovery.

What You Will Learn

  • Storage Concepts and Device Discovery - Block devices, partitions, filesystems, mount points, inodes, and file metadata
  • Capacity, Usage, and Health - Free space with df, directory usage with du, and drive health with smartctl
  • Partitions and Filesystems - Creating partitions with fdisk and repairing filesystems with fsck
  • Mounting and Persistent Storage - Mounting and unmounting filesystems, and making mounts persistent in /etc/fstab
  • Advanced Storage Management - Swap files and low-level device copying with dd

Prerequisites

  • Basic familiarity with the Linux command line
  • A user account with sudo privileges for the partitioning and mounting steps

Articles