NVME-DELETE-NS(1)

πŸ¦‹ nvme-delete-ns β€” the deprecated glow-up edition ✨

okay so bestie, we're looking at nvme-delete-ns from the NVMe Manual πŸ’… this one is a lil blast from the past, and honestly it's giving "vintage but still works" πŸŽ€


🌸 NAME 🌸

nvme-delete-ns β€” send the NVMe Namespace Management delete namespace command, and return the result. (deprecated, bestie, don't @ me 😭)


✨ SYNOPSIS ✨

nvme [<global-options>] delete-ns <device>
                        [--namespace-id=<nsid> | -n <nsid>]

πŸ’– DESCRIPTION πŸ’–

So here's the tea β˜•: this is a deprecated alias for nvme-ns-delete(1). It's been kept around for all the scripts out there written against nvme-cli versions older than 3.0 🫢 The options and behavior are identical β€” literally the only thing retained is the top-level command name, no cap.

New scripts should use nvme ns delete instead. Slay, move on, use the new one ✨

Heads up though: this alias prints a deprecation warning on stderr and may be removed in a future release. So like, don't get too attached πŸ’€

For the full option reference, go check out nvme-ns-delete(1) β€” that's where the real party's at πŸŽ‰


πŸ‘‘ GLOBAL OPTIONS πŸ‘‘

These options are defined at the top-level nvme command and are available to this subcommand too, iykyk πŸ’œ

  • --dry-run β€” print the command that would be executed, but don't actually run it. A little peek, no commitment 🫣
  • --no-ioctl-probing β€” disable probing for 64-bit IOCTL support.
  • --no-retries β€” disable retry logic on transient errors. No second chances, periodt πŸ’…
  • -o <fmt>, --output-format=<fmt> β€” set the reporting format to normal, tabular, 'json, or binary. Only one output format at a time, queen β€” pick one πŸ‘‘
  • --output-format-version=<version> β€” select the output format version. Version 1 uses the original field naming, while version 2 (the default) provides more consistent and script-friendly field names. Other versions are rejected, sorry bestie πŸ™ˆ
  • --quiet β€” suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level. Shhh 🀫
  • --set-options=<key=value>[,<key=value>...] β€” set libnvme library options for this invocation. The supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir. Customize away ✨
  • --timeout=<ms> β€” set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). Patient queen energy ⏳
  • -v, --verbose β€” increase the level of detail in the output. May be specified multiple times to further increase verbosity. Spill more tea 🍡

These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file, every single time πŸ’―


🌈 EXAMPLES 🌈

No Examples

...yeah bestie, that's it. Nothing. Nada. The void πŸ•³οΈ


🧚 NVME 🧚

Part of the nvme-user suite 🫢


⭐ SEE ALSO ⭐


and that's the whole page, bestie! mwah πŸ’‹

✨ sign-off szn ✨ β€” this icon was brought to you by the NVMe manual crew, dated 10/30/2026, so mark your calendars πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from