OCF_HEARTBEAT_NVMET-NAMESPACE(7)
π NAME π
okay so this page is ocf_heartbeat_nvmet-namespace β the NVMe-oF target export agent, bestie β¨ and it's part of the OCF_HEARTBEAT_NVMET() manual-page fam. periodt.
πΈ SYNOPSIS πΈ
nvmet-namespace [start | stop | status | monitor | meta-data |
validate-all]
π DESCRIPTION π
This agent manages NVMe-oF namespaces, no cap. An NVMe-oF namespace is part of an NVMe-oF target, and it must be created after the subsystem. Conceptually it's giving the same energy as the LUN of an iSCSI target π¦.
π SUPPORTED PARAMETERS π
nqnβ The NVMe Qualified Name (NQN) identifies the remote NVMe storage target. It's similar to an iSCSI Qualified Name (IQN). It's technically a free-form string, but bestie, please follow the convention:nqn.2014-08.com.vendor:nvme:nvm-subsystem-sn-12345β¨ You need to refer here to the NQN of an NVMe Subsystem you created with theNVMeSubsystemresource agent. metadata:(unique, required, string, no default).namespace_idβ The NVMe namespace id (number). metadata:(unique, optional, integer, default 1).backing_pathβ The full path to the block device or file that should be exposed through this namespace. metadata:(required, string, no default).uuidβ The UUID that should be exposed by NVMe. Create it usinguuidgen. This is necessary for the initiators to accept the namespace from the new server after failover π. metadata:(unique, required, string, no default).nguidβ NGUID stands for Namespace Globally Unique Identifier. Seems to be optional; looks like e.g. VMWare ESXi7 uses it to identify namespaces. Useuuidgento create it. metadata:(unique, optional, string, no default).
π₯ SUPPORTED ACTIONS π₯
This resource agent supports the following actions (operations), fr fr:
startβ Starts the resource. Suggested minimum timeout:10s.stopβ Stops the resource. Suggested minimum timeout:10s.statusβ Performs a status check. Suggested minimum timeout:10s. Suggested interval:10s.monitorβ Performs a detailed status check. Suggested minimum timeout:10s. Suggested interval:10s.meta-dataβ Retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s.validate-allβ Performs a validation of the resource configuration. Suggested minimum timeout:10s.
π§ EXAMPLE CRM SHELL π§
Here's an example config for a nvmet-namespace resource using the crm(8) shell β iconic, honestly:
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 π
And here's an example config for a nvmet-namespace resource using pcs(8) β slay π
:
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 π¦
http://clusterlabs.org/ β go look, bestie π«Ά
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors).
mwah π β and that's the footer vibe, bestie: OCF_HEARTBEAT_NVMET(), ClusterLabs contributors (see the resource agent source for individual authors). No date was printed on this page, so we're not making one up π«Ά.
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms