How to get LUN WWN in Solaris?


 
Thread Tools Search this Thread
Operating Systems Solaris How to get LUN WWN in Solaris?
# 1  
Old 07-19-2013
How to get LUN WWN in Solaris?

How to get LUN WWN (i.e LUN mapped from a storage box say Symmetrix or clariion) in Solaris. fcinfo command does give the Target port wwn but what i'm looking for is the LUN WWN. Any help is appreciated.
# 2  
Old 07-20-2013
Code:
-bash-3.00# for port in `fcinfo hba-port | grep Port | awk '{ print $4 }'`; do
> fcinfo remote-port -ls -p $port
> done

This User Gave Thanks to achenle For This Post:
# 3  
Old 07-21-2013
My recommendation is always use the native tools of the storage vendors,

if you are searching for the WWN LUN, you can use the "inq" tool from emc

for example

Code:
inq.sol64 -no_dots -sym_wwn

the output is

Code:
-----------------------------------------------------------------------------------------------
Symmetrix Device                      Symm Serial #  Device #  WWN               
-----------------------------------------------------------------------------------------------
/dev/rdsk/c6t50000972080A9D5Cd1s2     000192600679   00063     60000970000192600679533030303633
/dev/rdsk/c6t50000972080A9D5Cd2s2     000192600679   00064     60000970000192600679533030303634
/dev/rdsk/c6t50000972080A9D5Cd3s2     000192600679   00065     60000970000192600679533030303635
/dev/rdsk/c6t50000972080A9D5Cd4s2     000192600679   00066     60000970000192600679533030303636
/dev/rdsk/c6t50000972080A9D5Cd5s2     000192600679   00476     60000970000192600679533030343736
/dev/rdsk/c6t50000972080A9D5Cd6s2     000192600679   0047A     60000970000192600679533030343741
/dev/rdsk/c6t50000972080A9D5Cd7s2     000192600679   0047E     60000970000192600679533030343745

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

LUn' unmapped from storage still showing on Solaris 10

How can i remove LUN's from solaris 10 those are unmapped from SAN? from storage side i got confirmation that they removed lun. but in my solaris box still it's visible. i tried below. root@globalares2.example.com #luxadm -e offline /dev/rdsk/c2t600D02310007D16C42FF09E24B5B8255d0s2... (7 Replies)
Discussion started by: bentech4u
7 Replies

2. Solaris

Solaris 10, adding new LUN from SAN storage

Hello to all, Actually, currently on my Solaris box, I've a LUN (5TB space) from a EMC storage which is working fine, and a partition with ZFS filesystem is created for that LUN. as further you'll see in the logs, the "c4t6006016053802E00E6A9196B6506E211d0s2" is the current configured LUN in the... (4 Replies)
Discussion started by: Anti_Evil
4 Replies

3. Solaris

Problem with Solaris LUN and New FS

Hi All, I'm using Solaris server, SunOS 5.10 Generic_144488-08 sun4u sparc SUNW, SPARC-Enterprise. There is a newly created LUN of 250GB (EMC). I've scanned the system and able to see the new LUN. For example: 103. emcpower19a <DGC-VRAID-0430 cyl 48638 alt 2 hd 256 sec 16>... (4 Replies)
Discussion started by: superHonda123
4 Replies

4. Solaris

new attached lun in solaris 10

hi, what are the steps to detect and configure a new attached lun in Solaris 10. Is there any difference between cfgadm and luxadm command ? rgds, snjksh (5 Replies)
Discussion started by: snjksh
5 Replies

5. Solaris

Incorrect fabric WWN and path_to_inst Solaris 9

Hi, Over a period of time we gradually migrated all LUN's from our HP EVA array over to our EMC array. From the server it would appear some files require a tidy up and was wondering what the impact it would have if changes were to be made to the fabric_WWN_map and path_to_inst files and if... (0 Replies)
Discussion started by: jamba1
0 Replies

6. Solaris

Find LUN with WWN

Hello all, I need find in my OS (Sun10) on LUN 1Tb with WWN 6005-08b4-0010-7137-0000-e000-0076-0000 (HBA) How do it?, Thanks, (3 Replies)
Discussion started by: aav1307
3 Replies

7. Solaris

Set up iscsi LUN on solaris 9?

Hi, I need to set up iscsi LUN on Solaris 9. I've done it on Solaris 10 with iscsiadm. How do you do it on Solaris 9 though? Currently using Solaris 9 update 2. Your help is appreciated. Thanks, Sparcman (6 Replies)
Discussion started by: sparcman
6 Replies

8. Solaris

Largest LUN size in Solaris 10

What is the largest possible LUN size that can be presented to Solaris 10. I've been googling a lot about this. The new EFI lablels (an alternative to VTOC) supports LUNs greater than 2TB. I need to know the upper limit. please help me find it. (4 Replies)
Discussion started by: pingmeback
4 Replies

9. Solaris

LUN allocation in solaris server

hi all can anyone tell me how to track a new attached LUN in a solaris server?? (3 Replies)
Discussion started by: raynu.sharma
3 Replies

10. Solaris

Solaris 9 or 10 LUN Limitations

Is there a limit to the number of LUNS that can be concatenated using Solaris Volume manager with Soft partitions? I have worked with some AIX admins in the past and there was such a limitation therefore limiting the size the filesystem could grow to. Is there such a limitation in Solaris 9... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies
Login or Register to Ask a Question