Start a Conversation

Unsolved

This post is more than 5 years old

1334

September 6th, 2010 09:00

Scan new hardware in Linux environment

Hi ,

After zoning, which command to use for LUNs discovery in a Linux

environment without rebooting the system.

Thanks

Consty

1 Rookie

 • 

20.4K Posts

September 6th, 2010 09:00

echo "1" > /sys/class/fc_host/host0/issue_lip
echo "- - -" > /sys/class/scsi_host/host0/scan

echo "1" > /sys/class/fc_host/host1/issue_lip
echo "- - -" > /sys/class/scsi_host/host1/scan

where host0 and host1 represent your HBA id's

1.3K Posts

September 6th, 2010 10:00

you could also make use of the tools/utlities from the HBA vendor.

88 Posts

September 7th, 2010 13:00

A very handy Linux-based solution xref-ing many other solutions (including rescanning), is: emc93760. Also, the "Linux Host Connectivity" guide and the OS vendor, are other avenues to pursue..

1.3K Posts

September 8th, 2010 17:00

I see only RHEL 5.0 in this list from Five series. What about 5.1 till 5.5? I guess only this link/solution is not updated..

88 Posts

September 8th, 2010 18:00

Hi SKT.. You are absolutely right.. There are items and areas that may not be up to date and alot of links to follow as well. Some of these may help in other ways too, but I will bring it up to the author. I would reach out to the OS vendor or even check the "Linux Host Connectivity guide" - which is more frequently updated, because there are multiple recan steps provided in this document. Hope this helps and thanks for your input.

No Events found!

Top