table of contents
OCF_HEARTBEAT_NVMET() | OCF_HEARTBEAT_NVMET() |
NAME¶
ocf_heartbeat_nvmet-namespace - NVMe-oF target export agent
SYNOPSIS¶
nvmet-namespace [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
Manages NVMe-oF namespaces. An NVMe-oF namespace is part of an NVMe-oF target. A namespace must be created after the subsystem. It is similar in concept to the LUN of an iSCSI target.
SUPPORTED PARAMETERS¶
nqn
(unique, required, string, no default)
namespace_id
(unique, optional, integer, default 1)
backing_path
(required, string, no default)
uuid
(unique, required, string, no default)
nguid
(unique, optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a nvmet-namespace resource using the crm(8) shell:
primitive p_nvmet-namespace ocf:heartbeat:nvmet-namespace \
params \
nqn=string \
backing_path=string \
uuid=string \
op monitor timeout="10s" interval="10s" depth="0"
EXAMPLE PCS¶
The following is an example configuration for a nvmet-namespace resource using pcs(8)
pcs resource create p_nvmet-namespace ocf:heartbeat:nvmet-namespace \
nqn=string \
backing_path=string \
uuid=string \
op monitor timeout="10s" interval="10s" OCF_CHECK_LEVEL="0"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)