scanning for scsi devices in CentOS 6

 

 

 

Recently I ran into a situation where passing the “- – -” values to iscsi_host/host#/scan didn’t work for me. I was sure that I had run this before on CentOS6, but to no avail I could not find a value in the /host portion.

 

So, this what I discovered! The friendly folks at Red Hat have created a script for dealing with this.

 

Do this:

 

1. yum install sg3_utils
2. run rescan-scsi-bus.sh (they added it to the path 😉 booyah!)

 

Now you should have your drive all discovered and ready for fdisk!

 

Here’s the original link for this info: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/rescan-scsi-bus.html

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s