- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: identify disks using LUN numbers, without GUID...
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
Forums
Discussions
Discussions
Discussions
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
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
09-18-2012 02:47 AM - edited 09-18-2012 04:47 AM
09-18-2012 02:47 AM - edited 09-18-2012 04:47 AM
when a new disk has been assigned to our hpux server, from HP EVA, the storage guys give us a GUID using which we can identify the disks in server OS
example:
a disk with GUID 12e
#evainfo -a| grep -i 12e
/dev/rdsk/c6t1d2 5001-4380-025D-9890 6005-08B4-000B-3F9F-0000-6000-012E-0000 41984MB Ctl-B/FP-2/Optimized
/dev/rdsk/c8t1d2 5001-4380-025D-9890 6005-08B4-000B-3F9F-0000-6000-012E-0000 41984MB Ctl-B/FP-1/Optimized
/dev/rdsk/c12t1d2 5001-4380-025D-9890 6005-08B4-000B-3F9F-0000-6000-012E-0000 41984MB Ctl-B/FP-1/Optimized
/dev/rdsk/c10t1d2 5001-4380-025D-9890 6005-08B4-000B-3F9F-0000-6000-012E-0000 41984MB Ctl-B/FP-1/Optimized
There is another storage team maintaining P6500 storage.
Recently they assigned the disks but have not given any GUIDs and suggest us to identify the disks using the LUN numbers.
Is there anyway, from the hpux OS, we can identify the disks using their LUN numbers?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2012 05:23 AM
09-18-2012 05:23 AM
Re: identify disks using LUN numbers, without GUIDs
Try this link, it should explain it for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2012 08:28 AM
09-18-2012 08:28 AM
Re: identify disks using LUN numbers, without GUIDs
Better to use evainfo as you know.
Do you run 11.31? More options there ...
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!

- Tags:
- evainfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2012 04:10 PM
09-18-2012 04:10 PM
Re: identify disks using LUN numbers, without GUIDs
from eva storage, when a vm host was assigned with a disk, we were given a GUID and we use evainfo -a | grep <GUID> to identify the disk...as I said in my earlier post.
To identify a disk using its loun decimal? I am not sure how to do this.
yes, we have 11.31 hpux OS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2012 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2012 01:55 PM - edited 09-19-2012 01:56 PM
09-19-2012 01:55 PM - edited 09-19-2012 01:56 PM
Re: identify disks using LUN numbers, without GUIDs
There are many post about how to convert the legacy h/w path of a LUN into the LUN number within this forum.
With 11.31 you have other ways to find a specific LUN.
Here is a 3PAR example:
On the array get the WWID of a specific LUN:
> showvv -d vv01
Id Name Rd Mstr Prnt Roch Rwch PPrnt PBlkRemain -----VV_WWN----- ------CreationTime------
1 vv01 RW 1/0/- --- --- --- --- -- 50002AC000012257 2012-09-07 08:52:53 CEST
-------------------------------------------------------------------------------------------
then do on the host
# scsimgr -p get _attr all _lun -a hw _path -a device _file -a wwid -a serial _number
...
64000/0xfa00/0xd:/dev/rdisk/disk17:0x50002ac000012257:01401234
and in this case you see vv01 on the array is disk17 on your host.
This works very similar with each other array, you just need to get the LUN wwid from the array (from command view or sssu in case of EVA).
The scsimgr command
# scsimgr -p get_attr all_lun -a hw_path -a device_file -a wwid -a serial_number -a lunid
has a problem with "lunid", but a command like this for instance 16 works:
# scsimgr get_attr -C lunpath -I 16 -a lunid
SCSI ATTRIBUTES FOR LUN PATH : lunpath16
name = lunid
current =0x4002000000000000 (LUN # 2, Flat Space Addressing)
default =
saved =
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!
