SET-DSSD-POWER-ST(1)

πŸ’– NAME πŸ’–

okay bestie, welcome to SET-DSSD-POWER-ST(1) from the NVMe Manual β€” this little icon is nvme-ocp-set-dssd-power-state-feature, aka Set DSSD Power State πŸ’…


✨ SYNOPSIS ✨

nvme [<global-options>] ocp set-dssd-power-state-feature <device>
                        [--power-state=<fmt> | -p <fmt>] [--no-uuid | -n]
                        [--save | -s]

the synopsis also has --no-uuid/-n and --save/-s in the lineup, but the page doesn’t give them their own descriptions β€” no cap, I’m not inventing lore 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so for the NVMe device you give it, the official description says it β€œretrieves OCP DSSD Power state Feature” πŸ‘‘ I’m quoting the page exactly, bestie β€” that’s the wording.

the <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1) 🌸

🚨 real talk: this will only work on OCP compliant devices supporting this feature. Results for any other device are undefined β€” do not test that on a device you love, fr fr πŸ’€

on success it returns 0, error code otherwise 😌


πŸŽ€ OPTIONS πŸŽ€

  • -p <fmt>, --power-state=<fmt> β€” DSSD Power State to set in watts ⚑

🌈 GLOBAL OPTIONS 🌈

the following options are defined at the top-level nvme command and are available to this subcommand β€” main character global energy, iykyk ✨

  • --dry-run β€” Print the command that would be executed, but do not actually execute it.
  • --no-ioctl-probing β€” Disable probing for 64-bit IOCTL support.
  • --no-retries β€” Disable retry logic on transient errors.
  • -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.
  • --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.
  • --quiet β€” Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level.
  • --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.
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff).
  • -v, --verbose β€” Increase the level of detail in the output. May be specified multiple times to further increase verbosity.

these options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file πŸ’–


🌟 EXAMPLES 🌟

  • Has the program issue a set-dssd-power-state-feature command to set DSSD Power State to set in watts. 🫢
# nvme ocp set-dssd-power-state-feature /dev/nvme0 -p <value> -s <value> -n <value>

πŸ‘‘ NVME πŸ‘‘

Part of the nvme-user suite. πŸ’œ


mwah πŸ’‹ β€” footer cameo: NVMe, 10/30/2026, and SET-DSSD-POWER-ST(1) closing the show. bye bestie! ✨

πŸ“¦ where this page comes from