---
name: "nvme_lba_status_lbars-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_lba_status_lbars-libnvme3"
---

# nvme\_lba\_status\_lbars-libnvme3(2)

LBA Range Status (LBARS), used with the &struct nvme\_lba\_status\_desc.status field.

## NAME

enum nvme\_lba\_status\_lbars - LBA Range Status (LBARS), used with the &struct nvme\_lba\_status\_desc.status field.

## SYNOPSIS

enum nvme\_lba\_status\_lbars {\
     **NVME\_LBA\_STATUS\_LBARS\_SHIFT** , \
\
     **NVME\_LBA\_STATUS\_LBARS\_MASK** , \
\
     **NVME\_LBA\_STATUS\_LBARS\_MAY\_ERR** , \
\
     **NVME\_LBA\_STATUS\_LBARS\_ERR** , \
\
     **NVME\_LBA\_STATUS\_LBARS\_ALLOCATED** , \
\
     **NVME\_LBA\_STATUS\_LBARS\_WRITE\_UNC**

};

## Constants

- NVME\_LBA\_STATUS\_LBARS\_SHIFT

  Shift amount to get the value of LBARS

- NVME\_LBA\_STATUS\_LBARS\_MASK

  Mask to get the value of LBARS

- NVME\_LBA\_STATUS\_LBARS\_MAY\_ERR

  Each logical block may report Unrecovered Read Error status, be a logical block most recently written by a Write Uncorrectable command, or be read successfully. Used with ATYPE 10h/11h.

- NVME\_LBA\_STATUS\_LBARS\_ERR

  Each logical block may report Unrecovered Read Error status or be a logical block most recently written by a Write Uncorrectable command. Used with ATYPE 10h/11h.

- NVME\_LBA\_STATUS\_LBARS\_ALLOCATED

  One or more of the reported logical blocks are allocated. Used with ATYPE 02h.

- NVME\_LBA\_STATUS\_LBARS\_WRITE\_UNC

  Each logical block was most recently written by a Write Uncorrectable command. Used with ATYPE 10h/11h.
