SCSI commands
SCSI scan for single device:
echo “c t l” > /sys/class/scsi_host/hosth/scan
The older form of this command,
echo “scsi add-single-device 0 0 0 0” > /proc/scsi/scsi,
is deprecated.
SCSI delete single device:
echo 1 > /sys/class/scsi_device/h:c:t:l/device/delete
The old method
echo “scsi remove-single-device h c t l” > /proc/scsi/scsi
is depreciated.