- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- identify disks using LUN numbers, without GUIDs
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
identify disks using LUN numbers, without GUIDs
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-18-2012 05:23 AM
09-18-2012 05:23 AM
Re: identify disks using LUN numbers, without GUIDs
Re: identify disks using LUN numbers, without GUIDs
Try this link, it should explain it for you.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-18-2012 08:28 AM
09-18-2012 08:28 AM
Re: identify disks using LUN numbers, without GUIDs
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!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-18-2012 04:10 PM
09-18-2012 04:10 PM
Re: identify disks using LUN numbers, without GUIDs
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-19-2012 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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!

Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP