salt.modules.scsi

SCSI administration module

salt.modules.scsi.ls_(get_size=True)

List SCSI devices, with details

CLI Examples:

salt '*' scsi.ls
salt '*' scsi.ls get_size=False
get_size : True

Get the size information for scsi devices. This option should be set to False for older OS distributions (RHEL6 and older) due to lack of support for the '-s' option in lsscsi.

New in version 2015.5.10.

salt.modules.scsi.rescan_all(host)

List scsi devices

CLI Example:

salt '*' scsi.rescan_all(0)