ciphermethod.com

20140821 – Scan SCSI Bus for New Disk

by on Aug.21, 2014, under Linux

# 20140821 scan scsi bus for new disks (RHEL 5) – Jamey Hopkins
# echo 1 > /sys/block/sd?/device/rescan (RHEL 6)
cd /sys/class/scsi_host/
for h in `ls`; do echo $h;[ -f $h/scan ] && echo ‘- – -‘ >$h/scan;done
# use partprobe to throw error for unrecognized disk
partprobe

No comments for this entry yet...

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

But Wait, There's More!

A few highly recommended friends...