Default Linux Rescan SCSI bus to add / remove a SCSI device without rebooting server
For fc host:
Code:
echo "1" > /sys/class/fc_host/host#/issue_lip
For other scsi attached storage:
Code:
echo "- - -" > /sys/class/scsi_host/host#/scan
To add a single device:
Code:
echo "scsi add-single-device " > /proc/scsi/scsi
Replace HBTL and # with actual values as per your setup.
For fc host:
Code:
echo "1" > /sys/class/fc_host/host#/issue_lip
For other scsi attached storage:
Code:
echo "- - -" > /sys/class/scsi_host/host#/scan
To add a single device:
Code:
echo "scsi add-single-device " > /proc/scsi/scsi
Replace HBTL and # with actual values as per your setup.
Comments
Post a Comment