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

NAME

6       nvme-attach-ns - Send NVMe attach namespace, return result.
7

SYNOPSIS

9       nvme attach-ns <device> [--namespace-id=<nsid> | -n <nsid>]
10                               [--controllers=<ctrl-list,> | -c <ctrl-list,>]
11

DESCRIPTION

13       For the NVMe device given, sends the nvme namespace attach command for
14       the provided namespace identifier, attaching to the provided list of
15       controller identifiers.
16

OPTIONS

18       -n <nsid>, --namespace-id=<nsid>
19           The namespace identifier to attach.
20
21       -c <ctrl-list,>, -controllers=<ctrl-list,>
22           The comma separated list of controller identifiers to attach the
23           namesapce too.
24

EXAMPLES

26           Attach namspace to the controller:
27
28           # nvme attach-ns /dev/nvme1  -n 0x2 -c 0x21
29

NVME

31       Part of the nvme-user suite
32
33
34
35NVMe                              04/24/2020                 NVME-ATTACH-NS(1)
Impressum