NVMe Available Spare
NVMe Available Spare is the normalized percentage of spare capacity remaining in the NVM subsystem.
The SMART / Health Information log reports Available Spare at byte 3 and its threshold at byte 4, each on a 0-to-100 percentage scale. Critical Warning bit 0 indicates that spare capacity has fallen below the reported threshold; equality alone does not satisfy that condition. [2]
Both fields are 1 byte wide, and threshold values 101 to 255 are reserved. Falling below the threshold may produce an asynchronous event completion. Endurance Group Critical Warning Summary bit 0 reports the corresponding condition for one or more Endurance Groups. Linux v7.3 names the bytes avail_spare and spare_thresh. [2] [3]
Relations
- related
- NVMe SMART log, NVMe Percentage Used, NVMe Critical Warning, NVMe Endurance Group, S.M.A.R.T.
Advantages
- The device reports its own threshold, so the host does not have to choose an alarm level for spare capacity. [2]
Limitations
- Available Spare is not filesystem free space or the complement of Percentage Used; the two fields describe different quantities and need not change together. [1, 2]
Citations
- Microsoft: NVME_HEALTH_INFO_LOG, AvailableSpare and AvailableSpareThreshold members
- NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, p. 214: Available Spare and threshold
- Linux v7.3: include/linux/nvme.h, struct nvme_smart_log and Critical Warning masks
Sources & caveats
- nvme-base-2-3-smart is the NVM Express Base Specification 2.3, re-read for Figure 210 on pp. 214-215.
- linux-nvme-h is the Linux v7.3 nvme.h header, read for the avail_spare and spare_thresh members.
- The smart-normalized-value entry links here because both are normalized device-reported scores compared with a device-supplied threshold.