HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect the LUN

 
Musa123
Advisor

How to detect the LUN

hi,

My hp-ux box v B.11.31 not install the powerpath, i got 200 M lun from storage team,nt able to detect anyother way to detect the lun..

Thanks in Advance!!!!
10 REPLIES
Torsten.
Acclaimed Contributor

Re: How to detect the LUN

ioscan should show the LUN, if assigned correctly.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Michal Kapalka (mikap)
Honored Contributor

Re: How to detect the LUN

hi,

just follow the advice from Torsten, if your SAN admins, made their work correctly you should be able to see the lun from storage with the command of ioscan.

mikap
saravanan08
Valued Contributor

Re: How to detect the LUN

Hi,

U can check with the following command

ioscan -m dsf

autopath will come with 11.31 by default

example as follows

# ioscan -m dsf /dev/disk/disk67
Persistent DSF Legacy DSF(s)
========================================
/dev/disk/disk67 /dev/dsk/c5t0d4
/dev/dsk/c7t0d4
/dev/dsk/c11t0d4
/dev/dsk/c9t0d4
/dev/dsk/c13t0d4
/dev/dsk/c15t0d4
/dev/dsk/c19t0d4
/dev/dsk/c17t0d4

With regards

Saravanan N
Bhadresh
Trusted Contributor

Re: How to detect the LUN

ioscan command scans system hardware, usable I/O system devices, or kernel I/O system date structures as appropriate, and lists the result. ioscan will be able to detect the lun.

Is it lun assigned correctly? Check with System Admin.

Regards,
Bhadresh
Sunny123_1
Esteemed Contributor

Re: How to detect the LUN

Hi

Which storage u r using?




Regards
Sunny
Steven E. Protter
Exalted Contributor

Re: How to detect the LUN

Shalom,

ioscan -fnCdisk
insf -C disk # probably not required this OS
insf -e # Usually needed to build device files.

If you have EMC and the inq utility installed, this can be helpful.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
madhuchakkaravarthy
Trusted Contributor

Re: How to detect the LUN

hi

what is the storage your are using

regards

MC

Musa123
Advisor

Re: How to detect the LUN

Sorry to delay response..

uname -a
HP-UX ads43 B.11.11 U 9000/800 3220983761 unlimited-user license

ioscan -m dsf
ioscan: illegal option -- m


# ioscan -dsf
Am dint get any output, but storage team told allocating the LUN but nt able to detect.

Why? anything wrong pls advice..

Thanks in Advance.
Elmar P. Kolkman
Honored Contributor

Re: How to detect the LUN

Main reason for those options not working: you said you were running 11.31, while in real life you run the commands on 11.11 !

On 11.11 you can do a rmsf -H to remove special files and kernel entries for a detached device/lun/etc.
Every problem has at least one solution. Only some solutions are harder to find.
Bhadresh
Trusted Contributor

Re: How to detect the LUN

Hi,

Remove the special files:
# rmsf -a /dev/dsk/c11txdx

Scan the disks again:
# ioscan -fnC disk

Regards,
Bhadresh