salt.modules.disk

Module for gathering disk information

salt.modules.disk.blkid(device=None)

Return block device attributes: UUID, LABEL, etc. This function only works on systems where blkid is available.

CLI Example:

salt '*' disk.blkid
salt '*' disk.blkid /dev/sda
salt.modules.disk.inodeusage(args=None)

Return inode usage information for volumes mounted on this minion

CLI Example:

salt '*' disk.inodeusage
salt.modules.disk.percent(args=None)

Return partition information for volumes mounted on this minion

CLI Example:

salt '*' disk.percent /var
salt.modules.disk.usage(args=None)

Return usage information for volumes mounted on this minion

CLI Example:

salt '*' disk.usage