1833758 Members
1968 Online
110063 Solutions
New Discussion

ioscan

 
SOLVED
Go to solution
Daniel Fourie
Frequent Advisor

ioscan

Hi

I would like to know how can I get the LUN number from ioscan on the disks.

Regards
Daniel
Knowlage is Power
6 REPLIES 6
Bernhard Mueller
Honored Contributor
Solution

Re: ioscan


Daniel here is a typical example for a VA disk array:
8 times last but one # plus 1 time last #

0/0/8/0/0.2.2.0.0.0.1 LUN1
0/0/8/0/0.2.2.0.0.0.2 LUN2

0/0/8/0/0.2.2.0.0.0.7 LUN7
0/0/8/0/0.2.2.0.0.1.0 LUN8
0/0/8/0/0.2.2.0.0.1.1 LUN9

what HW and HW paths do you have?

Regards
Bernhard
Stefan Farrelly
Honored Contributor

Re: ioscan

do an; ioscan -fknCdisk

and for each /dev/rdsk/cxxxx entry you want the full LUN number for do;

lssf /dev/rdsk/cxxxxx

and it shows output like this;

sdisk card instance 12 SCSI target 3 SCSI LUN 0 section 0 at address 1/10/0/0.1.27.0.0.3.0 /dev/rdsk/cxxxxx
Im from Palmerston North, New Zealand, but somehow ended up in London...
Daniel Fourie
Frequent Advisor

Re: ioscan

This is my HW paths.

How do I know witch LUN is witch in the last path ( 0/6/0/0.1.16.42.0.1.4 )

disk 14 0/6/0/0.1.16.42.0.0.4 sdisk CLAIMED DEVICE HP A6189A
/dev/dsk/c6t0d4 /dev/rdsk/c6t0d4
disk 15 0/6/0/0.1.16.42.0.0.5 sdisk CLAIMED DEVICE HP A6189A
/dev/dsk/c6t0d5 /dev/rdsk/c6t0d5
disk 16 0/6/0/0.1.16.42.0.1.4 sdisk CLAIMED DEVICE HP A6189A
/dev/dsk/c6t1d4 /dev/rdsk/c6t1d4
Knowlage is Power
Daniel Fourie
Frequent Advisor

Re: ioscan

Doint Worry I got it.

Regards
Daniel
Knowlage is Power
Bernhard Mueller
Honored Contributor

Re: ioscan

You have a VA7400 and your list of disks 14, 15, 16 is LUN4, LUN5 and LUN12

Regards,
Bernhard
Caesar_3
Esteemed Contributor

Re: ioscan

Hello!

Why is the disk 16 is lun 12 i think he is 4?

Caesar