Use this to understand SSD wear leveling.
Wear Leveling
Wear leveling spreads writes evenly over all flash blocks in an SSD so no block wears out early. It is done by the SSD controller and is why SSDs report a single overall wear percentage.
1. Wear leveling spreads writes over all blocks.
2. Done by the controller — invisible to the host.
3. Free space helps (overprovisioning).
4. Wear indicator shows remaining life.
5. Replace near end of life.
writes → controller spreads → even wear
Context & applicabilityCommon mistakes · platform/version boundaries
- Filling SSDs to 100 %, leaving little room for wear levelling and garbage collection.
- Disabling TRIM.
- Running write-heavy jobs on drives near their rated endurance.
- Ignoring SMART wear indicators until the drive goes read-only.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Spreads writes over all blocks.
- Done by controller.
- Shown as one wear %.
nvme smart-log /dev/nvme0 | grep percentage_used— wear levelsmartctl -A /dev/sdX | grep -i wear— SATA wear leveling countvendor tool— block wear spread
ReferenceHow it works1 section · depth on demand
Types
- Dynamic wear leveling spreads new writes over free blocks.
- Static wear leveling also moves rarely changed data so its blocks can be reused.
It is done by the SSD controller and is invisible to the OS. Check remaining life with SMART: Percentage Used (NVMe), Media_Wearout_Indicator or Wear_Leveling_Count (SATA, vendor-specific).
ReferenceImportant terms & boundaries2 sections · depth on demand
Why it matters
Without wear levelling, frequently rewritten blocks (logs, metadata) would wear out quickly while others stay unused. Static wear levelling also moves rarely changed data so its blocks can share the wear. The drive reports remaining life through SMART (Percentage Used on NVMe, Media_Wearout_Indicator / Wear_Leveling_Count on SATA).
In depth
Wear leveling spreads program/erase cycles evenly over all blocks so no block wears out early. Dynamic wear leveling places new writes on the least-worn free blocks; static wear leveling also moves cold (rarely changed) data off low-wear blocks so those blocks can take writes too.
The result is that endurance applies to the drive as a whole: a drive rated 7 PB written can absorb that total regardless of which logical blocks the host writes. Track it with percentage_used (NVMe) or attribute 177/231/233 (SATA, vendor-specific).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Physical Storage Media → SSD → Wear Leveling. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://nvmexpress.org/specifications/ · confidence 94%