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

How to identify newly added Lun ( EVA ) In HPux B.11.11

 
Muralirajah
Occasional Visitor

How to identify newly added Lun ( EVA ) In HPux B.11.11

Hi friends,

 

I need some help here. I just presented new LUN via EVA. I have already scaned the os using  ioscan -fnC disk.

 

But I still dont get it where should be the new LUNS.

 

Can any one help me

 

 

Thanks

 

Regards

 

Murali 

3 REPLIES
Patrick Wallek
Honored Contributor

Re: How to identify newly added Lun ( EVA ) In HPux B.11.11

This is where good documentation comes into play.  If you know what you had before you added new LUNs then it is trivial to figure out what is new.  If you don't know what you had, then it is more difficult.

 

One  way may be to look at your /dev/disk (for HP-UX 11.31) or /dev/dsk (for all version prior to 11.31) directories and see what the newest device files in the directory are.  That should give you a pretty good indication of the device file(s) for your new LUN(s).

 

The other way would be to look through /etc/lvmtab (all  HP-UX version with VG1.0 volume groups) and/or /etc/lvmtab_p (HP-UX 11.31 with VG 2.x volume groups) (use the strings command) and see what all device files are recorded for use with the VGs you have.  Once you have that you can compare the list with the device files on your system.  Anything that is not in either of the lvmtab files could be new and available for use.

 

 

Bill Hassell
Honored Contributor

Re: How to identify newly added Lun ( EVA ) In HPux B.11.11

The device file will be created after you run ioscan followed by insf, specifically: insf -Ctape

You'll see the new device files being created.

You can then find the new device files by listing the /dev/dsk or /dev/disk directories in date order:

# ll -rt /dev/dsk 
total 32
brw-r-----   1 bin        sys         31 0x032000 Oct 29  2009 c3t2d0
brw-r-----   1 bin        sys         31 0x010000 Oct 29  2009 c1t0d0
brw-r-----   1 bin        sys         31 0x012000 Oct 29  2009 c1t2d0
brw-r-----   1 bin        sys         31 0x022000 Oct 29  2009 c2t2d0
brw-r-----   1 bin        sys         31 0x020000 Jan 11  2010 c2t0d0
brw-r-----   1 bin        sys         31 0x110000 Nov 29  2011 c17t0d0
brw-r-----   1 bin        sys         31 0x111000 Nov 29  2011 c17t1d0
brw-r-----   1 bin        sys         31 0x114000 Nov 29  2011 c17t4d0
brw-r-----   1 bin        sys         31 0x115000 Nov 29  2011 c17t5d0
brw-r-----   1 bin        sys         31 0x112000 Nov 29  2011 c17t2d0
brw-r-----   1 bin        sys         31 0x113000 Nov 29  2011 c17t3d0
brw-r-----   1 bin        sys         31 0x118000 Nov 29  2011 c17t8d0
brw-r-----   1 bin        sys         31 0x11c000 Aug 29  2012 c17t12d0
brw-r-----   1 bin        sys         31 0x11a000 Aug 29  2012 c17t10d0
brw-r-----   1 bin        sys         31 0x11b000 Aug 29  2012 c17t11d0
brw-r-----   1 bin        sys         31 0x11d000 Aug 29  2012 c17t13d0
brw-r-----   1 bin        sys         31 0x11e000 Aug 29  2012 c17t14d0
brw-r-----   1 bin        sys         31 0x11f000 Aug 29  2012 c17t15d0
brw-r-----   1 bin        sys         31 0x119000 Aug 29  2012 c17t9d0
brw-r-----   1 bin        sys         31 0x054000 Dec  3  2013 c5t4d0
brw-r-----   1 bin        sys         31 0x043000 Apr 27 13:16 c4t3d0
brw-r-----   1 bin        sys         31 0x042000 Apr 27 13:16 c4t2d0
brw-r-----   1 bin        sys         31 0x041000 Apr 27 13:16 c4t1d0
brw-r-----   1 bin        sys         31 0x040000 Apr 27 13:16 c4t0d0

The newest device files are listed at the bottom.



Bill Hassell, sysadmin
Torsten.
Acclaimed Contributor

Re: How to identify newly added Lun ( EVA ) In HPux B.11.11

Get "evainfo" from software.hp.com (SSSU bundle) and do

 

# evainfo -a -l


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!