There is a script you can use for this that comes with the O/S

/usr/bin/rescan-scsi-bus.sh

If that is missing you could try…

[ "$USER" != "root" ] && echo "You need to be root!" && exit 1
for i in `ls /sys/class/scsi_host`
do
   echo "- - -" > /sys/class/scsi_host/${i}/scan
done

…this will scan ALL adapters for new disks.

Check ls /dev/sd* output for your additional disks.

About troyski

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation