logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ocf_heartbeat_nvmet-subsystem - NVMe-oF target export agent

Author

ClusterLabscontributors(seetheresourceagentsourceforinformationaboutindividualauthors) resource-agents 4.16.0-3ubuntu 06/25/2025 OCF_HEARTBEAT_NVMET(7)

Description

Manages NVMe-oF subsystems. An NVMe-oF subsystem is part of an NVMe-oF target. A subsystem must be created first, before namespace(s) and port(s).

Example Crm Shell

The following is an example configuration for a nvmet-subsystem resource using the crm(8) shell: primitive p_nvmet-subsystem ocf:heartbeat:nvmet-subsystem \ params \ nqn=string \ op monitor timeout="10s" interval="10s" depth="0"

Example Pcs

The following is an example configuration for a nvmet-subsystem resource using pcs(8) pcs resource create p_nvmet-subsystem ocf:heartbeat:nvmet-subsystem \ nqn=string \ op monitor timeout="10s" interval="10s" OCF_CHECK_LEVEL="0"

Name

ocf_heartbeat_nvmet-subsystem - NVMe-oF target export agent

See Also

Supported Actions

This resource agent supports the following actions (operations): 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.

Supported Parameters

nqn The NVMe Qualified Name (NQN) is used to identify the remote NVMe storage target. It is similar to an iSCSI Qualified Name (IQN). While it is a free-form string, you should follow the convention: nqn.2014-08.com.vendor:nvme:nvm-subsystem-sn-12345 (unique, required, string, no default) allowed_initiators Allowed initiators. A space-separated list of initiators allowed to connect to this target. Initiators are identified by their NQN. If the list is empty, any initiator will be allowed to connect. (optional, string, no default) serial The serial of the subsystem. Set it to a random 16 character hex value. Use hexdump -n 8 -e '4/4 "%08x" 1 "\n"' /dev/urandom (optional, string, no default)

Synopsis

nvmet-subsystem [start | stop | status | monitor | meta-data | validate-all]

See Also