Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions heartbeat/ZFS
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# Set the variable below to '1' to enable zpool import/export logging.
# This is useful to determine how long these operations take on your system.
# DEBUG=0
DEBUG=0
DEBUGLOG="/var/log/ZFS_cluster_debug.log"

USAGE="usage: $0 {start|stop|status|monitor|validate-all|meta-data}";
Expand Down Expand Up @@ -79,7 +79,7 @@ END
}

zpool_is_imported () {
zpool list -H "$OCF_RESKEY_pool" > /dev/null
zpool list -H "$OCF_RESKEY_pool" > /dev/null 2>/dev/null
}

# Forcibly imports a ZFS pool, mounting all of its auto-mounted filesystems
Expand Down