Operating System - HP-UX
1846816 Members
10582 Online
110256 Solutions
New Discussion

adding eva 5000 san disk(lun) to hpux11i

 
sharif naser_1
Frequent Advisor

adding eva 5000 san disk(lun) to hpux11i

Hello Experts,

I have eva5000 connected to hpux box& was given a lun to expand oracle file system.

how to add the lun to hpux (procedure).
what precaution do i have to take if there is.
any help is highly appreciated.

TIA,
Sharif
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: adding eva 5000 san disk(lun) to hpux11i

HI Sharif,

To expand oracle filesystem, you need to add this LUN to the volume group containing the filesystem.

Do a

bdf /oracle (say /oracle is the filesystem you are trying to expand)

Note the logical volume in the first column. The first two fields in the logical volume gives you the volume group. If /dev/vg01/oracle is the logical volume, then /dev/vg01 is the volume group.

Find out the disk (LUN) corresponding to the hardware path from ioscan

#ioscan -f
#insf
#ioscan -fnC disk

(say the disk is /dev/dsk/c1t0d1). Follow this procedure to expand your volume group.

#pvcreate /dev/rdsk/c1t0d1
#vgextend vg01 /dev/dsk/c1t0d1

Now you have enough space in vg01 to expand oracle filesystem. Then stop the application and unmount /oracle filesystem.

#umount /oracle
#lvextend -L new_size_in_mb /dev/vg01/oracle
#extendfs /dev/vg01/roracle
#mount /dev/vg01/oracle /oracle
#bdf /oracle (verify the size)

If you have Online JFS, then you don't have to stop the application and unmount oracle. Follow these steps if you have OnlineJFS.

#lvextend -L new_size_in_mb /dev/vg01/oracle
#fsadm -b new_size_in_blocks /oracle

new_size_in_mb = Total size you need
new_size_in_blocks = new_size_in_mb * 1024

#bdf /oracle (verify the size)

Only problem here is if your new LUN is bigger than the existing LUNs in your volume group vg01, then the entire size will not be used unless the vg01 was created with non-default maxPE value.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
sharif naser_1
Frequent Advisor

Re: adding eva 5000 san disk(lun) to hpux11i

Thanks alot Sridhar,

what if i have secure path installed do i have to give the following commands :-
since i did not work on EVA before
1> spmgr update
2> kmadmin -L swspData
3> config -M swspData -u

Thanks,
Sharif