Disk Fragmentation

SSD; less relevant.

Overview

Disk fragmentation in modern systems is largely a non-issue thanks to SSDs eliminating the seek-time penalty that fragmentation used to impose. Where fragmentation still matters is in spinning-disk archive workloads, in database file fragmentation (tablespaces and indexes accumulate fragmentation through delete and update patterns), and in filesystem choice (ZFS, XFS, and ext4 handle fragmentation differently). The discipline is in knowing when to care rather than in blanket defragmentation rituals from the HDD era.

The approach

The practical approach is SSD by default for most workloads (the seek-penalty era is over for primary storage), monitor database file fragmentation through engine-native metrics (Postgres pg_stat tables, MySQL information_schema), plan allocation patterns that pre-allocate large files where possible, choose filesystems against workload (ZFS for snapshots, XFS for large files), and document per-tier storage profiles so the choices are reviewable.

Why this compounds

Disk fragmentation discipline compounds across the storage lifetime. Each correctly-chosen filesystem and allocation pattern preserves performance for years; each monitored database tablespace catches fragmentation before queries slow; the team builds intuition for storage that pays off on every new system.

Disk fragmentation discipline is an operational discipline that pays off across years. Nova AI Ops integrates with storage telemetry, surfaces fragmentation patterns, and supports the team’s storage discipline.