Disk Enclosures
cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine the serial number of a LUN from EMC CXxxx array?

SOLVED
Go to solution
Jitao Yin_2
Occasional Advisor

How to determine the serial number of a LUN from EMC CXxxx array?

"diskinfo -v" print additional "SCSI conformance level data". For a LUN from symmetrix, the first few numbers are unique for each LUN and can be considered as the "serial numerber". However, for a Clariion LUN, these numbers are the same for each and every LUN from the same array.

Does anyone have a better way of identifying the "serial number" from a Clarrion LUN?

Thanks

Jitao Yin
11 REPLIES
harry d brown jr
Honored Contributor

Re: How to determine the serial number of a LUN from EMC CXxxx array?


What does inq say??

live free or die
harry d brown jr
Live Free or Die
Jitao Yin_2
Occasional Advisor

Re: How to determine the serial number of a LUN from EMC CXxxx array?

There is no symmetrix software installed on this host, so the inq command is not available.

In general, if only Clariion arrays are installed, the EMC software that comes with the array are typically the Navisphere host agent and powerpath. On the HP-UX platform, most people use pvlink anyway, so powerpath is usually not installed.

Thanks

Jitao Yin
harry d brown jr
Honored Contributor

Re: How to determine the serial number of a LUN from EMC CXxxx array?

harry d brown jr
Honored Contributor

Re: How to determine the serial number of a LUN from EMC CXxxx array?

or http://www.magnicomp.com/storsys/examples/emc-clariion/detailed.html

(SYSINFO)

live free or die
harry d brown jr
Live Free or Die
Doug Kratky
Frequent Advisor

Re: How to determine the serial number of a LUN from EMC CXxxx array?


Run the emcgrab script from /pub/emcgrab at ftp.emc.com. You'll see the disks a couple of different ways including in the output of inq that comes with emcgrab.


Doug

TEC-HP
Frequent Advisor

Re: How to determine the serial number of a LUN from EMC CXxxx array?

Hi Jitao

if you have symcli installed, you can use the syminq command. In attach you can find a script which I am working on and far from finished, but perhaps helpfull. Note that it is a "home,garden,kitchen"-script (literal translation from Dutch), Im not a scripting nor whatever wizard
Basicaly:
report per lunid correspondant device files configured in VG and devices files not configured in VG
Will be enlarged in the future with the distribution of the dev-files over the installed HBA's and the number of assisted IOs per HBA (helpfull when you don't have active load balancing yet)
Marc Ahrendt
Super Advisor

Re: How to determine the serial number of a LUN from EMC CXxxx array?

powermt display dev=all | grep "Logical device ID" | uniq

NOTE: assuming you have PowerPath the above command may be what you need
hola
Jitao Yin_2
Occasional Advisor

Re: How to determine the serial number of a LUN from EMC CXxxx array?

Thanks for all the replies. I have assined points for all of you guys, though they are somewhat low.

I guess there is just no simple way to identify the serial number of a Clariion LUN. It looks like powerpath is the simplist way to go. However, not every one use powerpath, especially in HP environments where pvlink is so much familiar to most users.

Hopefully there are other people that have more experience in this regard and post a better way to handle this.

Jitao Yin

Re: How to determine the serial number of a LUN from EMC CXxxx array?

Jitao,
The reason why you are geting the same serial number for all disks may be because there is a setting in Navisphere, that is set for evety wwn attached to the CX and its named: "Unit Serial Number" and it can be set to "Array" (all LUNS are presented with the same serial number) or "LUN" (each LUN is presented with its own serial number).
I'm not sure what impact could have the host if this setting is changed once the disks are in use (change hw path, etc)... but that may be why you're seing that.
Regards,
Cecilia
Jitao Yin_2
Occasional Advisor

Re: How to determine the serial number of a LUN from EMC CXxxx array?

Thanks for the information. Can you tell me in which menu I change that setting? Do I need to set that parameter when binding a LUN?

Thanks

Jitao Yin
Solution

Re: How to determine the serial number of a LUN from EMC CXxxx array?

Jitao,
I would recomend working with EMC if you dont have experience on this, because, as I've told you, I'm not sure of the effects or changing tthis setting on a live system. You can find the settin in the Connectivity Status screen (you access connectivity status by right clicking the array and selectin that option). When you select the WWN of your host and click the "Info" button, it will tell you the current setting. For changing it, you have to click "group edit", select all the active wwn entries of your host, select your host from the drop-down list for "existing host" and change the "unit serial number" to LUN.
Regards,
Cecilia