<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: determine lun size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699663#M383896</link>
    <description>&amp;gt; dd if=/dev/rdsk/c12t2d4 bs=1k skip=9 count=1 2&amp;gt;/dev/null | xd -x&lt;BR /&gt; &lt;BR /&gt;Oops, that should be: skip=8:&lt;BR /&gt; &lt;BR /&gt;dd if=/dev/rdsk/c12t2d4 bs=1k skip=8 count=1 2&amp;gt;/dev/null | xd -x&lt;BR /&gt; &lt;BR /&gt;That pesky keyboard put the 9 too close to the 8.</description>
    <pubDate>Fri, 15 Oct 2010 12:08:36 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2010-10-15T12:08:36Z</dc:date>
    <item>
      <title>determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699652#M383885</link>
      <description>I have been out of HPUX admin for a while and I know I should know this. Please help me remember.&lt;BR /&gt;&lt;BR /&gt;I have just had the SAN team add some Hitachi array disk luns to a system. I can see them with ioscan -fnCdisk. Now what I would like to know is the disk size of those LUNs but don't remember how. We are using lvm.&lt;BR /&gt;&lt;BR /&gt;disk    106  4/0/10/1/0.14.0.109.0.2.4  sdisk    CLAIMED     DEVICE       HITACHI DF600F&lt;BR /&gt;                            /dev/dsk/c12t2d4   /dev/rdsk/c12t2d4&lt;BR /&gt;disk    107  4/0/10/1/0.14.0.109.0.2.5  sdisk    CLAIMED     DEVICE       HITACHI DF600F&lt;BR /&gt;                            /dev/dsk/c12t2d5   /dev/rdsk/c12t2d5&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2010 17:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699652#M383885</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2010-10-14T17:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699653#M383886</link>
      <description>Use diskinfo.&lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdsk/c12t2d4&lt;BR /&gt;# diskinfo /dev/rdsk/c12t2d5&lt;BR /&gt;&lt;BR /&gt;Note that you have to use the '/dev/rdsk' device file with the diskinfo command.</description>
      <pubDate>Thu, 14 Oct 2010 17:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699653#M383886</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-10-14T17:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699654#M383887</link>
      <description>Patrick that is what I was looking for. Now it just occured to me that I am not sure of the alternate path to the same LUN. I used to use inq -sortysymm but that is with EMC. These are Hitachi do they have a similar utility?</description>
      <pubDate>Thu, 14 Oct 2010 17:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699654#M383887</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2010-10-14T17:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699655#M383888</link>
      <description>The early XP models had their uitilities installed under /opt/HORCM. The utility was called "inquiry" or "inquiryXXX" where XXX was the XP model number such as inquiry256 for XP256.</description>
      <pubDate>Thu, 14 Oct 2010 17:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699655#M383888</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-10-14T17:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699656#M383889</link>
      <description>Thank you TTr but I don't seem to have that set of utilities.</description>
      <pubDate>Thu, 14 Oct 2010 17:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699656#M383889</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2010-10-14T17:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699657#M383890</link>
      <description>another quick option is to match up the hardware addresses of the devices..&lt;BR /&gt;&lt;BR /&gt;there should be some hitachi utility for hpux to ID the wwn of the lun.  EVAs provide evainfo.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2010 18:09:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699657#M383890</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-10-14T18:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699658#M383891</link>
      <description>Tim I only gave you 9 because you were close but got me thinking. I was able to use lunstat -ts and that gave me the serial numbers along with a lot of other info. From that I was able to pair up disks but still not by /dev/dsk/ctd number which I need to add them to a vg.</description>
      <pubDate>Thu, 14 Oct 2010 18:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699658#M383891</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2010-10-14T18:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699659#M383892</link>
      <description>I just remembered that the recent XP models use the CommandViewXP utilities. I never had CommandViewXP but I used commandviewVA and the array utilities for the VAs were armdiscover and armdsm. They might be the same in C-viewXP.&lt;BR /&gt;&lt;BR /&gt;Look under opt for a "commandview" subdirectory or look at "swlist" listing.</description>
      <pubDate>Thu, 14 Oct 2010 18:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699659#M383892</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-10-14T18:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699660#M383893</link>
      <description>xpinfo might do it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1431840" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1431840&lt;/A&gt;</description>
      <pubDate>Thu, 14 Oct 2010 18:44:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699660#M383893</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-10-14T18:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699661#M383894</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;TTr mentioned /opt/HORCM which is part of raidmanager, but if you dont use businesscopy or continuous access, or the hitachi equivalents of the xp namings, it will probably not installed on the system.&lt;BR /&gt;&lt;BR /&gt;commandview for XP does exist, but it runs on a windows system and is more alike the sanappliance commandview that runs on a EVA, and is used to administer a XP, then anything remotely like commandviewVA. Also it will for the hitachi be named differently.&lt;BR /&gt;&lt;BR /&gt;xpinfo utility would probably work on a hitachi system that is equal to a xp, however normally hp support would not give this utility to view the luns of a competitor storage array , and anyway a hitachi DF600F is a lun of one of hitachi's midrange storage, AMS or something like that, so the utility would not work anyway..&lt;BR /&gt;&lt;BR /&gt;The long way, is offcourse to check on the hitachi diskarray what luns are defined to what histachi frontendports. And then check how these hitachi frontendports are zoned in with which host fc hba ports and then to see how these luns are then translated into device files..&lt;BR /&gt;&lt;BR /&gt;But there is a shorter way, through vxvm, you could configure vxvm, with vxinstall, and normally it should give the different paths for each of device files, or if you dont want to configure vxvm, you can also use..&lt;BR /&gt;&lt;BR /&gt;/etc/vx/diag.d/vxdmpinq, which will give for each /dev/rdsk device file the serial# of the lun.&lt;BR /&gt;f.e.&lt;BR /&gt;&lt;BR /&gt;# /etc/vx/diag.d/vxdmpinq /dev/rdsk/c14t11d5 &lt;BR /&gt; &lt;BR /&gt;Inquiry for /dev/rdsk/c14t11d5, evpd 0x0, page code 0x0 &lt;BR /&gt;Vendor id             : HP &lt;BR /&gt;Product id             : OPEN-V &lt;BR /&gt;Revision Number        : 5001 &lt;BR /&gt;Serial Number          : 50 127120571 &lt;BR /&gt;&lt;BR /&gt;#/etc/vx/diag.d/vxdmpinq /dev/rdsk/c8t11d5 &lt;BR /&gt; &lt;BR /&gt;Inquiry for /dev/rdsk/c8t11d5, evpd 0x0, page code 0x0 &lt;BR /&gt;Vendor id             : HP &lt;BR /&gt;Product id             : OPEN-V &lt;BR /&gt;Revision Number        : 5001 &lt;BR /&gt;Serial Number          : 50 127120571 &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; CONCLUSION -- same serial#, they are alternate links.. &lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 14 Oct 2010 21:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699661#M383894</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2010-10-14T21:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699662#M383895</link>
      <description>&amp;gt; locating alternate links...&lt;BR /&gt; &lt;BR /&gt;The easiest way is to list the devices with the same TD numbers (CTD = controller or I/O card, T=target, D=disk) so if you're looking for alternate links for c12t2d4, do this:&lt;BR /&gt; &lt;BR /&gt;ll /dev/dsk/c*t2d4&lt;BR /&gt; &lt;BR /&gt;Then if you run pvcreate on one of the links, you can verify that it is the same disk with dd and xd:&lt;BR /&gt; &lt;BR /&gt;dd if=/dev/rdsk/c12t2d4 bs=1k skip=9 count=1 2&amp;gt;/dev/null | xd -x&lt;BR /&gt; &lt;BR /&gt;0000000 4c56 4d52 4543 3031 69ea 86f7 4b60 5af7&lt;BR /&gt;0000010 69ea 86f7 4b60 5c4a 0445 dcc8 0000 0006&lt;BR /&gt; &lt;BR /&gt;The last two numbers (4b60 5af7) is the VGID (unique among every VG), and the 4th and 5th numbers on line 0000010 (4b60 5c4a) is the unique LUN or PV identification. Only alternate links will have the same exact PVID.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2010 12:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699662#M383895</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-10-15T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699663#M383896</link>
      <description>&amp;gt; dd if=/dev/rdsk/c12t2d4 bs=1k skip=9 count=1 2&amp;gt;/dev/null | xd -x&lt;BR /&gt; &lt;BR /&gt;Oops, that should be: skip=8:&lt;BR /&gt; &lt;BR /&gt;dd if=/dev/rdsk/c12t2d4 bs=1k skip=8 count=1 2&amp;gt;/dev/null | xd -x&lt;BR /&gt; &lt;BR /&gt;That pesky keyboard put the 9 too close to the 8.</description>
      <pubDate>Fri, 15 Oct 2010 12:08:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699663#M383896</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-10-15T12:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: determine lun size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699664#M383897</link>
      <description>If you have Hitachi arrays then probably you will have HDLM(Hitachi Dynamic Link Manager) installed on servers. It's load balancing software from Hitachi.&lt;BR /&gt;you can run dlnkmgr commands to see lun details and alt paths etc. It's useful utility to have if you are dealing with Hitachi Storage disks.&lt;BR /&gt;&lt;BR /&gt;USA..</description>
      <pubDate>Fri, 15 Oct 2010 15:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-lun-size/m-p/4699664#M383897</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2010-10-15T15:18:17Z</dc:date>
    </item>
  </channel>
</rss>

