Operating System - HP-UX
1752295 Members
5006 Online
108786 Solutions
New Discussion

Re: How to find available LUN in HPUX 11.23 & 11.3

 
Abubakkar
Frequent Contributor

How to find available LUN in HPUX 11.23 & 11.3

Dear Friends,

I have EMC CX3 clarion storage and HPUX 11.2 & 11.3 OS, I want to create the new vg and create 1TB LV on both os. Recently they created some new LUN's from clarion storage.How can find available LUN and use it.Kindly help on this .

2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: How to find available LUN in HPUX 11.23 & 11.3

You need to compare the list of LUNs already in use, from vgdisplay (vgdisplay -v |grep 'PV Name'), with a list of all available LUNs, from ioscan (ioscan -fnCdisk).  It's not rocket science, just tedious.  Keeping good records of LUN utilization in the future is an excellent administrator's tool.


Pete
Bill Hassell
Honored Contributor

Re: How to find available LUN in HPUX 11.23 & 11.3

Since you just added the LUNs, use this method:

ls -lrt /dev/d*sk/

 With this command, the most recent device files will be shown. You can use the devices that have the time stamp when you created them. The d*sk is used to handle both 11.31 and all previous versions of HP-UX.



Bill Hassell, sysadmin