Operating System - HP-UX
1834711 Members
2521 Online
110069 Solutions
New Discussion

Re: Regarding a disk from LUN.

 
Indrajit Bhagat
Regular Advisor

Regarding a disk from LUN.

Hello Experts few querys.

1. How can i diagnoise a disk which is from LUN.
2. How could i configure the LUN to HP-UX box.
3. How could i take judgement that the patiucular disk is from LUN not an system defualt disk, and which is emty.
2 REPLIES 2
VK2COT
Honored Contributor

Re: Regarding a disk from LUN.

Hello,

There is no simple answer to your question
that is 100% safe and reliable.

Careful examination of ioscan(1) will
tell if a specific physical volume is
LUN or internal disk.

For instance, if you use XP or EVA SAN,
tools like evaifo and xpinfo will help.

HP-UX offers lot of tools to help further.
Over time, I found so many of them and
decided to write a little script to help me
not forget them :)

http://www.circlingcycle.com.au/Unix/sources/HP-UX-check-OAT..pl.txt

If you browse through the Perl code,
you will find many commands that relate
to disks...

As far as using a LUN, once it is presented to an HP-UX host, it can be configured
the same way as any other disk (LVM
or VXVM, for example).

Cheers,

VK2COT
VK2COT - Dusan Baljevic
bixley
Advisor

Re: Regarding a disk from LUN.

Indrajit,

I presume the HPUX OS is 11.00, 11.11 or 11.23 and not 11.31 (different ioscan switches needed).
Like Dusan said, its hard to answer all your questions, ioscan is a good starting point.
Use switches with iocan to limit the output to disks only as follows;
# ioscan -fnC disk
This will show you what disks you can see locally or via SAN fabric.
You may need to run the `insf` command
to install the special files, to get /dev/[r]dsk/cXtXdX created. SAN LUNs should have say "HP HSV210" in the description for an EVA4/6/8000 generation lun.
Then run # strings /etc/lvmtab to check which disks have been used by volume groups already.