summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-delete-ns.txt
blob: 04de3a360d680493a50d78341c488af8b329a576 (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
nvme-id-ns(1)
=============

NAME
----
nvme-delete-ns - Send NVMe Namespace Management delete namespace command, return result.

SYNOPSIS
--------
[verse]
'nvme delete-ns' <device> [--namespace-id=<nsid> | -n <nsid>]
			[--output-format=<fmt> | -o <fmt>] [--verbose | -v]
			[--timeout=<timeout> | -t <timeout>]

DESCRIPTION
-----------
For the NVMe device given, sends an nvme namespace management command
to delete the requested namespace and provides the result.

The <device> parameter is mandatory and may be either the NVMe character
device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
The `'--namespace-id'` option is mandatory.

OPTIONS
-------
-n <nsid>::
--namespace-id=<nsid>::
	The namespace identifier to delete.

-o <fmt>::
--output-format=<fmt>::
	Set the reporting format to 'normal', 'json' or 'binary'. Only one
	output format can be used at a time.

-v::
--verbose::
	Increase the information detail in the output.

-t <timeout>::
--timeout=<timeout>::
	Override default timeout value 120,000. In milliseconds.

EXAMPLES
--------
No examples yet.

NVME
----
Part of the nvme-user suite