1836355 Members
2301 Online
110100 Solutions
New Discussion

LUNs

 
bharat satsangi
Frequent Advisor

LUNs

i want to check for all the LUNs in HP-UX,
and what LUNs are free and how can i use them to create new vg. i am running HP-UX B.11.23 U ia64 2360091147 unlimited-user license.
5 REPLIES 5
Ganesan R
Honored Contributor

Re: LUNs

Hi,

Oneway to find the free LUNS is take the #ioscan -fnC disk |grep dsk and compare with #strings /etc/lvmtab output.

If disk is not there in lvmtab file means it is free. Note that if the vg is exported then also disk entry will not be there in lvmtab file
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: LUNs

Shalom,

insf -C disk

ioscan -fnC disk

Now you can create a volume group. I recommend the -p parameter the number of physical volumes so that you can maximize the number of disks and storage in the volume group.

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
Lijeesh N G_1
Respected Contributor

Re: LUNs

Hi,

1) Checking LUNs
You can check the LUN's with,

#ioscan -funC disk
==> It will give all the disks available on the system.
You can identify the LUNs by looking on the output,
note that LUNs may have multiple paths.


2) what LUNs are free ?
Check the below command outputs for the LUNs

#vgdisplay -v|grep PV

#strings /etc/lvmtab

#pvdisplay -v

3) how can i use them to create new vg

Use normal procedure o create new VG,
Note that if LUN has Multiple paths,add them to the new VG;I mean add PV links.


Reagrds,
LIJEESH N G
Tingli
Esteemed Contributor

Re: LUNs

Go to sam and get vg creation, you can find the list of available devices.
bharat satsangi
Frequent Advisor

Re: LUNs

.