NVME-VIRT-MGMT(1)

πŸ“¦ version 3.2, in arch rolling

πŸ’– 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 Resources 1h: VI Resources. pick your resource vibe 🌈
  • -a <act>, --act=<act> β€” Action(ACT): [1,7,8,9] 1h: Primary Flexible 7h: Secondary Offline 8h: Secondary Assign 9h: 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 to normal, tabular, 'json, or binary. Only one output format may be used at a time. choose ur fighter πŸŽ€
  • --output-format-version=<version> β€” Select the output format version. Version 1 uses the original field naming, while version 2 (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 --quiet cancels any --verbose for the library log level. shhh, but not too shhh 🀫
  • --set-options=<key=value>[,<key=value>...] β€” Set libnvme library options for this invocation. Supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir. key-value cutie behavior πŸ¦‹
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits 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-mgmt to 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