OCF_HEARTBEAT_STORAG(7)
π OCF_HEARTBEAT_STORAG(7) β like, the storage-mon page but make it make sense π
okay so real talk, this is from section 7 of the manuals (iykyk) and it's literally the ocf_heartbeat_storage-mon page. bestie, we're about to get into it. β¨
πΈ NAME πΈ
ocf_heartbeat_storage-mon β storage I/O health status, no cap π
π¦ SYNOPSIS π¦
storage-mon [start | stop | monitor | meta-data | validate-all]
periodt. those are your whole world, bestie. π
π DESCRIPTION π
okay so this is a System health agent. it checks the storage I/O status of the drives you give it and then updates the #health-storage attribute. the way that works is honestly iconic. π
highkey, usage is highly recommended in combination with the HealthSMART monitoring agent. iykyk. π«Ά
and ngl, it's giving limited β the agent currently supports a maximum of 25 devices per instance. not me being the 26th drive π. keep that in mind fr fr.
π SUPPORTED PARAMETERS π
state_fileβ the location where we store the resource state in. it's unique, optional, string type, and has a default of"/run/resource-agents/storage-mon-RESOURCE_ID.state". slay, it already knows where to put things. πdrivesβ the drive(s) to check, given as a SPACE separated list. enter the full path to the device, e.g."/dev/sda". it's unique, required, string type, and has no default. you gotta tell her which drives, bestie. πio_timeoutβ specify the disk I/O timeout in seconds. minimum1, recommended10(that's the default, queen behavior). it's optional, integer, default10. β±οΈcheck_intervalβ specify the interval between I/O checks in seconds. (only supported with the daemonize option, fyi!) it's optional, integer, default30. π°οΈinject_errorsβ used only for testing! π specify the % of I/O errors to simulate drive failures. it's optional, integer, and has no default. don't be out here injecting errors for fun, that's not the vibe. π¨daemonizeβ specifies to startstorage-monas a daemon and check for devices. it's optional, boolean, defaultfalse. π§
β SUPPORTED ACTIONS β
this resource agent supports the following actions (operations), bestie β memorize the timeouts, they're giving study guide π:
startβ starts the resource. suggested minimum timeout:10s. go, go, go! π₯stopβ stops the resource. suggested minimum timeout:120s. okay, she takes her time. πmonitorβ performs a detailed status check. suggested minimum timeout:120s. suggested interval:30s. the way that she's checking in on you πmeta-dataβ retrieves the resource agent metadata (internal use only). suggested minimum timeout:5s. πvalidate-allβ performs a validation of the resource configuration. suggested minimum timeout:10s. accountability, we love to see it. π«Ά
π EXAMPLE CRM SHELL π
this is literally the example configuration for a storage-mon resource using the crm(8) shell β iconic:
primitive p_storage-mon ocf:heartbeat:storage-mon \
params \
drives=string \
op monitor timeout="120s" interval="30s" start-delay="0s"
πΈ EXAMPLE PCS πΈ
and this one's the example configuration for a storage-mon resource using pcs(8) β ate and left no crumbs:
pcs resource create p_storage-mon ocf:heartbeat:storage-mon \
drives=string \
op monitor timeout="120s" interval="30s" start-delay="0s"
π SEE ALSO π
http://clusterlabs.org/ β go be nosy, bestie. π¦
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). we stan. π
okay bestie that's the whole thing, and for the sign-off: this page goes out to the resource-agents fam, the UNKNOWN version, dated 10/01/2026, and it's the OCF_HEARTBEAT_STORAG(7) page β mwah, periodt. π
β¨π
π¦ 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