External storage on RHEL

Here’s how you can connect and communicate with external storage on RHEL

 

We will be using multipath daemon

 

To list all the LUNs attached to host

multipath -ll 

 

To reload multipath

service multipathd reload

 

To list and check status of the FC cards

systool -c fc_host -v

 

To rescan for new LUNs

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

OR

echo “1” > /sys/class/fc_host/host#/issue_lip

echo “1” > /sys/class/fc_host/host#/issue_lip