NVME-CAPACITY-MGMT(1)
π NVME-CAPACITY-MGMT(1) β like, the capacity management girlies
okay so bestie, this is a page from the NVMe Manual and it's about the nvme capacity-mgmt command β she configures, creates and deletes Endurance Groups or NVM Sets and then hands you back the results. buckle up π
β¨ NAME β¨
nvme-capacity-mgmt β sends the capacity management command to configure/create/delete Endurance Groups or NVM Sets, and returns results. that's the whole vibe.
πΈ SYNOPSIS πΈ
nvme [<global-options>] capacity-mgmt <device>
[--operation=<operation> | -O <operation>]
[--element-id=<element-id> | -i <element-id>]
[--cap-lower=<cap-lower> | -l <cap-lower>]
[--cap-upper=<cap-upper> | -u <cap-upper>]
π¦ DESCRIPTION π¦
so for the NVMe device you hand over, this sends a capacity management command to configure/create/delete the Endurance Groups or NVM Sets with the requested operation and element_id. and on success?? if the Operation is Create Endurance group or NVM Set, then CQE CDW0 contains the Created element identifier β otherwise CQE CDW0 is reserved. that's it, that's the tea β
the <device> parameter is mandatory (no skipping, bestie, she's required π₯) and it can be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). pick your fighter π
π OPTIONS π
-O <operation>,--operation=<operation>β the operation the controller is gonna perform. this is the main character of the whole thing π-i <element-id>,--element-id=<element-id>β a value specific to whatever the Operation field is set to. it matches the operation, iykyk.-l <cap-lower>,--cap-lower=<cap-lower>β the least significant 32 bits of the capacity, in bytes, of the Endurance Group or NVM Set to be created. low bits, lowkey important π-u <cap-upper>,--cap-upper=<cap-upper>β the most significant 32 bits of the capacity, in bytes, of the Endurance Group or NVM Set to be created. high bits, highkey important β¨
π GLOBAL OPTIONS π
these bad girls live at the top-level nvme command and are available to this subcommand too. so generous of them π«Ά
--dry-runβ print the command that would be executed, but don't actually execute it. it's giving window shopping ποΈ--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors. one shot, no second chances π-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time, so don't get greedy π--output-format-version=<version>β select the output format version. Version1uses the original field naming, while version2(the default) provides more consistent and script-friendly field names. other versions are rejected β no, not even if you ask nicely π€--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. they literally cannot coexist, it's a whole thing.--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.--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). time is a construct β-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. go off, stack them π
ok and important: these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file. always. no cap. π
π§ EXAMPLES π§
No examples provided yet.
(i know, i know, we're all waiting π the examples will come when they come.)
π NVME π
Part of the nvme-user suite. iconic family, honestly.
so yeah, that's the page π from the NVMe crew β this is the version dated 10/30/2026, and obviously it's filed under NVME-CAPACITY-MGMT(1). go configure something gorgeous for me, bestie πβ¨
π¦ 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