Tools

NVMe CLI

The NVMe CLI tool supports Open-Channel SSDs through the lnvm extension. You may use “nvme lnvm” to see supported parameters.

... bring up / teardown ...

liblightnvm

... dependency for the following tools

lnvm-tools

... device conditioning ...

nvm_pblk

... meta-data checking ...

Check meta-data

nvm_pblk mdck /dev/nvme0n1 -b
line0045:
  smeta_nvm_ret: ~
  emeta_nvm_ret: {result: 0x2ff, status: 1}
line0045_smeta:
  header:
    crc: 0x40c70ec4
    identifier: 0x70626c6b
    uuid: [0x0000, 0x0000, 0x0000, 0x0000]
    type: 02
    version: 01
    id: 0045
  crc: 0x9ba7b43b
  prev_id: 0044
  seq_nr: 0291
  window_wr_lun: 00000004
line0045_emeta:
  header:
    crc: 0x0000
    identifier: 0x0000
    uuid: [0x0000, 0x0000, 0x0000, 0x0000]
    type: 00
    version: 00
    id: 0000
  crc: 0x0000
  prev_id: 0000
  seq_nr: 0000
  window_wr_lun: 00000000
  next_id: 0000
  nr_lbas: 0000
line0052:
  smeta_nvm_ret: {result: 0x2ff, status: 1}
  emeta_nvm_ret: {result: 0x2ff, status: 1}
line0052_smeta:
  header:
    crc: 0x0000
    identifier: 0x0000
    uuid: [0x0000, 0x0000, 0x0000, 0x0000]
    type: 00
    version: 00
    id: 0000
  crc: 0x0000
  prev_id: 0000
  seq_nr: 0000
  window_wr_lun: 00000000
line0052_emeta:
  header:
    crc: 0x0000
    identifier: 0x0000
    uuid: [0x0000, 0x0000, 0x0000, 0x0000]
    type: 00
    version: 00
    id: 0000
  crc: 0x0000
  prev_id: 0000
  seq_nr: 0000
  window_wr_lun: 00000000
  next_id: 0000
  nr_lbas: 0000