aboutsummaryrefslogtreecommitdiff

nvme-error-log

Show NVME error log (applying filters)

Usage

nvme-error-log device

Notes

  • Check Makefile for installation
  • Check SCRIPT_PATH=nvme-error-log path for paths

Options

Environment variables can be defined to modify behavior

  • script library: Check documentation for options

Configuration

Example configuration: selecting a device and applying a workaround

declare -A DEV_MATCH=() DEV_FILTER=()
DEV_MATCH[SEGATE_ZP500GM40013_SU6SM003]='.vid == 7089 and (.mn | sub(" +$"; "")) == "Seagate FireCuda 530 ZP500GM30013" and .fr == "SU6SM003"'
DEV_FILTER[SEGATE_ZP500GM40013_SU6SM003]='(.status_code_type == 0 and .status_code == 2) | not'

Dependencies

Executables must be available in PATH

  • script library