NVME-CREATE-NS(1)

πŸ‘‘ NVME-CREATE-NS(1) β€” the girlies' guide to the NVMe Manual ✨

okay so. this is a page from the NVMe Manual, bestie, and it's about nvme-create-ns β€” a command that sends the NVMe Namespace management command to create a namespace and returns results. it's giving legacy. it's giving deprecated. but she still runs, and we respect her πŸ’…


🌸 NAME 🌸

nvme-create-ns β€” sends the NVMe Namespace management command to create a namespace, returns results. (deprecated)


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] create-ns <device> [--nsze=<nsze> | -s <nsze>]
                        [--ncap=<ncap> | -c <ncap>]
                        [--flbas=<flbas> | -f <flbas>]
                        [--dps=<dps> | -d <dps>]
                        [--nmic=<nmic> | -m <nmic>]
                        [--anagrp-id=<anagrpid> | -a <anagrpid>]
                        [--nvmset-id=<nvmsetid> | -i <nvmsetid>]
                        [--endg-id=<endgid> | -e <endgid>]
                        [--csi=<command_set_identifier> | -y <command_set_identifier>]
                        [--lbstm=<lbstm> | -l <lbstm>]
                        [--nphndls=<nphndls> | -n <nphndls>]
                        [--block-size=<block-size> | -b <block-size>]
                        [--nsze-si=<nsze-si> | -S <nsze-si>]
                        [--ncap-si=<ncap-si> | -C <ncap-si>]
                        [--azr | -z]
                        [--rar=<rar> | -r <rar>]
                        [--ror=<ror> | -O <ror>]
                        [--rnumzrwa=<rnumzrwa> | -u <rnumzrwa>]
                        [--phndls=<placement-handle-list,> | -p <placement-handle-list,>]
                        [<global-options>]

look at all those flags. she has range, she has options, she has ✨aura✨ πŸŽ€


πŸ’– DESCRIPTION πŸ’–

okay so real talk. nvme-create-ns is a deprecated alias for nvme-ns-create(1). it's been kept around for scripts that were written against nvme-cli versions older than 3.0. the options? identical. the behavior? identical. the only thing she kept is the top-level command name. that's it. that's the whole legacy package 🫢

if you're writing new scripts, bestie, please β€” use nvme ns create instead. this alias prints a deprecation warning on stderr and may be removed in a future release. so like… she's on borrowed time ngl 😭

for the full option reference, go read nvme-ns-create(1). she has the lore.


✨ GLOBAL OPTIONS ✨

these ones are defined at the top-level nvme command, and they're available to this subcommand too. so they're like the friend group that comes with her πŸ‘‘

  • --dry-run β€” prints the command that would be executed, but doesn't actually execute it. it's the "let me just think about it" of flags πŸ’­
  • --no-ioctl-probing β€” disables probing for 64-bit IOCTL support. minding her own business.
  • --no-retries β€” disables retry logic on transient errors. one shot, one opportunity 🎯
  • -o <fmt>, --output-format=<fmt> β€” sets the reporting format to normal, tabular, 'json, or binary. only one output format may be used at a time β€” pick your fighter, don't be greedy 🌈
  • --output-format-version=<version> β€” selects the output format version. version 1 uses the original field naming, while version 2 (the default) provides more consistent and script-friendly field names. any other version? rejected. no cap πŸ’€
  • --quiet β€” suppresses informational messages. errors are still reported, and --quiet cancels any --verbose for the library log level. she's silent but she's not that silent 🀫
  • --set-options=<key=value>[,<key=value>...] β€” sets libnvme library options for this invocation. supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir. very "here's my settings, don't ask" of her πŸŽ€
  • --timeout=<ms> β€” sets the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). she will wait for you forever, literally πŸ•°οΈ
  • -v, --verbose β€” increases the level of detail in the output. may be specified multiple times to further increase verbosity. stack her like a tower, queen πŸ‘‘
πŸ’‘ also: these options can be set as machine-wide defaults in nvme-cli.conf(5). and a command-line flag always overrides the file. flag supremacy, periodt.

πŸ“ EXAMPLES πŸ“

No Examples 😭

(it's fine. it's fine. we're creative. we can figure it out.)


🧚 NVME 🧚

Part of the nvme-user suite πŸ’œ


πŸŽ€ SEE ALSO πŸŽ€

  • nvme-ns-create(1) β€” the main character. go there. she has the full option reference πŸ‘‘

and that's the whole page, bestie!! πŸ¦‹ this fine piece of documentation lives in the NVMe manual, dated 10/30/2026 β€” screenshot it, pin it, frame it, she's iconic. βœ¨πŸ’…

now go run nvme ns create instead, i'm begging you πŸ™ˆπŸ«Ά

πŸ“¦ where this page comes from