Operating System - HP-UX
1748180 Members
3976 Online
108759 Solutions
New Discussion юеВ

Re: how to check lun status in hpux

 
avizen9
Esteemed Contributor

how to check lun status in hpux

Hello,
my hpux server having many luns from my filer, how i can check these luns on hpux through command prompt, i dont want to use SAM, any good sys admin command for luns, please let me know, thanks
11 REPLIES 11
Patrick Wallek
Honored Contributor

Re: how to check lun status in hpux

Check the LUNs how?

# ioscan -kfnC disk

will show all "disk" devices, which a LUN is, on your system.

What else do you want to check?
avizen9
Esteemed Contributor

Re: how to check lun status in hpux

so only way at command prompt is ioscan? if only ioscan i will close this thread
Richard Hepworth
Esteemed Contributor

Re: how to check lun status in hpux

there are plenty of commands you can but it would be easier if you told us what specific disk info you are looking for
Jozef_Novak
Respected Contributor

Re: how to check lun status in hpux

It depends on what kind of storage you are using. There are vendor specific tools for each box, like evainfo, xpinfo from HP or symcli from EMC. These are not part of the operating system and have to be installed separately. They provide detailed information about LUNs visible to the host they are installed on.

J.
Steven E. Protter
Exalted Contributor

Re: how to check lun status in hpux

Shalom,

If it has a filesystem on it, bdf is usually enough for me.

ioscan -fnC disk

My command of voice.

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
Avinash20
Honored Contributor

Re: how to check lun status in hpux

"how to check lun status in hpux"

As told above by SEP, its ioscan -fnC disk

Just to add the software state are

CLAIMED
software bound successfully

UNCLAIMED
no associated software found

DIFF_HW
software found does not match the associated software

NO_HW
the hardware at this address is no longer responding

ERROR
the hardware at this address is responding but is in an error state

SCAN
node locked, try again later

Please assign points to our post
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Sajjad Sahir
Honored Contributor

Re: how to check lun status in hpux



dear avizen

it depends on storage
for example if u present the disk from xp
then xpinfo -i

ioscan -func | grep -i lunnumber
will give u the disk name.

first use xpinfo -i to determine the lun number if it is xp storage then
if it is eva the evainfo
once u found the lun then u can use ioscan -funC | grep -i lun number then u will get the disk name also

sajjad
Torsten.
Acclaimed Contributor

Re: how to check lun status in hpux

What exactly do you want to check?

On 11,31 try

$ ioscan -fkm lun
$ ioscan -P health -C disk

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!   
avizen9
Esteemed Contributor

Re: how to check lun status in hpux

Thanks folks for reply this question, i got my answer great.. :)