NVME-WDC-DRIVE-RE(1)
π
NVME-WDC-DRIVE-RE(1) β the nvme-wdc-drive-resize page, but make it make sense
okay so real talk, this is page NVME-WDC-DRIVE-RE(1) from the NVMe Manual and it's literally about one thing: yeeting a WDC Resize Vendor Unique Command at a drive. bestie, let's get into it π
β¨ NAME β¨
nvme-wdc-drive-resize β sends the NVMe WDC Resize Vendor Unique Command, and it returns the result. that's the whole vibe. π
π¦ SYNOPSIS π¦
nvme [<global-options>] wdc drive-resize <device> [--size=<sz> | -s <sz>]
πΈ DESCRIPTION πΈ
okay so for the NVMe device you hand it, it sends a Vendor Unique WDC Resize command. iconic, no notes. π
the <device> parameter is mandatory β like, non-negotiable, you gotta give it something β and it can be either:
- the NVMe character device (ex:
/dev/nvme0), or - a namespace block device (ex:
/dev/nvme0n1)
β οΈ heads up bestie: this will only work on WDC devices that actually support this feature. Results for any other device are undefined β so like, don't be out here testing it on your random SSD and then acting surprised, fr fr. π
on success it returns 0, and an error code otherwise. simple as. β¨
π OPTIONS π
-s <sz>,--size=<sz>β the new size (in GB) you want to resize the drive to. that's it, that's the option. π«Ά
π₯ GLOBAL OPTIONS π₯
these are defined at the top-level nvme command and yeah, they're available to this subcommand too. iykyk:
--dry-runβ prints the command that would be executed, but does not actually execute it. window shopping, basically. π--no-ioctl-probingβ disables probing for 64-bit IOCTL support.--no-retriesβ disables the retry logic on transient errors. no second chances, periodt.-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,json, orbinary. only one output format at a time, bestie, pick a lane. π--output-format-version=<version>β selects the output format version. version1uses the original field naming, while version2(the default) gives you more consistent and script-friendly field names. other versions are rejected. π«--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. π§--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). the patience of a saint, honestly. β-v,--verboseβ increases the level of detail in the output. may be specified multiple times to further increase verbosity. louder and louder, love that journey for you. π
alsooo, these options can be set as machine-wide defaults in nvme-cli.conf(5), and a command-line flag always overrides the file. rules are rules. π
π EXAMPLES π
- has the program issue the WDC Resize Vendor Unique Command:
# nvme wdc drive-resize /dev/nvme0n1 --size=100
look at her go π
π NVME π
part of the nvme-user suite. main character energy, honestly. β¨
π§ and that's the whole page! brought to you by the NVMe manual, dated 10/30/2026, page NVME-WDC-DRIVE-RE(1) β go resize responsibly, 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