SCSI commands

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

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.

Be the first to comment!

Leave a Reply