zfs support.
Assumes FreeBSD
depends: |
|
---|
Add a single device to mirror
CLI Example:
salt '*' zfs.add myzpool /disk2
Creates file based virtual devices for a zpool
*names is a list of full paths for mkfile to create
CLI Example:
salt '*' zfs.create_file_vdevice 7g /disk1 /disk2
Depending on file size this may take a while to return
Returns a list of installed packages
Check if a zfs storage pool is active
Replace a disk in a pool with another disk.
CLI Example:
salt '*' zfs.replace myzpool /disk1 /disk2
Create a simple storage pool
CLI Example:
salt '*' zfs.zpool_create myzpool /disk1 /disk2
Destroys a storage pool
CLI Example:
salt '*' zfs.zpool_destroy myzpool
Detach a device from a storage pool
THIS FUNCTION IS NOT YET IMPLEMENTED
CLI Example:
salt '*' zfs.detach myzpool /disk1
List zpool's size and usage
Return the status of the named zpool
CLI Example:
salt '*' zpool.zpool_status