hba scan emc symmetrix

Posted on 2011-09-29
Medium Priority
Last Modified: 2012-05-12

Is lun_scan all the best way to re-scan the hba for new lun with emulex hba on emc symmetrix storage.
Question by:lolaferrari
LVL 68

Accepted Solution

woolmilkporc earned 2000 total points
ID: 36891044

this is what Emulex say:

The Emulex Linux LUN/target scan script enables you to dynamically (without a reboot, driver unload/reload, or HBA reset) discover new targets and LUNs (on new or existing targets) that have come online. This feature is supported via standard Linux mechanisms. The script enables you to automatically discover all new devices.

Basically the lun_scan script runs

echo '- - -' > /sys/class/scsi_host/host<hba-instance>/scan

which is the "classic" way. It's not hardware-specific, but standard Linux.

If you run

/usr/sbin/lpfc/lun_scan all

the script wil determine the single hba instances on its own.

So lun_scan could make your life a bit easier. Why not use it then?



Author Closing Comment

ID: 36921352
many thanks!

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question