Luxadm display not showing a LUN as expected


 
Thread Tools Search this Thread
Operating Systems Solaris Luxadm display not showing a LUN as expected
# 1  
Old 06-24-2016
Luxadm display not showing a LUN as expected

Hi all, I have the following LUN which is showing OK with its two paths:

Code:
DEVICE PROPERTIES for disk: /dev/rdsk/c23t500507630A3BC579d123s2
  Vendor:               IBM
  Product ID:           2107900
  Revision:             3010
  Serial Num:           75WB0114900
  Unformatted capacity: 30720.000 MBytes
  Write Cache:          Enabled
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0x16
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c23t500507630A3BC579d123s2
  /devices/pci@700/pci@2/pci@0/pci@3/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a3bc579,7b:c,raw
    LUN path port WWN:          500507630a3bc579
    Host controller port WWN:   21000024ff45d3d7
    Path status:                O.K.
  /dev/rdsk/c14t500507630A1BC579d123s2
  /devices/pci@600/pci@1/pci@0/pci@4/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a1bc579,7b:c,raw
    LUN path port WWN:          500507630a1bc579
    Host controller port WWN:   21000024ff45d2bd
    Path status:                O.K.

Now, I have instead this LUN, on the same server, which is a strange state:

Code:
root@MYHOST# luxadm display /dev/rdsk/c14t500507630A1BC579d124s2
DEVICE PROPERTIES for disk: /dev/rdsk/c14t500507630A1BC579d124s2
  Vendor:               IBM
  Product ID:           2107900
  Revision:             3010
  Serial Num:           75WB0116146
  Unformatted capacity: 512000.000 MBytes
  Write Cache:          Enabled
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0x16
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c14t500507630A1BC579d124s2
  /devices/pci@600/pci@1/pci@0/pci@4/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a1bc579,7c:c,raw
    LUN path port WWN:          500507630a1bc579
    Host controller port WWN:   21000024ff45d2bd
    Path status:                O.K.

root@MYHOST# luxadm display /dev/rdsk/c23t500507630A3BC579d124s2
DEVICE PROPERTIES for disk: /dev/rdsk/c23t500507630A3BC579d124s2
  Vendor:               IBM
  Product ID:           2107900
  Revision:             3010
  Serial Num:           75WB0116146
  Unformatted capacity: 512000.000 MBytes
  Write Cache:          Enabled
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0x16
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c23t500507630A3BC579d124s2
  /devices/pci@700/pci@2/pci@0/pci@3/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a3bc579,7c:c,raw
    LUN path port WWN:          500507630a3bc579
    Host controller port WWN:   21000024ff45d3d7
    Path status:                O.K.

Basically the paths are not aggregated as the LUN above, and I cannot understand why, to be honest. As you can see the Serial Number for that LUN is identical on both paths.
Any help is very welcome, thanks!
--
Diego
# 2  
Old 06-24-2016
Hi Diego,

What does ># uname -a return.

What does the out put of ># echo | format look like for the drive.

Regards

Gull04
# 3  
Old 06-24-2016
Quote:
Originally Posted by gull04
Hi Diego,

What does ># uname -a return.

What does the out put of ># echo | format look like for the drive.

Regards

Gull04
Hi gull04,
here the output:

Code:
uname -a
SunOS es0bzsq5 5.10 Generic_150400-11 sun4v sparc sun4v

Code:
echo|format|grep c14t500507630A1BC579d124
     204. c14t500507630A1BC579d124 <IBM-2107900-3010 cyl 63998 alt 2 hd 64 sec 256>

echo|format|grep c23t500507630A3BC579d124
     502. c23t500507630A3BC579d124 <IBM-2107900-3010 cyl 63998 alt 2 hd 64 sec 256>

Thanks!
# 4  
Old 06-24-2016
Please post entire format output for one disk without grep (working and not working)

Multipath enabled devices will have under the number and device name /scsi_vhci/... while other will have hardware path /pci ... or similar.

Are you sure you presented the LUN on both paths ?
Have in installed additional FC cards in the meantime ?

Does :
Code:
mpathadm list lu

for the specified (no working) disk one path or there is no output for that disk ?

Hope that helps.
Best regards
Peasant.
# 5  
Old 06-24-2016
This is also very useful:

Code:
-bash-3.00# for port in `fcinfo hba-port | grep Port | awk '{ print $4 }'`; do
> fcinfo remote-port -ls -p $port
> done

That will show you the targets and LUNs each HBA initiator port on your server can access.
# 6  
Old 06-24-2016
Quote:
Originally Posted by Peasant
Please post entire format output for one disk without grep (working and not working)

