Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2011 10:18 PM
тАО05-07-2011 10:18 PM
Else please provide the command to find LUN id in all HP UX versions.
I know storage vendor specific commands like inq etc
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2011 10:49 PM - last edited on тАО07-11-2011 08:38 AM by Kevin_Paul
тАО05-07-2011 10:49 PM - last edited on тАО07-11-2011 08:38 AM by Kevin_Paul
SolutionThe WWID is enough to replace a disk/LUN
on HP-UX what exactly you want to achieve
in this case ,please post
To get the WWWID the command is below
# scsimgr get_info all_lpt -D /dev/rdisk/disk1484
STATUS INFORMATION FOR LUN PATH : lunpath993
Generic Status Information
SCSI services internal state = STANDBY
Open close state = STANDBY
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x600507680184000060000000000005d4===>
I am not very sure if you mean the LUN_NO
as lUN_ID
To get the LUN no which is a numerical
combination of the last three octets
of CTD number can be find as below
( for MSA ) ,the calculation may vary a
bit with array type.
an ioscan -fnCdisk will give something like:
disk 249 0/2/1/0.3.0.239.0.13.6 sdisk CLAIMED DEVICE HP MSA2312fc
/dev/dsk/c33t13d6 /dev/rdsk/c33t13d6
Taking the last 3 octets of the disk HW address,
0.13.6
you can calculate the LUN from the array by:
LUN= $(( 128*0 + 8*13 + 6 )) = 110
or generally by 128*3rd + 8*2nd + 1st
http://h30499.www3.hp.com/t5/System-Administration/LUN-details-with-mount-point/m-p/4780405#M390941
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2011 11:48 PM
тАО05-07-2011 11:48 PM
Re: lun ID
I am using the same method to find lun number.
I am preparing storage report and here I need unique lun number for each disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2011 12:24 AM
тАО05-08-2011 12:24 AM
Re: lun ID
seems to be in right direction ,which ARRAY you
node has been connected to.
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2011 01:08 AM
тАО05-08-2011 01:08 AM
Re: lun ID
My simple doubt is lun id and wwid same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2011 08:43 AM - last edited on тАО07-11-2011 08:36 AM by Kevin_Paul
тАО05-08-2011 08:43 AM - last edited on тАО07-11-2011 08:36 AM by Kevin_Paul
Re: lun ID
It seems they are not same LUN_ID is a
a number assigned to the disk ..look @
the conversation below.
>>>EVA use the LUN ID for hosts.
because when you ioscan from the host, you will see the vdisk like cxtxdx.the number of txdx is calculated from this LUN ID.
http://h30499.www3.hp.com/t5/Disk-Array/EVA-LUN-numbers-and-Vdisks/m-p/4213872#M27351
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2011 05:56 PM
тАО05-08-2011 05:56 PM
Re: lun ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2011 08:03 PM
тАО05-08-2011 08:03 PM
Re: lun ID
2.# vgdisplay -v vg-emc12-sap-archive | grep PV
Max PV 2048
Cur PV 1
Act PV 1
Max PE per PV 15459
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Used PV 1
PV Name /dev/disk/disk34
PV Status available
w218904dbss3001{root}:/root
# vgdisplay -v vg-emc12-sap-archive | grep PV
PV Name /dev/disk/disk34
gr lun_map -D /dev/rdisk/disk34 | grep Instance
Instance = 16
Instance = 29
details:16 or 29 that is the lunpath like if u have two qlogical drive it will show two path after that
# scsimgr get_attr -C lunpath -I 16 -a lunid
SCSI ATTRIBUTES FOR LUN PATH : lunpath16
name = lunid
current =0xc000000000000 (LUN # 12, Peripheral Addressing)
default =
saved =
LUN # 12
scsimgr get_attr -C lunpath -I (here u can give either 16 or 29 ) -a lunid
# scsimgr get_attr -C lunpath -I 29 -a lunid
SCSI ATTRIBUTES FOR LUN PATH : lunpath29
name = lunid
current =0xc000000000000 (LUN # 12, Peripheral Addressing)
default =
saved =
#
Regards,
Seenivasan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 03:46 AM
тАО05-09-2011 03:46 AM
Re: lun ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2012 05:38 AM
тАО01-03-2012 05:38 AM
Re: lun ID
disk 24 0/3/0/0/0/0.214.1.239.0.0.6 sdisk CLAIMED DEVICE DGC CX3-80WDR5
/dev/dsk/c3t0d6 /dev/rdsk/c3t0d6
128*0+8*0+6=6
but #powermt display dev=all
is showing lun id is 256
Please tell me how it is possible