Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

When Adding a New Disk" :

1.grep mpt /sys/class/scsi_host/host?/proc_name

2.echo "- - -" > /sys/class/scsi_host/host0/scan

The three values stand for channel, SCSI target ID, and LUN.

The dashes act as wildcards meaning "rescan everything"

When increasing a Existing Disk :

echo "1" > /sys/block/$DEVICE/device/rescan where $DEVICE is 'sda'

or

echo "1" > /sys/class/scsi_device/2:0:1:0/device/rescan

You might also like