System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to view the EMC LUN in HPUX box

HP UNIX Professionals
Frequent Advisor

How to view the EMC LUN in HPUX box

Hi Experts,

I have HPUX 11i v2 Machined. I need to add EMC lun to this HPUX Box. Please help me to do this activity.

1. How to view the EMC LUN in HPUX box

2.How to add the disk


Thanks & Regards,

vijayn
8 REPLIES
Kapil Jha
Honored Contributor

Re: How to view the EMC LUN in HPUX box

u have to add EMC luns means.....u have to work on storage end or they would present the LUN to box and u have to configure those LUNS.

1) EMC should do, if you don know EMC stuff.
2) after assigning LUNs
#insf -eC disk
#ioscan -fnC disk [EMC disk would be should in description field as Symmetrix]
##cd /dev/dsk
#ls -lrt

the last create device files would be the one which just added to server.
You can use them for LVM.


BR,
Kapil+
I am in this small bowl, I wane see the real world......
R.K. #
Honored Contributor

Re: How to view the EMC LUN in HPUX box

Hi Vijay,

1.How to view the EMC LUN in HPUX box
AS said, you have to use:
# insf -eC disk
# ioscan -fnC disk
Description filed (last one) will tell you.

2.How to add the disk
From storage side-> you have to contact storage team to get it added from storage to houx server
From server to VG -> #vgextend vg_name disk_name
Don't fix what ain't broke
Johnson Punniyalingam
Honored Contributor

Re: How to view the EMC LUN in HPUX box

1. >>>How to view the EMC LUN in HPUX box ?<<<

Do you have "Powerpath" Installed in your HPUX Box -> Yes means you use

"powermt device=all" -> EMC - Clarion

or "syminq" -> EMC - SySmetrics

depends on which "EMC Storage" you use.

Its also better you check with your storage admin to give you "LUN" newly assigned to this HPUX Box

Once LUNS assigned

#ioscan -fn
# insf -e
# ioscan -fnC disk

Than do double confirm you looks for newly device files create under
cd /dev/rdsk
ls -lrt -> will show the newly created device files with current timestamps

2.>>>How to add the disk<<<

It again depends or you going to "vgextend or vgcreate"

vgextend -> to extend "volume group" once you add the disk

man vgextend -> more information

vgcreate -> create new volume group

man vgcreate -> more information

Problems are common to all, but attitude makes the difference
Taifur
Respected Contributor

Re: How to view the EMC LUN in HPUX box

Hi,

U can check LUN by
#powermt device=all (EMC clarion) (for LUN)
#ioscan -funC disk

for adding check vgextend man page

Rgds//
Taifur
johnsonpk
Honored Contributor

Re: How to view the EMC LUN in HPUX box

Johnson>> "powermt device=all" -> EMC - Clarion

or "syminq" -> EMC - SySmetrics

depends on which "EMC Storage" you use.


Power path is a mutil pathing solution from emc which support Symetrix,clariion,celera,Hitachi,IBM storage arrays, means we can use it for almost all storage systems,


Also syminq or inq should work on all emc storage systems
Jupinder Bedi
Respected Contributor

Re: How to view the EMC LUN in HPUX box

do insf -e

and if you want to see the size do

diskinfo device_name

and than do the normal steps to configure the VG and LV
All things excellent are as difficult as they are rare
smatador
Honored Contributor

Re: How to view the EMC LUN in HPUX box

Hi
I agree with Johnson, just one more thing.
Sometime you need to made a symcfg discover to get the symmetrix info if you have a symmetrix/dmx array.
Obviously, if you have a clariion, you have to play with navisphere.
HTH
Rita C Workman
Honored Contributor

Re: How to view the EMC LUN in HPUX box

You need to have storage person tell you that disk was mapped/masked and supply you the EMC disk number.

Without that info no idea which disk is the one you can have!!

Once you know the disk number and they assure you it's masked then on your server run:

symcfg discover
insf -e
ioscan -fnC disk > ioscan.disk

Then you could run:
symdev list | more

Look for the EMC disk number and you should also see it shows the /dev/dsk/c-t-d- entry as well.
-OR-

You can just run:

syminq | grep -i

Rgrds,
Rita