I know the linux command
echo "- - -" > /sys/class/scsi_host/host0/scan
is used to rescan scsi host. But what does "- - -" mean in the command?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
The three values stand for channel, SCSI target ID, and LUN. The dashes act as wildcards meaning "rescan everything"
This is the same command described in Section 7, “Adding a Storage Device or Path” to add a storage device or path. In this case, however, the channel number, SCSI target ID, and LUN values are replaced by wildcards. Any combination of identifiers and wildcards is allowed, allowing you to make the command as specific or broad as needed. This procedure will add LUNs, but not remove them.