EnglishFrenchSpanish

OnWorks favicon

nvme-admin-passthru - Online in the Cloud

Run nvme-admin-passthru in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command nvme-admin-passthru that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


nvme-admin-passthru - Submit an arbitrary admin command, return results

SYNOPSIS


nvme-admin-passthru <device> [--opcode=<opcode> | -o <opcode>]
[--flags=<flags> | -f <flags>] [-rsvd=<rsvd> | -R <rsvd>]
[--namespace-id=<nsid>] [--cdw2=<cdw2>] [--cdw3=<cdw3>]
[--cdw10=<cdw10>] [--cdw11=<cdw11>] [--cdw12=<cdw12>]
[--cdw13=<cdw13>] [--cdw14=<cdw14>] [--cdw15=<cdw15>]
[--data-len=<data-len> | -l <data-len>]
[--metadata-len=<len> | -m <len>]
[--input-file=<file> | -f <file>]
[--read | -r ] [--write | -w]
[--timeout=<to> | -t <to>]
[--show-command | --dry-run | -s]
[--raw-binary | -b]

DESCRIPTION


Submits an arbitrary NVMe admin command and returns the applicable results. This may be
the simply the commands result and status, or may also include a buffer if the command
returns one. This command does no interpretation of the opcodes or options.

The <device> parameter is mandatory and may be either the NVMe character device (ex:
/dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).

On success, the returned structure (if applicable) may be returned in one of several ways
depending on the option flags; the structure may printed by the program as a hex dump, or
may be returned as a raw buffer printed to stdout for another program to parse.

OPTIONS


-o <opcode>, --opcode=<opcode>
The NVMe opcode to send to the device in the command

-f <flags>, --flags=<flags>
The NVMe command flags to send to the device in the command

-R <rsvd>, --rsvd=<rsvd>
The value for the reserved field in the command.

-n <nsid>, --namespace-id=<nsid>
The value for the ns-id in the command.

--cdw[2-3,10-15]=<cdw>
Specifies the command dword value for that specified entry in the command

-r, --read, -w, --write
Used for the data-direction for the command and required for commands
sending/receiving data. Don’t use both read and write at the same time.

-i <file>, --input-file=<file>
If the command is a data-out (write) command, use this file to fill the buffer sent to
the device. If no file is given, assumed to use STDIN.

-l <data-len>, --data-len=<data-len>
The data length for the buffer used for this command.

-m <data-len>, --metadata-len=<data-len>
The metadata length for the buffer used for this command.

-s, --show-cmd, --dry-run
Do not actually send the command; print out the command that would be sent.

-b, --raw-binary
Print the raw returned buffer to stdout if the command returns a structure.

EXAMPLES


· The following will run the admin command with opcode=6 and cdw10=1, which corresponds
to an identify controller command. This example requires the data-len param be 4096,
which is the size of the returned structure. The -r option is used because it is a
data-in command

# nvme admin-passthru /dev/nvme0 --opcode=06 --data-len=4096 --cdw10=1 -r

· Or if you want to save that structure to a file:

# nvme admin-passthru /dev/nvme0 --opcode=06 --data-len=4096 --cdw10=1 -r -b > id_ns.raw

NVME


Part of the nvme-user suite

Use nvme-admin-passthru online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

  • 1
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 2
    abilint
    abilint
    abilint - validate an abigail ABI
    representation abilint parses the native
    XML representation of an ABI as emitted
    by abidw. Once it has parsed the XML
    represe...
    Run abilint
  • 3
    coresendmsg
    coresendmsg
    coresendmsg - send a CORE API message
    to the core-daemon daemon ...
    Run coresendmsg
  • 4
    core_server
    core_server
    core_server - The primary server for
    SpamBayes. DESCRIPTION: Currently serves
    the web interface only. Plugging in
    listeners for various protocols is TBD.
    This ...
    Run core_server
  • 5
    fwflash
    fwflash
    fwflash - program to flash image file
    to a connected NXT device ...
    Run fwflash
  • 6
    fwts-collect
    fwts-collect
    fwts-collect - collect logs for fwts
    bug reporting. ...
    Run fwts-collect
  • More »

Ad