NVME-FEAT-VOLATILE(1)

πŸ“¦ version 3.2, in arch rolling

πŸ’… nvme-feat-volatile-wc β€” from the NVMe Manual ✨

okay bestie, this is the page for nvme-feat-volatile-wc, straight out of the NVMe Manual, and it's literally all about getting and setting the volatile write cache feature. yes, that's the whole vibe. let's go 🫢


✨ NAME ✨

nvme-feat-volatile-wc β€” get and set volatile write cache feature πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] feat volatile-wc <device>
                        [--wce | -w]
                        [--sel=<select> | -S <select>] [--save | -s]

🌸 DESCRIPTION 🌸

Get and set volatile write cache feature. that's it, that's the job, and she does it flawlessly πŸ’…

the <device> parameter is mandatory β€” no vibes-only invocations, she needs an actual device. and it can be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). pick your fighter πŸŽ€

if the setting option (--wce) is specified, the command will update the volatile write cache configuration. if the option is omitted, it will retrieve and display the current configuration β€” so with no --wce you're just peeking, not touching πŸ‘€

on success it returns 0, error code otherwise. so like, 0 = slay, anything else = check yourself 😭

πŸ‘‘ OPTIONS πŸ‘‘

  • -w, --wce β€” Write Cache Enable. if specified, enables the volatile write cache ✨ if omitted when updating, disables the volatile write cache. so the flag is the on-switch, and its absence is the off-switch, no cap.
  • -S <select>, --sel=<select> β€” Select (SEL): this field specifies which value of the attributes to return in the provided data 🧚 here's the whole menu, bestie:
    • 0 β€” current β€” Current
    • 1 β€” default β€” Default
    • 2 β€” saved β€” Saved
    • 3 β€” supported β€” Supported capabilities
  • -s, --save β€” Save the attribute so that it persists through all power states and resets. yes, she'll remember even after the lights go out πŸ’€ permanent main character energy.

🌈 GLOBAL OPTIONS 🌈

these are defined at the top-level nvme command and are available to this subcommand β€” so they're like, the group chat everyone's in 🫢

  • --dry-run β€” print the command that would be executed, but do not actually execute it. all talk, no action, on purpose.
  • --no-ioctl-probing β€” disable probing for 64-bit IOCTL support.
  • --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 β€” pick one, don't be greedy 😌
  • --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 β€” do not try it, she will not budge πŸ™ˆ
  • --quiet β€” suppress informational messages. errors are still reported, and --quiet cancels any --verbose for the library log level. so it literally overrides the yapping.
  • --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. list them out, she handles it ✨
  • --timeout=<ms> β€” set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). patience is a virtue, and also a hex value πŸ’œ
  • -v, --verbose β€” increase the level of detail in the output. may be specified multiple times to further increase verbosity. stack it like your fave serum 🧴
these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file. always. periodt.

πŸ“ EXAMPLES πŸ“

  • has the program issue a feat volatile-wc to get the current configuration β€” the little look-but-don't-touch moment πŸŽ€
# nvme feat volatile-wc /dev/nvme0
  • has the program issue a feat volatile-wc to enable the volatile write cache β€” turning it on and making it stick πŸ”₯
# nvme feat volatile-wc /dev/nvme0 --wce --save

⭐ NVME ⭐

part of the nvme-user suite. iconic, honestly.


and that's the whole page, bestie β€” NVMe, dated 10/30/2026, of the NVME-FEAT-VOLATILE(1) manual. go forth and cache responsibly πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from