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                               [--csi=<command_set_identifier> | -y <command_set_identifier>]
18                               [--lbstm=<lbstm> | -l <lbstm>]
19                               [--block-size=<block-size> | -b <block-size>]
20                               [--timeout=<timeout> | -t <timeout>]
21       DESCRIPTION
22
23       For the NVMe device given, sends a namespace management command to create
24       the namespace with the requested settings. On success, the namespace
25       identifier assigned by the controller is returned.
26
27       The <device> parameter is mandatory and may be either the NVMe character
28       device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
29
30       OPTIONS
31
32       -s, --nsze
33           The namespace size.
34
35       -c, --ncap
36           The namespace capacity.
37
38       -f, --flbas
39           The namespace formatted logical block size setting. Conflicts with
40           --block-size argument.
41
42       -d, --dps
43           The data protection settings.
44
45       -m, --nmic
46           Namespace multipath and sharing capabilities.
47
48       -a, --anagrp-id
49           ANA Group Identifier. If this value is 0h specifies that the
50           controller determines the value to use
51
52       -i <nvmsetid>, --nvmset-id=<nvmsetid>
53           This field specifies the identifier of the NVM Set.
54
55       -y <command_set_identifier>, --csi=<command_set_identifier>
56           This field specifies the identifier of command set. if not issued,
57           NVM Command Set will be selected.
58
59       -l <lbstm>, --lbstm=<lbstm>
60           Logical Block Storage Tag Mask for end-to-end protection.
61
62       -b, --block-size
63           Target block size the new namespace should be formatted as.
64           Potential FLBAS values will be values will be scanned and the
65           lowest numbered will be selected for the create-ns operation.
66           Conflicts with --flbas argument.
67

EXAMPLES

69       No examples provided yet.
70

NVME

72       Part of the nvme-user suite
73
74
75
76NVMe                              11/04/2022                 NVME-CREATE-NS(1)
Impressum