<?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: LUN details with mount point in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780414#M390950</link>
    <description>Hi Sumant,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://ftp.software.ibm.com/storage/subsystem/hp-ux/1.8.0.2/readme_v1802.txt" target="_blank"&gt;ftp://ftp.software.ibm.com/storage/subsystem/hp-ux/1.8.0.2/readme_v1802.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000053#ds4k" target="_blank"&gt;http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000053#ds4k&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As, you have ds4800 &amp;amp; the above drivers are suitable for almost all DS series.&lt;BR /&gt;&lt;BR /&gt;Try it &amp;amp; let me know,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Apr 2011 03:19:41 GMT</pubDate>
    <dc:creator>Vivek_Pendse</dc:creator>
    <dc:date>2011-04-27T03:19:41Z</dc:date>
    <item>
      <title>LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780405#M390941</link>
      <description>Dear Experts,&lt;BR /&gt;&lt;BR /&gt;            I need to find out LUN info with mount point details. The HPUX machine connected with IBM Storage DS4800 so unable to find which LUN belongs to which mount point.&lt;BR /&gt;&lt;BR /&gt;Is there any command on hpux to check or any formula to calculate ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant M Kumar</description>
      <pubDate>Fri, 22 Apr 2011 09:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780405#M390941</guid>
      <dc:creator>Sumant M Kumar</dc:creator>
      <dc:date>2011-04-22T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780406#M390942</link>
      <description>Your question lacks details. As a matter of fact, you did not provide any useful information.&lt;BR /&gt;&lt;BR /&gt;for disk in `ioscan -fknC disk | grep rdsk | awk {'print $2'}`; do diskinfo ${disk}; done &amp;gt;/tmp/disklist&lt;BR /&gt;&lt;BR /&gt;(all of the above is on one line)&lt;BR /&gt;&lt;BR /&gt;edit /tmp/disklist and look for the line where it says product ID and find the disks with some sort of IBM designator (I am not familiar with DS4800 so I can't tell you the exact string but it should have IBM letters in it)&lt;BR /&gt;&lt;BR /&gt;Now that you identified the cXtXdX device files for your DS4800 LUNs, it all depends what kind of volume management you are using, i.e.. LVM or VxVM. I am assuming you are using one of these volume managers. Everyone does nowadays.&lt;BR /&gt;&lt;BR /&gt;Provide the output from bdf and people can tell you what you are using, if you don't know the difference between LVM and VxVM &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Apr 2011 13:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780406#M390942</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2011-04-22T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780407#M390943</link>
      <description>&lt;BR /&gt;an ioscan -fnCdisk will give something like:&lt;BR /&gt;&lt;BR /&gt;disk    249  0/2/1/0.3.0.239.0.13.6   sdisk      CLAIMED     DEVICE       HP      MSA2312fc&lt;BR /&gt;                           /dev/dsk/c33t13d6   /dev/rdsk/c33t13d6&lt;BR /&gt;&lt;BR /&gt;Taking the last 3 octets of the disk HW address,&lt;BR /&gt;  0.13.6&lt;BR /&gt;you can calculate the LUN from the array by:&lt;BR /&gt;&lt;BR /&gt;  LUN= $(( 128*0 + 8*13 + 6 )) = 110&lt;BR /&gt;&lt;BR /&gt;or generally by   128*3rd + 8*2nd + 1st&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;I wrote a script to do that parsing, but it is very complicated and&lt;BR /&gt;dependent on certain kinds of arrays.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now, for your case, you would have to do:&lt;BR /&gt;&lt;BR /&gt;1) get the Volume Group via:&lt;BR /&gt;&lt;BR /&gt;     mount | grep mountpointv2 \&lt;BR /&gt;     |sed -e 's/.*\/dev\///' -e 's/\/.*//'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) get the physical paths via:&lt;BR /&gt;&lt;BR /&gt;      vgdisplay -v VG  | grep -e 'PVG Name' -e 'PV Name'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) ioscan -fnCdisk &amp;lt; /tmp/ioscan-fnCdisk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) peruse the /tmp/ioscan-fnCdisk file&lt;BR /&gt;  for the PV names from step 2&lt;BR /&gt;&lt;BR /&gt;5) use the above formula to get the LU number&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;E.g.,&lt;BR /&gt;&lt;BR /&gt;1) ## mount | grep /oradatamt \&lt;BR /&gt;        |sed -e 's/.*\/dev\///' -e 's/\/.*//'&lt;BR /&gt;&lt;BR /&gt;  vgoradatamt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) ## vgdisplay -v vgoradatamt | grep -e 'PVG Name' -e 'PV Name'&lt;BR /&gt;&lt;BR /&gt;     PV Name                     /dev/dsk/c33t13d6&lt;BR /&gt;     PV Name                     /dev/dsk/c34t13d6      Alternate Link&lt;BR /&gt;     PV Name                     /dev/dsk/c31t13d6      Alternate Link&lt;BR /&gt;     PV Name                     /dev/dsk/c32t13d6      Alternate Link&lt;BR /&gt;     PV Name                     /dev/dsk/c35t13d6&lt;BR /&gt;     PV Name                     /dev/dsk/c36t13d6      Alternate Link&lt;BR /&gt;     PV Name                     /dev/dsk/c37t13d6      Alternate Link&lt;BR /&gt;     PV Name                     /dev/dsk/c38t13d6      Alternate Link&lt;BR /&gt;     PVG Name                    vgoramt_pMSA&lt;BR /&gt;     PV Name                     /dev/dsk/c33t13d6&lt;BR /&gt;     PVG Name                    vgoramt_lMSA&lt;BR /&gt;     PV Name                     /dev/dsk/c35t13d6&lt;BR /&gt;&lt;BR /&gt;NOTE: In my case here, I have PVGs, which devices can be ignored --&lt;BR /&gt;there're the same as a device in the part above the PVG section.&lt;BR /&gt;&lt;BR /&gt;NOTE: The LUN # is the SAME for all paths (alternate links) to a device.&lt;BR /&gt;  Duh. Winning...&lt;BR /&gt;  er, I mean,&lt;BR /&gt;   Duh.. thay're pointing to the same LUN!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) ioscan -fnCdisk &amp;lt; /tmp/ioscan-fnCdisk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) perusing the /tmp/ioscan-fnCdisk file or using&lt;BR /&gt;&lt;BR /&gt;  ##  grep -e ^disk -e /dev/dsk/c33t13d6  /tmp/ioscan-fnCdisk&lt;BR /&gt;I get&lt;BR /&gt;   ...&lt;BR /&gt;   ...&lt;BR /&gt;   ...&lt;BR /&gt;  disk    249  0/2/1/0.3.0.239.0.13.6   sdisk      CLAIMED     DEVICE       HP      MSA2312fc&lt;BR /&gt;                           /dev/dsk/c33t13d6   /dev/rdsk/c33t13d6&lt;BR /&gt;   ...&lt;BR /&gt;   ...&lt;BR /&gt;   ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5) use formula :&lt;BR /&gt;  ## echo $(( 128*0 + 8*13 + 6 ))&lt;BR /&gt;    110&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so my LUN for that device is 110&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Sat, 23 Apr 2011 17:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780407#M390943</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-04-23T17:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780408#M390944</link>
      <description>&lt;!--!*#--&gt;I forgot to mention that if you're using the new flexible device names under HPUX 11.31, then you can use&lt;BR /&gt;&lt;BR /&gt;  ioscan -m dsf&lt;BR /&gt;&lt;BR /&gt;to see the legacy name for the flexible name.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Sat, 23 Apr 2011 17:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780408#M390944</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-04-23T17:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780409#M390945</link>
      <description>&lt;!--!*#--&gt;Hello Bob,&lt;BR /&gt;&lt;BR /&gt;echo $(( 128*0 + 8*13 + 6 ))&lt;BR /&gt;&lt;BR /&gt;are we skipping continuous binary conversion here ( like 16,8,4,2,0 ) ..just to know the fact over here&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
      <pubDate>Sun, 24 Apr 2011 06:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780409#M390945</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-04-24T06:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780410#M390946</link>
      <description>&lt;!--!*#--&gt;Yes.&lt;BR /&gt;It's not a simple progression of powers of 2.&lt;BR /&gt;&lt;BR /&gt;In cXtTdL,&lt;BR /&gt;relating to the last 3 octets of the HW address,&lt;BR /&gt;the T comes from the 2nd octet and L comes from the 3rd octet&lt;BR /&gt;&lt;BR /&gt;But, L (3rd octet) goes only from 0-7,&lt;BR /&gt;so, T represents a multiple of 8.&lt;BR /&gt;The progression of LUNs would be:&lt;BR /&gt; ...&lt;BR /&gt;  HW 0.0.6  --&amp;gt; t0d6 = (0*8) + 6 = 6&lt;BR /&gt;  HW 0.0.7  --&amp;gt; t0d7 = (0*8) + 7 = 7&lt;BR /&gt;then we roll over to&lt;BR /&gt;  HW 0.1.0  --&amp;gt; t1d0 = 1*8 (+0)  = 8&lt;BR /&gt;&lt;BR /&gt;T (2nd octet) only goes from 0-15,&lt;BR /&gt;so, the first octet represents a multiple of 8*16 = 128.&lt;BR /&gt;The progression of LUNs would be:&lt;BR /&gt; ...&lt;BR /&gt;  HW 0.15.6  --&amp;gt; cNt15d6 = (15*8) + 6 = 126&lt;BR /&gt;  HW 0.15.7  --&amp;gt; cNt15d7 = (15*8) + 7 = 127&lt;BR /&gt;then we roll over to&lt;BR /&gt;  HW 1.0.0   --&amp;gt; cMt0d0  = 1*128 (+0*8) (+0)  = 80&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A little simplified, we can say:&lt;BR /&gt;&lt;BR /&gt;There's nothing special, really, about these restrictions (0-7 an 0-15) in the cXtTdL convention. It all relates to trying to fit Fibre Channel devices/LUNs into the original, simple, halcyon days of simple SCSI disk naming convention, where the cXtTdL came from.&lt;BR /&gt;&lt;BR /&gt;Back then, all we had were disks and tapes and the T was the SCSI target and L was the target's LUN (still is, for real SCSI disks). LUN was 3 bits and so restricted to 0-7.&lt;BR /&gt;However, real SCSI disks *always* report as LUN0 (so L was always 0 -- and still is for all the disks attached to actual SCSI busses on our systems -- check it out for the "internal" disks).&lt;BR /&gt;So, interestingly, the DISK ID that we change with the jumpers on a real SCSI disk or the switches on a Jamaica box  changes the TARGET number, not the LUN number. LUN 0 is required for all targets, and so the DISK always reports as LUN0, whatever its target is.&lt;BR /&gt;&lt;BR /&gt;SCSI-1 spec allowed up to 8 targets on the bus. while&lt;BR /&gt;SCSI-2 spec allowed only up to 16 targets on the bus&lt;BR /&gt;&lt;BR /&gt;-- hence T = 0-15.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Sun, 24 Apr 2011 11:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780410#M390946</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-04-24T11:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780411#M390947</link>
      <description>Thanks a lot Bob. I have calculated with this formula i am getting the exact LUN value. &lt;BR /&gt;&lt;BR /&gt;Dear Bob &amp;amp; Experts , Let me know if there is any command like xpinfo -i for IBM storage also.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant M Kumar</description>
      <pubDate>Mon, 25 Apr 2011 10:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780411#M390947</guid>
      <dc:creator>Sumant M Kumar</dc:creator>
      <dc:date>2011-04-25T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780412#M390948</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is an IBM multipathing software named IBMSdd for DS storages for hp-ux, which is free &amp;amp; available on IBM site.&lt;BR /&gt;You can install that on hp-ux &amp;amp; run the below commands:&lt;BR /&gt;querysn -l&lt;BR /&gt;showvpath -l&lt;BR /&gt;With this commands, you can get the LUN ID wrt device file. Further you can trace that device file in lvmtab.&lt;BR /&gt;Even, you can use the vpath device files like pdsf in 11.31 &amp;amp; can define load balancing. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek</description>
      <pubDate>Tue, 26 Apr 2011 07:46:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780412#M390948</guid>
      <dc:creator>Vivek_Pendse</dc:creator>
      <dc:date>2011-04-26T07:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780413#M390949</link>
      <description>Thats really good tool/utility Vivek but i am unable to get the exact download path from IBM site.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000053" target="_blank"&gt;http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000053&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My system configuration is hpux 11.23 and connected with IBM Storage DS4800&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant M Kumar</description>
      <pubDate>Wed, 27 Apr 2011 02:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780413#M390949</guid>
      <dc:creator>Sumant M Kumar</dc:creator>
      <dc:date>2011-04-27T02:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780414#M390950</link>
      <description>Hi Sumant,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://ftp.software.ibm.com/storage/subsystem/hp-ux/1.8.0.2/readme_v1802.txt" target="_blank"&gt;ftp://ftp.software.ibm.com/storage/subsystem/hp-ux/1.8.0.2/readme_v1802.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000053#ds4k" target="_blank"&gt;http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000053#ds4k&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As, you have ds4800 &amp;amp; the above drivers are suitable for almost all DS series.&lt;BR /&gt;&lt;BR /&gt;Try it &amp;amp; let me know,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2011 03:19:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/4780414#M390950</guid>
      <dc:creator>Vivek_Pendse</dc:creator>
      <dc:date>2011-04-27T03:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: LUN details with mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/5437077#M477590</link>
      <description>its not working in my case&lt;BR /&gt;disk 24 0/3/0/0/0/0.214.1.239.0.0.6 sdisk CLAIMED DEVICE DGC CX3-80WDR5&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c3t0d6 /dev/rdsk/c3t0d6&lt;BR /&gt;&lt;BR /&gt;128*0+8*0+6=6&lt;BR /&gt;but #powermt display dev=all&lt;BR /&gt;is showing lun id is 256&lt;BR /&gt;&lt;BR /&gt;Please tell me how it is possible</description>
      <pubDate>Tue, 03 Jan 2012 13:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-details-with-mount-point/m-p/5437077#M477590</guid>
      <dc:creator>basant</dc:creator>
      <dc:date>2012-01-03T13:37:26Z</dc:date>
    </item>
  </channel>
</rss>

