NVME-VIRT-MGMT(1)
π nvme-virt-mgmt(1) β fresh from the NVMe Manual π
β¨ NAME β¨
nvme-virt-mgmt β bestie, this is the command that manages flexible resources between a primary and secondary controller. periodt. π
πΈ SYNOPSIS πΈ
nvme [<global-options>] virt-mgmt <device> [--cntlid=<cntlid> | -c <cntlid>]
[--rt=<rt> | -r <rt>] [--act=<act> | -a <act>]
[--nr=<nr> | -n <nr>]
π« DESCRIPTION π«
okay so this command manages flexible resources between a primary and secondary controller, and it returns results. main character energy fr fr β¨
The <device> parameter is mandatory β literally not optional, bestie β and may be either the NVMe character device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1). π«Ά
On success it returns 0; otherwise it returns an error code. no cap. π
π OPTIONS π
-c <cntlid>,--cntlid=<cntlid>β Controller identifier (CNTLID). it's giving "which controller, bestie?" π-r <rt>,--rt=<rt>β Resource Type (RT):[0,1]0h: VQ Resources1h: VI Resources. pick your resource vibe π-a <act>,--act=<act>β Action(ACT):[1,7,8,9]1h: Primary Flexible7h: Secondary Offline8h: Secondary Assign9h: Secondary Online. so many iconic actions π«-n <nr>,--nr=<nr>β Number of controller resources (NR). the count, periodt. π’
π GLOBAL OPTIONS π
The top-level nvme command defines these options, and they're available to this subcommand too. slay π
--dry-runβ Print the command that would be executed, but do not actually execute it. all talk, no action π--no-ioctl-probingβ Disable probing for 64-bit IOCTL support. no probing today, bestie π--no-retriesβ Disable retry logic on transient errors. one shot, one opportunity β¨-o <fmt>,--output-format=<fmt>β Set the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time. choose ur fighter π--output-format-version=<version>β Select the output format version. Version1uses the original field naming, while version2(default) provides more consistent and script-friendly field names. Other versions are rejected. v2 is the default, iykyk π--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. shhh, but not too shhh π€«--set-options=<key=value>[,<key=value>...]β Set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. key-value cutie behavior π¦--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock-watching energy β³-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. more tea, more details π
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. facts are facts β
π EXAMPLES π
- This example has the program issue a
virt-mgmtto manage flexible resources. iconic behavior, honestly π
# nvme virt-mgmt /dev/nvme0 -c 0 -r 1 -a 1 -n 0
π NVME π
Part of the nvme-user suite. periodt. π
mwah π β this page is from source NVMe, dated 10/30/2026. bye bestie, go manage those flexible resources! π«Άβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms