NVME-NS-DELETE(1)
π nvme-ns-delete β the "bye bitch, delete that namespace" page π
okay so bestie, you're looking at nvme-ns-delete from the NVMe Manual β it's a page in the nvme command's little universe, and it's literally the "send an NVMe Namespace Management delete namespace command, then tell you how it went" page. The whole point is: you point it at a device, you tell it which namespace id, it nukes it and hands you the result. That's the tea. π«
β¨ SYNOPSIS β¨
nvme [<global-options>] ns delete <device>
[--namespace-id=<nsid> | -n <nsid>]
like, that's the whole shape of it. <device> first, then your namespace id flag. slay. π
π¦ DESCRIPTION π¦
okay so for whatever NVMe device you hand it, this thing sends an nvme namespace management command to delete the namespace you asked for, and then provides the result back to you. that's it. that's the whole job. π
the <device> parameter is mandatory β no skipsies β and it can be either:
- the NVMe character device, ex:
/dev/nvme0π - or a namespace block device, ex:
/dev/nvme0n1πΈ
and the --namespace-id option is also mandatory. both. you need both. no cap. π«Ά
π OPTIONS π
-n <nsid>,--namespace-id=<nsid>β the namespace identifier you wanna delete. and here's the iconic part: the broadcast value0xffffffffcan also be given asallor-1. so you got three ways to say "everybody". pick your fighter. β
π GLOBAL OPTIONS π
these ones are defined up at the top-level nvme command, and they're available to this subcommand too, so you get them for free bestie:
--dry-runβ prints the command that would be executed, but doesn't actually execute it. it's giving window shopping. ποΈ--no-ioctl-probingβ disables probing for 64-bit IOCTL support. π§--no-retriesβ kills the retry logic on transient errors. one shot, one opportunity. π-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,json, orbinary. only one output format at a time though, so no greedy behaviour. π--output-format-version=<version>β picks the output format version. version1uses the original field naming, while version2(the default) gives you more consistent and script-friendly field names. any other version? rejected. not even a maybe. π--quietβ suppresses informational messages. errors still get reported though (sorry, you can't hide from those). and heads up:--quietcancels any--verbosefor the library log level. they do not coexist. π--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. the supported keys areforce-4k,mi-probe-enabled,test-base-dir, andtest-sysfs-dir. fancy. π--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock-watching energy. β³-v,--verboseβ increases the level of detail in the output. you can specify it multiple times to go even further into detail mode. main character energy, the more the merrier. π₯
oh and also β these options can be set as machine-wide defaults in nvme-cli.conf(5). but a command-line flag always overrides the file. flags win, every time. periodt. π
π§ EXAMPLES π§
no examples yet. π like, genuinely nothing here. she's mysterious. when examples show up they'll be iconic, but today? today we have vibes only. β¨
π NVME π
part of the nvme-user suite. π«Ά
and that's the page bestie! this one came from the NVMe manual, dated 10/30/2026 β go forth and delete responsibly (or use --dry-run first, ngl that's the move). π¦πΈπ
π¦ 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