<?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 ID in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785333#M536205</link>
    <description>So you need LUN_NO &amp;amp; WWID to be precise &amp;amp; you &lt;BR /&gt;seems to be in right direction ,which ARRAY you&lt;BR /&gt;node has been connected to.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
    <pubDate>Sun, 08 May 2011 07:24:42 GMT</pubDate>
    <dc:creator>Manix</dc:creator>
    <dc:date>2011-05-08T07:24:42Z</dc:date>
    <item>
      <title>lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785330#M536202</link>
      <description>Is LUN id and WWID is same. I am able to find WWID using scsimgr in 11.31.&lt;BR /&gt;Else please provide the command to find LUN id in all HP UX versions.&lt;BR /&gt;I know storage vendor specific commands like inq etc</description>
      <pubDate>Sun, 08 May 2011 05:18:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785330#M536202</guid>
      <dc:creator>yash123</dc:creator>
      <dc:date>2011-05-08T05:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785331#M536203</link>
      <description>&lt;P&gt;The WWID is enough to replace a disk/LUN&lt;BR /&gt;on HP-UX what exactly you want to achieve&lt;BR /&gt;in this case ,please post&lt;BR /&gt;&lt;BR /&gt;To get the WWWID the command is below&lt;BR /&gt;&lt;BR /&gt;# scsimgr get_info all_lpt -D /dev/rdisk/disk1484&lt;BR /&gt;STATUS INFORMATION FOR LUN PATH : lunpath993&lt;BR /&gt;Generic Status Information&lt;BR /&gt;&lt;BR /&gt;SCSI services internal state = STANDBY&lt;BR /&gt;Open close state = STANDBY&lt;BR /&gt;Protocol = fibre_channel&lt;BR /&gt;EVPD page 0x83 description code = 1&lt;BR /&gt;EVPD page 0x83 description association = 0&lt;BR /&gt;EVPD page 0x83 description type = 3&lt;BR /&gt;World Wide Identifier (WWID) = 0x600507680184000060000000000005d4===&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am not very sure if you mean the LUN_NO&lt;BR /&gt;as lUN_ID&lt;BR /&gt;&lt;BR /&gt;To get the LUN no which is a numerical&lt;BR /&gt;combination of the last three octets&lt;BR /&gt;of CTD number can be find as below&lt;BR /&gt;( for MSA ) ,the calculation may vary a&lt;BR /&gt;bit with array type.&lt;BR /&gt;&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;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/LUN-details-with-mount-point/m-p/4780405#M390941" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/LUN-details-with-mount-point/m-p/4780405#M390941&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785331#M536203</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-07-11T15:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785332#M536204</link>
      <description>Thanks for the reply&lt;BR /&gt;I am using the same method to find lun number.&lt;BR /&gt;I am preparing storage report and here I need unique lun number for each disk.&lt;BR /&gt;</description>
      <pubDate>Sun, 08 May 2011 06:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785332#M536204</guid>
      <dc:creator>yash123</dc:creator>
      <dc:date>2011-05-08T06:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785333#M536205</link>
      <description>So you need LUN_NO &amp;amp; WWID to be precise &amp;amp; you &lt;BR /&gt;seems to be in right direction ,which ARRAY you&lt;BR /&gt;node has been connected to.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
      <pubDate>Sun, 08 May 2011 07:24:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785333#M536205</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-05-08T07:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785334#M536206</link>
      <description>we have EMC,HP-EVA&lt;BR /&gt;My simple doubt is lun id and wwid same?&lt;BR /&gt;</description>
      <pubDate>Sun, 08 May 2011 08:08:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785334#M536206</guid>
      <dc:creator>yash123</dc:creator>
      <dc:date>2011-05-08T08:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785335#M536207</link>
      <description>&lt;P&gt;It seems they are not same LUN_ID is a&lt;BR /&gt;a number assigned to the disk ..look @&lt;BR /&gt;the conversation below.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;EVA use the LUN ID for hosts.&lt;BR /&gt;because when you ioscan from the host, you will see the vdisk like cxtxdx.the number of txdx is calculated from this LUN ID.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Disk-Array/EVA-LUN-numbers-and-Vdisks/m-p/4213872#M27351" target="_blank"&gt;http://h30499.www3.hp.com/t5/Disk-Array/EVA-LUN-numbers-and-Vdisks/m-p/4213872#M27351&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785335#M536207</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-07-11T15:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785336#M536208</link>
      <description>on versions prior to 11.31 you need to use a utility from your Disk array provide.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2011 00:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785336#M536208</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2011-05-09T00:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785337#M536209</link>
      <description>1.first take the VGname in bdf command and take the PV name:ex:vg-emc12-sap-archive&lt;BR /&gt;2.# vgdisplay -v vg-emc12-sap-archive | grep PV&lt;BR /&gt;Max PV 2048&lt;BR /&gt;Cur PV 1&lt;BR /&gt;Act PV 1&lt;BR /&gt;Max PE per PV 15459&lt;BR /&gt;Total PVG 0&lt;BR /&gt;Total Spare PVs 0&lt;BR /&gt;Total Spare PVs in use 0&lt;BR /&gt;Used PV 1&lt;BR /&gt;PV Name /dev/disk/disk34&lt;BR /&gt;PV Status available&lt;BR /&gt;w218904dbss3001{root}:/root&lt;BR /&gt;# vgdisplay -v vg-emc12-sap-archive | grep PV&lt;BR /&gt;PV Name /dev/disk/disk34&lt;BR /&gt;gr lun_map -D /dev/rdisk/disk34 | grep Instance&lt;BR /&gt;Instance = 16&lt;BR /&gt;Instance = 29&lt;BR /&gt;details:16 or 29 that is the lunpath like if u have two qlogical drive it will show two path after that&lt;BR /&gt;# scsimgr get_attr -C lunpath -I 16 -a lunid&lt;BR /&gt;&lt;BR /&gt;SCSI ATTRIBUTES FOR LUN PATH : lunpath16&lt;BR /&gt;&lt;BR /&gt;name = lunid&lt;BR /&gt;current =0xc000000000000 (LUN # 12, Peripheral Addressing)&lt;BR /&gt;default =&lt;BR /&gt;saved =&lt;BR /&gt;LUN # 12&lt;BR /&gt;scsimgr get_attr -C lunpath -I (here u can give either 16 or 29 ) -a lunid&lt;BR /&gt;# scsimgr get_attr -C lunpath -I 29 -a lunid&lt;BR /&gt;&lt;BR /&gt;SCSI ATTRIBUTES FOR LUN PATH : lunpath29&lt;BR /&gt;&lt;BR /&gt;name = lunid&lt;BR /&gt;current =0xc000000000000 (LUN # 12, Peripheral Addressing)&lt;BR /&gt;default =&lt;BR /&gt;saved =&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Seenivasan</description>
      <pubDate>Mon, 09 May 2011 03:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785337#M536209</guid>
      <dc:creator>seenivasan</dc:creator>
      <dc:date>2011-05-09T03:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785338#M536210</link>
      <description>You can also use the dadm utility from the hpuxtoos found at hpux dot ch.</description>
      <pubDate>Mon, 09 May 2011 10:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/4785338#M536210</guid>
      <dc:creator>davesec</dc:creator>
      <dc:date>2011-05-09T10:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: lun ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/5437081#M536211</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:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lun-id/m-p/5437081#M536211</guid>
      <dc:creator>basant</dc:creator>
      <dc:date>2012-01-03T13:38:35Z</dc:date>
    </item>
  </channel>
</rss>

