Reference

nvme-create-ns(1)

Send NVMe Namespace management command to create namespace, returns results. (deprecated)

NAME

nvme-create-ns - Send NVMe Namespace management command to create 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>]

DESCRIPTION

Deprecated alias for nvme-ns-create(1), kept for scripts written against nvme-cli versions older than 3.0. Options and behavior are identical; only the top-level command name is retained.

New scripts should use nvme ns create instead. This alias prints a deprecation warning on stderr and may be removed in a future release.

See nvme-ns-create(1) for the full option reference.

GLOBAL OPTIONS

The following options are defined at the top-level nvme command and are available to this subcommand:

--dry-run

Print the command that would be executed, but do not actually execute it.

--no-ioctl-probing

Disable probing for 64-bit IOCTL support.

--no-retries

Disable retry logic on transient errors.

-o <fmt>, --output-format=<fmt>

Set the reporting format to normal, tabular, 'json, or binary. Only one output format may be used at a time.

--output-format-version=<version>

Select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected.

--quiet

Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level.

--set-options=<key=value>[,<key=value>...]

Set libnvme library options for this invocation. Supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.

--timeout=<ms>

Set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff).

-v, --verbose

Increase the level of detail in the output. May be specified multiple times to further increase verbosity.

These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.

EXAMPLES

No Examples

NVME

Part of the nvme-user suite

SEE ALSO

nvme-ns-create(1)

History

--dry-run since Arch Linux 2026-11-01; --no-ioctl-probing since Arch Linux 2026-11-01; --no-retries since Arch Linux 2026-11-01; --output-format since Debian 13 (Trixie); --output-format-version since Arch Linux 2026-11-01; --quiet since Arch Linux 2026-11-01; --set-options since Arch Linux 2026-11-01; --timeout since Debian 13 (Trixie); --verbose since Debian 13 (Trixie); -o since Debian 13 (Trixie); -v since Debian 13 (Trixie).

--anagrp-id until Debian 13 (Trixie); --azr until Debian 13 (Trixie); --block-size until Debian 13 (Trixie); --csi until Debian 13 (Trixie); --dps until Debian 13 (Trixie); --endg-id until Debian 13 (Trixie); --flbas until Debian 13 (Trixie); --lbstm until Debian 13 (Trixie); --ncap until Debian 13 (Trixie); --ncap-si until Debian 13 (Trixie); --nmic until Debian 13 (Trixie); --nphndls until Debian 13 (Trixie); --nsze until Debian 13 (Trixie); --nsze-si until Debian 13 (Trixie); --nvmset-id until Debian 13 (Trixie); --phndls until Debian 13 (Trixie); --rar until Debian 13 (Trixie); --rnumzrwa until Debian 13 (Trixie); --ror until Debian 13 (Trixie); -C until Debian 13 (Trixie); -O until Debian 13 (Trixie); -S until Debian 13 (Trixie); -a until Debian 13 (Trixie); -b until Debian 13 (Trixie); -c until Debian 13 (Trixie); -d until Debian 13 (Trixie); -e until Debian 13 (Trixie); -f until Debian 13 (Trixie); -i until Debian 13 (Trixie); -l until Debian 13 (Trixie); -m until Debian 13 (Trixie); -n until Debian 13 (Trixie); -p until Debian 13 (Trixie); -r until Debian 13 (Trixie); -s until Debian 13 (Trixie); -t until Debian 13 (Trixie); -u until Debian 13 (Trixie); -y until Debian 13 (Trixie); -z until Debian 13 (Trixie).