Multipath enabled devices will have under the number and device name /scsi_vhci/... while other will have hardware path /pci ... or similar.
Hi Peasant, here the output you asked:

Code:
working LUN
 501. c23t500507630A3BC579d123 <IBM-2107900-.166 cyl 3838 alt 2 hd 64 sec 256>
          /pci@700/pci@2/pci@0/pci@3/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a3bc579,7b
 203. c14t500507630A1BC579d123 <IBM-2107900-.166 cyl 3838 alt 2 hd 64 sec 256>
          /pci@600/pci@1/pci@0/pci@4/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a1bc579,7b

not working LUN
   204. c14t500507630A1BC579d124 <IBM-2107900-3010 cyl 63998 alt 2 hd 64 sec 256>
          /pci@600/pci@1/pci@0/pci@4/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a1bc579,7c
   502. c23t500507630A3BC579d124 <IBM-2107900-3010 cyl 63998 alt 2 hd 64 sec 256>
          /pci@700/pci@2/pci@0/pci@3/pci@0/pci@2/SUNW,qlc@0,1/fp@0,0/ssd@w500507630a3bc579,7c

The path are physical, as multipathing is done using Veritas software on those controllers.

Quote:
Originally Posted by Peasant
Are you sure you presented the LUN on both paths ?
Have in installed additional FC cards in the meantime ?
Yes, as I can enquiry them via luxadm. No additional FC cards added in the meantime

Quote:
Originally Posted by Peasant
Does :
Code:
mpathadm list lu

for the specified (no working) disk one path or there is no output for that disk ?

Hope that helps.
Best regards
Peasant.
There is not output for none of the disks I listed (both working and not working), as MPXIO is not enabled on those controllers.

Thanks!
# 7  
Old 06-24-2016
Hi Diego,

Just out of curiosity, how many LUNS are on the system all-together including internals if there are any?

Gull04
Login or Register to Ask a Question

Previous Thread | Next Thread

9 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

Issue with luxadm?

Hello, I have Solaris 10 running on one of rack server with dual port FC card. Each port of FC card is connected to two switches respectively. I have been trying to test multipathing functionality with one of FC Storage. While I have two storage controllers , each connected to the two switches... (2 Replies)
Discussion started by: linuxfreaker
2 Replies

3. Solaris

Luxadm displaying incorrect LUN parameter...

Hello, I have Solaris 10 running on one of rack server with dual port FC card. Each port of FC card is connected to two switches respectively. I have been trying to test multipathing functionality with one of FC Storage. While I have two storage controllers , each connected to the two switches... (0 Replies)
Discussion started by: linuxfreaker
0 Replies

4. Solaris

Mpathadm showing no paths to 1 lun, others luns are fine

Hi, I've noticed that mpathadm states that one of our luns has no active paths: /dev/rdsk/c6t60000970000298700009533031324333d0s2 Total Path Count: 4 Operational Path Count: 4 /dev/rdsk/c6t60000970000298700009533031333037d0s2 ... (3 Replies)
Discussion started by: badoshi
3 Replies

5. Solaris

SAN/Solaris: luxadm shows NOT CONNECTED

Hi, I have a question regarding HBA configuration. Here are the commands' output: # cfgadm -al | grep fc c1 fc-fabric connected unconfigured unknown c2 fc connected unconfigured unknown c5 ... (11 Replies)
Discussion started by: aixlover
11 Replies

6. Shell Programming and Scripting

Display Error [: : integer expression expected

i have lunix 5.4 i make script to tack the export from database 11g by oracle user the oracle sheel is /bin/bash when run this script display this error ./daily_xport_prod: line 36: the daily_xport_prod script #! /bin/sh # ORACLE_HOME=/u01/appl/oracle/product/11.2.0/db_1 export... (8 Replies)
Discussion started by: m_salah
8 Replies

7. Solaris

Non-Root mode ... luxadm to show path(s) for Disks

Hi Gurus out there... I am pondering over a situation where I have non-root access (user account), where I am trying to determine paths (including multipaths) on a host. "luxadm display" seems very appropriate, but requires root access. Is there anyway I can get the FC path information? ... (1 Reply)
Discussion started by: verisund
1 Replies

8. Solaris

luxadm probe and vxdisk list don't matchup

I have a new SAN (Fujitsu Eternus 2000) and am trying to setup a veritas cluster on it, however veritas does not see all of the vluns I have exposed to the box. The OS does see them though. I have seen a lot of post about this, but it seems they are about people having just the opposite problem... (0 Replies)
Discussion started by: timothy.edwards
0 Replies

9. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies
Login or Register to Ask a Question