Disable All Advertising

1. Executable programs or shell commands

Enter a Linux command to search for:

NVME-GET-PROPERTY

Section: NVMe Manual (1)
Updated: 11/11/2021
Index  |  Return to Main Contents
 

NAME

nvme-get-property - Reads and shows the defined NVMe controller property for NVMe over Fabric  

SYNOPSIS

nvme get-property <device> [--offset=<offset> | -o <offset>]
                                [--human-readable | -H ]
 

DESCRIPTION

Reads and shows the defined NVMe controller property for NVMe over Fabric.  

OPTIONS

-o, --offset

The offset of the property. One of CAP=0x0, VS=0x8, CC=0x14, CSTS=0x1c, NSSR=0x20

-H

--human-readable: Show the fields packed in the property
 

EXAMPLES

• The following will run the get-property command with offset 0

# nvme get-property /dev/nvme0 --offset=0x0 --human-readable
 

BUGS

Currently the CAP value is truncated to 32 bits due to a limitation in the ioctl interface.

In a recent enough kernel, the 64 bit value is shown in kernel traces.

• First enable traces by this command

# echo 1 > /sys/kernel/debug/tracing/events/nvme/enable

• Then look for NVMe Fabrics command (0x7f) at trace

/sys/kernel/debug/tracing/trace
 

NVME

Part of the nvme-user suite


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
BUGS
NVME

Return to Main Contents