blob: 09c0c7898d47e1d3a5784905991fd6529f53c0a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
nvme-create-ns(1)
=================
NAME
----
nvme-create-ns - Send NVMe Namespace management command to create namespace, returns results.
SYNOPSIS
--------
[verse]
'nvme 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>]
[--csi=<command_set_identifier> | -y <command_set_identifier>]
[--block-size=<block-size> | -b <block-size>]
[--timeout=<timeout> | -t <timeout>]
DESCRIPTION
-----------
For the NVMe device given, sends a namespace management command to create
the namespace with the requested settings. On success, the namespace
identifier assigned by the controller is returned.
The <device> parameter is mandatory and may be either the NVMe character
device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
OPTIONS
-------
-s::
--nsze::
The namespace size.
-c::
--ncap::
The namespace capacity.
-f::
--flbas::
The namespace formatted logical block size setting.
Conflicts with --block-size argument.
-d::
--dps::
The data protection settings.
-m::
--nmic::
Namespace multipath and sharing capabilities.
-a::
--anagrp-id::
ANA Gorup Identifier. If this value is 0h specifies
that the controller determines the value to use
-i <nvmsetid>::
--nvmset-id=<nvmsetid>::
This field specifies the identifier of the NVM Set.
-y <command_set_identifier>::
--csi=<command_set_identifier>::
This field specifies the identifier of command set.
if not issued, NVM Command Set will be selected.
-b::
--block-size::
Target block size the new namespace should be formatted as. Potential FLBAS
values will be values will be scanned and the lowest numbered will be
selected for the create-ns operation. Conflicts with --flbas argument.
EXAMPLES
--------
No examples provided yet.
NVME
----
Part of the nvme-user suite
|