1NVME-CREATE-NS(1)                 NVMe Manual                NVME-CREATE-NS(1)
2
3
4

NAME

6       nvme-create-ns - Send NVMe Namespace management command to create
7       namespace, returns results.
8

SYNOPSIS

10       nvme create-ns <device> [--nsze=<nsze> | -s <nsze>]
11                               [--ncap=<ncap> | -c <ncap>]
12                               [--flbas=<flbas> | -f <flbas>]
13                               [--dps=<dps> | -d <dps>]
14                               [--nmic=<nmic> | -m <nmic>]
15                               [--anagrp-id=<anagrpid> | -a <anagrpid>]
16                               [--nvmset-id=<nvmsetid> | -i <nvmsetid>]
17                               [--block-size=<block-size> | -b <block-size>]
18                               [--timeout=<timeout> | -t <timeout>]
19       DESCRIPTION
20
21       For the NVMe device given, sends a namespace management command to create
22       the namespace with the requested settings. On success, the namespace
23       identifier assigned by the controller is returned.
24
25       The <device> parameter is mandatory and may be either the NVMe character
26       device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
27
28       OPTIONS
29
30       -s, --nsze
31           The namespace size.
32
33       -c, --ncap
34           The namespace capacity.
35
36       -f, --flbas
37           The namespace formatted logical block size setting. Conflicts with
38           --block-size argument.
39
40       -d, --dps
41           The data protection settings.
42
43       -m, --nmic
44           Namespace multipath and sharing capabilities.
45
46       -a, --anagrp-id
47           ANA Gorup Identifier. If this value is 0h specifies that the
48           controller determines the value to use
49
50       -i <nvmsetid>, --nvmset-id=<nvmsetid>
51           This field specifies the identifier of the NVM Set.
52
53       -b, --block-size
54           Target block size the new namespace should be formatted as.
55           Potential FLBAS values will be values will be scanned and the
56           lowest numbered will be selected for the create-ns operation.
57           Conflicts with --flbas argument.
58

EXAMPLES

60       No examples provided yet.
61

NVME

63       Part of the nvme-user suite
64
65
66
67NVMe                              04/24/2020                 NVME-CREATE-NS(1)
Impressum