Module for running ZFS zpool command
Add the specified vdev to the given pool
CLI Example:
salt '*' zpool.add myzpool /path/to/vdev
Create a new storage pool
CLI Example:
salt '*' zpool.create myzpool /path/to/vdev1 [/path/to/vdev2] [...]
Creates file based virtual devices for a zpool
*vdevs is a list of full paths for mkfile to create
CLI Example:
salt '*' zpool.create_file_vdev 7g /path/to/vdev1 [/path/to/vdev2] [...]
Depending on file size this may take a while to return
Destroys a storage pool
CLI Example:
salt '*' zpool.destroy myzpool
Check if a ZFS storage pool is active
CLI Example:
salt '*' zpool.exists myzpool
Display I/O statistics for the given pools
CLI Example:
salt '*' zpool.iostat
Replaces old device with new device.
CLI Example:
salt '*' zpool.replace myzpool /path/to/vdev1 /path/to/vdev2
Begin a scrub
CLI Example:
salt '*' zpool.scrub myzpool
Return the status of the named zpool
CLI Example:
salt '*' zpool.status
Return a list of all pools in the system with health status and space usage
CLI Example:
salt '*' zpool.zpool_list
Current Salt release: 2014.1.6
Docs for previous releases on salt.rtfd.org.