SYNOPSIS
- Filesystem [start | stop | notify | monitor | validate-all | meta-data]
DESCRIPTION
SUPPORTED PARAMETERS
device
- The name of block device for the filesystem, or -U, -L options for mount, or NFS mount specification. (required, string, no default)
directory
- The mount point for the filesystem. (required, string, no default)
fstype
- The optional type of filesystem to be mounted. (required, string, no default)
options
- Any extra options to be given as -o options to mount. For bind mounts, add "bind" here and set fstype to "none". We will do the right thing for options such as "bind,ro". (optional, string, no default)
statusfile_prefix
- The prefix to be used for a status file for resource monitoring with depth 20. If you don't specify this parameter, all status files will be created in a separate directory. (optional, string, default .Filesystem_status/)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
- Starts the resource. Suggested minimum timeout: 60.
stop
- Stops the resource. Suggested minimum timeout: 60.
notify
- Suggested minimum timeout: 60.
monitor
- Performs a detailed status check. Suggested minimum timeout: 40. Suggested interval: 20.
validate-all
- Performs a validation of the resource configuration. Suggested minimum timeout: 5.
meta-data
- Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a Filesystem resource using the crm(8) shell:
-
primitive example_Filesystem ocf:heartbeat:Filesystem \ params \ device=string \ directory=string \ fstype=string \ op monitor depth="0" timeout="40" interval="20"
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)