- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find the LUN path and storage box detai...
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
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
тАО08-19-2010 07:24 AM
тАО08-19-2010 07:24 AM
I am new to HP-UX. I have some questions on finding LUN path and storage box details (target).
1)How to find if we are having multiple paths to single LUN?
2)How to find, if two LUNs are belonging to same storage box?
3)How to find SAN swith details of a LUN?
4)How to find storage box details of a LUN?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 08:17 AM
тАО08-19-2010 08:17 AM
SolutionHope 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 11:27 AM
тАО08-19-2010 11:27 AM
Re: How to find the LUN path and storage box details (target).
what type of storage array? Like Torsten mentioned different storage types have different tools to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 01:22 PM
тАО08-19-2010 01:22 PM
Re: How to find the LUN path and storage box details (target).
managing lun's from 11i v2 or 11i v3 could be different. Once again knowing t he version is important.
Regards/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2010 05:30 AM
тАО08-21-2010 05:30 AM
Re: How to find the LUN path and storage box details (target).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2010 10:18 AM
тАО08-21-2010 10:18 AM
Re: How to find the LUN path and storage box details (target).
1) ioscan -m hwpath
2) scsimgr -p get_attr -a vid -a pid -a serial_number -a device_file all_lun | sort
3) ioscan -fnkNCtgtpath
4) scsimgr get_info -D /dev/rdisk/disk30
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2010 07:01 AM
тАО09-07-2010 07:01 AM
Re: How to find the LUN path and storage box details (target).
I have executed following commands in one HP-UX 11.31 server:
1)# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/6/0/0/0/0/4/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3
disk 1 0/6/0/0/0/0/4/0/0/0.0.1 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c0t0d1 /dev/rdsk/c0t0d1
disk 4 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
2)# ioscan -funNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 2 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk2 /dev/disk/disk2_p2 /dev/rdisk/disk2 /dev/rdisk/disk2_p2
/dev/disk/disk2_p1 /dev/disk/disk2_p3 /dev/rdisk/disk2_p1 /dev/rdisk/disk2_p3
disk 3 64000/0xfa00/0x2 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk3 /dev/rdisk/disk3
disk 5 64000/0xfa00/0x3 esdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/disk/disk5 /dev/rdisk/disk5
3)# ioscan -m hwpath
Lun H/W Path Lunpath H/W Path Legacy H/W Path
====================================================================
64000/0xfa00/0x0
0/6/0/0/0/0/4/0/0/0.0x0.0x0
64000/0xfa00/0x1
0/6/0/0/0/0/4/0/0/0.0x0.0x4000000000000000 0/6/0/0/0/0/4/0/0/0.0.0
64000/0xfa00/0x2
0/6/0/0/0/0/4/0/0/0.0x0.0x4000000000000001 0/6/0/0/0/0/4/0/0/0.0.1
64000/0xfa00/0x3
64000/0x0/0x0.0x0.0x0 255/1/0.0.0
4)# scsimgr -p get_attr -a vid -a pid -a serial_number -a device_file all_lun | sort
"HP ":"LOGICAL VOLUME ":"PAFGL0N9SWO0AP":/dev/rdisk/disk2
"HP ":"LOGICAL VOLUME ":"PAFGL0N9SWO0AP":/dev/rdisk/disk3
"HP ":"P400 ":"PAFGL0N9SWO0AP":/dev/pt/pt0
"TEAC ":"DVD-ROM DW-224EV"::/dev/rdisk/disk5
5)# ioscan -fnkNC tgtpath
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
tgtpath 0 0/6/0/0/0/0/4/0/0/0.0x0 estp CLAIMED TGT_PATH parallel_scsi target served by ciss driver, target port id 0x0
tgtpath 1 64000/0x0/0x0.0x0 estp CLAIMED TGT_PATH usb target served by usb_ms_scsi driver, target port id 0x0
6)# scsimgr get_info -D /dev/rdisk/disk3
STATUS INFORMATION FOR LUN : /dev/rdisk/disk3
Generic Status Information
SCSI services internal state = ONLINE
Device type = Direct_Access
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x600508b100104e3953574f3041500001
Serial number = "PAFGL0N9SWO0AP"
Vendor id = "HP "
Product id = "LOGICAL VOLUME "
Product revision = "5.20"
Other properties = ""
SPC protocol revision = 2
Open count (includes chr/blk/pass-thru/class) = 1
Raw open count (includes class/pass-thru) = 0
Pass-thru opens = 0
LUN path count = 1
Active LUN paths = 1
Standby LUN paths = 0
Failed LUN paths = 0
Maximum I/O size allowed = 1048576
Preferred I/O size = 1048576
Outstanding I/Os = 0
I/O load balance policy = round_robin
Path fail threshold time period = 0
Transient time period = 120
Tracing buffer size = 1024
LUN Path used when policy is path_lockdown = NA
LUN access type = NA
Asymmetric logical unit access supported = No
Asymmetric states supported = NA
Preferred paths reported by device = No
Preferred LUN paths = 0
Driver esdisk Status Information :
Capacity in number of blocks = 1146733360
Block size in bytes = 512
Number of active IOs = 0
Special properties =
Maximum number of IO retries = 45
IO transfer timeout in secs = 30
FORMAT command timeout in secs = 86400
START UNIT command timeout in secs = 60
Timeout in secs before starting failing IO = 120
IO infinite retries = false
My Questions:
1)Explain me the purpose of each command?
2)How to use above details to followings?
i)How to find if we are having multiple paths to single LUN?
ii)How to find, if two LUNs are belonging to same storage box?
iii)How to find SAN swith details of a LUN?
iv)How to find storage box details of a LUN?