OCF_HEARTBEAT_LINUXS(7)
π OCF_HEARTBEAT_LINUXS(7) π
okay bestie, pull up a chair, we're reading the ocf_heartbeat_LinuxSCSI page from the OCF resource agents collection (that's the manual section 7, for the record) π
β¨ NAME β¨
ocf_heartbeat_LinuxSCSI β turns SCSI devices on and off through the kernel's SCSI hot-plug subsystem. and yes, she's deprecated π (we'll get to that, don't panic)
β¨ SYNOPSIS β¨
LinuxSCSI [start | stop | status | monitor | meta-data | validate-all]
that's the whole vibe. six actions, pick your fighter π
β¨ DESCRIPTION β¨
deprecation warning, listen up: this agent uses Linux SCSI hot-plug functionality, which has been superseded by SCSI reservations. it is deprecated and may be removed from a future release. check out thescsi2reservationandsfexagents for alternatives. not me warning you twice, but like... π¨
anyway π
this is a resource agent for LinuxSCSI. it manages the availability of a SCSI device from the point of view of the Linux kernel. it makes Linux believe the device has gone away, and it can make it come back again. that's it, that's the whole job β she's giving ghosting-and-then-texting-back energy π»
β¨ SUPPORTED PARAMETERS β¨
scsiβ the SCSI instance to be managed. lowkey the main character here.
(required, string, no default)
ignore_deprecationβ if set totrue, it suppresses the deprecation warning for this agent. basically a "don't @ me" switch π
(optional, boolean, default false)
β¨ SUPPORTED ACTIONS β¨
this resource agent supports the following actions (operations), and yes, every single one has a suggested minimum timeout, we are not skipping a single number fr fr:
startβ starts the resource. suggested minimum timeout:20s.stopβ stops the resource. suggested minimum timeout:20s.methodsβ suggested minimum timeout:5s.statusβ performs a status check. suggested minimum timeout:20s. suggested interval:10s.monitorβ performs a detailed status check. suggested minimum timeout:20s. suggested interval:10s.meta-dataβ retrieves resource agent metadata (internal use only, bestie, don't touch π«Ά). suggested minimum timeout:5s.validate-allβ performs a validation of the resource configuration. suggested minimum timeout:5s.
β¨ EXAMPLE CRM SHELL β¨
here's how you'd configure a LinuxSCSI resource using the crm(8) shell, copied exactly, no cap:
primitive p_LinuxSCSI ocf:heartbeat:LinuxSCSI \
params \
scsi=string \
op monitor depth="0" timeout="20s" interval="10s"
β¨ EXAMPLE PCS β¨
and the same thing but using pcs(8) β¨
pcs resource create p_LinuxSCSI ocf:heartbeat:LinuxSCSI \
scsi=string \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
β¨ SEE ALSO β¨
β¨ AUTHOR β¨
ClusterLabs contributors (see the resource agent source for information about individual authors) π
okay that's the whole page, you ate that π go forth and manage your SCSI devices (or, y'know, migrate to scsi2reservation or sfex, since this one's deprecated β i'm just saying π)
this has been resource-agents UNKNOWN, dated 04/08/2026, signing off π mwah, bye bestie!!
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms