Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1128

March 29th, 2009 21:00

not able to detect LUN's

what all information do we need from Storage Admin to create new disk. the storage is from two clariions, with different LUN ID's. Environment is a Sun Cluster.
Storage was already provisioned before from these array. How to get Host id from the LUN ID's. In powermt output the luns are active and alive but hardware paths are unknown.

341 Posts

March 31st, 2009 00:00

OK I understand what the problem is now, It looks to me that you need to clean-up the PowerPath configuration.

Please see Primus solution emc128873:

mv /etc/powermt.custom /etc/powermt.custom.backup
mv /kernel/drv/emcp.conf /kernel/drv/emcp.conf.backup
touch /kernel/drv/emcp.conf

devfsadm -C
powermt config
powercf -q (This will rebuild the Powerpath logical links)
powermt display dev=all

If the paths are no longer unknown run 'powermt save'


This can all be performed online, let us know how it goes...

341 Posts

March 30th, 2009 03:00

Would you mind posting up the output from powermt display dev=all so we can see exactly what you see...

341 Posts

March 30th, 2009 03:00

I have moved this thread to Open Systems since we are talking about a Sun Cluster...

341 Posts

March 30th, 2009 03:00

Hi HuLk,

Are you using the Leadville HBA driver that is bundled with Solaris10?

If so you can assume that the ctf number of the LUNs will correspond as follows

cXtYdZ
Where X is the instance of the HBA (c1, c2, c3...)
Y is the WWPN of the CLARiiON SP
Z is the Host Lun ID of the LUN assigned to this storage group.

if this does not answer your question can you be more specific?

Thanks

Conor

217 Posts

March 30th, 2009 08:00

[code]
Pseudo name=emcpower79a
CLARiiON ID=xxxxxxxxxxxx76 [DB_Shared]
Logical device ID= [LUN 95]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1e/lpfc@1 c4t50d49s0 SP A1 active alive 0 0
2304 ssm@0/pci@1e/lpfc@1 c4t51d49s0 SP B1 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t50d49s0 SP A0 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t51d49s0 SP B0 active alive 0 0

Pseudo name=emcpower78a
CLARiiON ID=xxxxxxxxxxxx76 [DB_Shared]
Logical device ID= [LUN 99]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1e/lpfc@1 c4t50d48s0 SP A1 active alive 0 0
2304 ssm@0/pci@1e/lpfc@1 c4t51d48s0 SP B1 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t50d48s0 SP A0 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t51d48s0 SP B0 active alive 0 0

Pseudo name=emcpower80a
CLARiiON ID=xxxxxxxxxxxx76 [DB_Shared]
Logical device ID= [LUN 121]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1e/lpfc@1 c4t50d50s0 SP A1 active alive 0 0
2304 ssm@0/pci@1e/lpfc@1 c4t51d50s0 SP B1 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t50d50s0 SP A0 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t51d50s0 SP B0 active alive 0 0

Pseudo name=emcpower81a
CLARiiON ID=xxxxxxxxxxxx76 [DB_Shared]
Logical device ID= [LUN 152]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1e/lpfc@1 c4t50d51s0 SP A1 active alive 0 0
2304 ssm@0/pci@1e/lpfc@1 c4t51d51s0 SP B1 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t50d51s0 SP A0 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t51d51s0 SP B0 active alive 0 0

Pseudo name=emcpower77a
CLARiiON ID=xxxxxxxxxxxx76 [DB_Shared]
Logical device ID= [LUN 140]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1e/lpfc@1 c4t50d33s0 SP A1 active alive 0 0
2304 ssm@0/pci@1e/lpfc@1 c4t51d33s0 SP B1 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t50d33s0 SP A0 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t51d33s0 SP B0 active alive 0 0

Pseudo name=emcpower33a
CLARiiON ID=xxxxxxxxxxxx76 [DB_Shared]
Logical device ID= [LUN 141]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1e/lpfc@1 c4t50d52s0 SP A1 active alive 0 0
2304 ssm@0/pci@1e/lpfc@1 c4t51d52s0 SP B1 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t50d52s0 SP A0 active alive 0 0
2305 ssm@0/pci@1f/lpfc@1 c5t51d52s0 SP B0 active alive 0 0

Pseudo name=emcpower36a
CLARiiON ID=xxxxxxxxxxxx76


Message was edited by:
Mark
Removed Logical device identifiers

Message was edited by:
Julie Gibson to shorten on request from owner

217 Posts

March 30th, 2009 08:00

but how to get the Z value. I have only LUN ID with me.

217 Posts

March 31st, 2009 10:00

I have opened a SR for this issues and I am flowing up the upgrades in powerpath and firm wares.

but can you tell me how can we get host id from LUN id.?

1 Rookie

 • 

20.4K Posts

March 31st, 2009 18:00

if you look in Storage Group, LUNs, far right column will list Host ID.

217 Posts

March 31st, 2009 20:00

dynamox,

Thanks for this info. but only a storage admin can only see this info right. I was asking about a System Admin. who doesnt have access to the array at all. but he can see the luns which we allocate to him.

Is there any way to know host id from using inq or navicli from the host end?

what all commands can he issues from navicli? because we use navicli to bind LUN, create Storage group. Will he able to do that?

What is the difference between the navicli that we use in management station and the navicli in the host?

Thanks
HuLk.

1 Rookie

 • 

20.4K Posts

April 1st, 2009 15:00

since PowerPath gives you the LUN name, you can use this procedure to figure out host id: emc44736

it's the same navicli that you use for your management so if you do not trust your System admin ..you might want to look into using navissecli only. Then you can setup a navisphere account for him where he can only query the array but not make any changes.

217 Posts

April 3rd, 2009 08:00

thank you for this post.

1.3K Posts

April 3rd, 2009 11:00

once you have the hostid then CTD of the LUN can be found too

host id thats where the ctd comes from, convert this number from decimal to octal to get the TD of CTD.
example 45 converted to octal = 55 or t5d5

helped(?)

217 Posts

April 3rd, 2009 22:00

yes. thank you [:)] for this information.
No Events found!

Top