NVME-SNDK-DRIVE-R(1)
πΈ NVME-SNDK-DRIVE-RESIZE πΈ
okay bestie, so this is a page from the NVMe Manual, section 1, and it's literally all about nvme-sndk-drive-resize β yes that's a mouthful, iykyk π
It's the one that sends the NVMe sndk Resize Vendor Unique Command, and then hands you back the result. slay.
β¨ NAME β¨
nvme-sndk-drive-resize β send the NVMe sndk Resize Vendor Unique Command, and return the result. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
nvme [<global-options>] sndk drive-resize <device> [--size=<sz> | -s <sz>]
π DESCRIPTION π
So for the NVMe device you hand it, it sends a Vendor Unique sndk Resize command. no cap, that's the entire plot π«Ά
The <device> parameter is mandatory β like, you cannot skip it, bestie, it's not optional β and it can be either:
- the NVMe character device (ex:
/dev/nvme0), or - a namespace block device (ex:
/dev/nvme0n1).
π important vibe check: this will only work on Sandisk devices that support this feature. results for any other device are undefined β so like, literally don't, unless you're on a Sandisk that supports it. undefined behavior is not the moment, fr fr π
On success it returns 0, and an error code otherwise. simple as that β¨
π§ OPTIONS π§
-s <sz>,--size=<sz>β the new size (in GB) you want to resize the drive to. that's the whole option, she's simple and she serves π
π GLOBAL OPTIONS π
these ones are defined up at the top-level nvme command, but they're available to this subcommand too, so don't act surprised π
--dry-runβ print the command that would be executed, but don't actually execute it. window shopping, basically ποΈ--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors. one shot, no second chances, main character energy π-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time, so pick a lane bestie β--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 β she does not entertain them π--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. so if you want silence, you get silence πΈ--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). she'll wait forever if you ask her to π«Ά-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. stack it, queen π
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 π
- have the program issue the sndk Resize Vendor Unique Command:
# nvme sndk drive-resize /dev/nvme0n1 --size=100
π NVME π
part of the nvme-user suite. iconic, honestly π
β¨ that's the whole page, bestie β¨ this was NVMe's nvme-sndk-drive-resize, dated 10/30/2026 β go forth and resize responsibly, and remember: only on supported Sandisk devices, or the universe gets undefined on you πππ¦
π¦ 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