1NVME-CREATE-NS(1) NVMe Manual NVME-CREATE-NS(1)
2
3
4
6 nvme-create-ns - Send NVMe Namespace management command to create
7 namespace, returns results.
8
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 [--block-size=<block-size> | -b <block-size>]
16
18 For the NVMe device given, sends a namespace management command to
19 create the namespace with the requested settings. On success, the
20 namespace identifier assigned by the controller is returned.
21
22 The <device> parameter is mandatory and may be either the NVMe
23 character device (ex: /dev/nvme0), or a namespace block device (ex:
24 /dev/nvme0n1).
25
27 -s, --nsze
28 The namespace size.
29
30 -c, --ncap
31 The namespace capacity.
32
33 -f, --flbas
34 The namespace formatted logical block size setting. Conflicts with
35 --block-size argument.
36
37 -d, --dps
38 The data protection settings.
39
40 -m, --nmic
41 Namespace multipath and sharing capabilities.
42
43 -b, --block-size
44 Target block size the new namespace should be formatted as.
45 Potential FLBAS values will be values will be scanned and the
46 lowest numbered will be selected for the create-ns operation.
47 Conflicts with --flbas argument.
48
50 No examples provided yet.
51
53 Part of the nvme-user suite
54
55
56
57NVMe 04/08/2019 NVME-CREATE-NS(1)