Scan a Linux server for new drives:
This finds NEW disks that were added.
echo “- – -” > /sys/class/scsi_host/host0/scan
This finds changes to an EXISTING disk (e.g. after expanding a virtual disk)
echo 1 > /sys/bus/scsi/devices/0\:0\:0\:0/rescan (The 0:0:0:0 is the rough equivalent to c0t0d0 or controller:target:disk)
…standby, there’s more to come.
Recent Comments