UNSOLVED

Consty

updated

16 years ago

C

Consty

2 Intern

•

232 Posts

0

1442

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

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    691

    0

    Posted 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

  • SKT2

    2 Intern

    •

    1340 Posts

    691

    0

    Posted September 6th, 2010 10:00

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

  • ZepHead

    88 Posts

    691

    0

    Posted 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..

  • SKT2

    2 Intern

    •

    1340 Posts

    691

    0

    Posted 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..

  • ZepHead

    88 Posts

    691

    0

    Posted 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.