Skip to content

mount

Use case

Confirm something is mounted at a path - doesn’t check capacity/usage (that’s disk) or which device/fstype is expected there. Counts every partition, including pseudo/virtual filesystems (tmpfs, overlay, network mounts), not just physical disks.

Run cmt available mount to list every currently mounted partition (device, mountpoint, fstype) on this host, to help pick a path.

Configuration

Field Type Meaning
path string required - the mountpoint to look for (e.g. / or /data; on Windows, a drive like C:\)

Output

Item Type Meaning
mount string the configured path (tag)

Example

checks:
  - module: mount
    name: mount_data
    conf:
      path: /data