- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find LUN Masking from ioscan
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
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
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-25-2007 12:32 AM
тАО08-25-2007 12:32 AM
How to find LUN Masking from ioscan
I would like to know some details for the below query:
1. How do you find from ioscan output that in Lun masking as occurred.
2. How to find the domain, area from ioscan output
3. Also, is there any way from HPUX to find out what is the node and wwn port number for any storage attached to the device.
Please let me know any link that describes or teaches.
Thanks in advance to all the HPUX gurus
Thanks,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2007 02:22 AM
тАО08-25-2007 02:22 AM
Re: How to find LUN Masking from ioscan
(If you saw everything before, there might now be several disk devices in the NO_HW state: you can clean them up with rmsf to keep things tidy.)
2.) These are included in the hardware path. Find the documentation for your HBA in the docs.hp.com website: the instructions for interpreting the hardware path for FibreChannel devices should be in there.
3.) With HP-UX 11.31 this is apparently easy with proper ioscan options; with older HP-UX versions, fcmsutil can do this but the command syntax is not very easy.
Example: if the HBA device name is /dev/td3 and the disk you're interested in is c36t15d3, the command is:
fcmsutil /dev/td3 get remote all < /dev/rdsk/c36t15d3
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2007 05:58 AM
тАО08-25-2007 05:58 AM
Re: How to find LUN Masking from ioscan
If you are using 11iv3, HPUX has more robust in managing Mass Storage stack
#ioscan ├в m lun
Displays the multiple paths to a LUN.
# scsimgr get_attr -D /dev/rdisk/disk49 -a wwid ├в a serial_number
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk49
name = wwid
current = 0x600805f30008389000000000bd6700af
default =
saved =
name = serial_number
current = P56350D9IOS0KR
default =
saved =
# scsimgr get_attr ├в H 0/2/1/0.0x500805f300083899.0x4011000000000000 -a lunid
SCSI ATTRIBUTES FOR LUN PATH : 0/2/1/0.0x500805f300083899.0x4011000000000000
name = lunid
current =0x4011000000000000 (LUN # 17, Flat Space Addressing)
default =
saved =
Hope this help
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 02:54 AM
тАО08-29-2007 02:54 AM
Re: How to find LUN Masking from ioscan
3. Also, is there any way from HPUX to find out what is the node and wwn port number for any storage attached to the device.
This will give you how many fiber channel adapters are installed.
$ /usr/sbin/ioscan -funC fc
This will give you the fc devices
ls /dev/td*
This will give you the WWN#s
/opt/fcms/bin/fcmsutil /dev/td0
/opt/fcms/bin/fcmsutil /dev/td1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 03:12 AM
тАО08-29-2007 03:12 AM
Re: How to find LUN Masking from ioscan
These can give more information
# fcmsutil /dev/td2
#fcmsuitl /dev/td2 vpd
#fcmsutil /dev/td2 stat
#fcmsutil /dev/td3 stat -s
#fcmsutil /dev/fcd5 get remote all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 03:21 AM
тАО08-29-2007 03:21 AM
Re: How to find LUN Masking from ioscan
The information you get from CLI commands like ioscan is from the O/S viewpoint. So with ioscan you can identify what disk is available to that particular host. But that's all. Similar for HBA.
But SAN's look from their own perspective. So you may notice there are actually two WWN's associated to each HBA. And depending on the card's vendor if they are the same or not; and what the number starts with is also dependant on the vendor. So knowing them, and knowing which WWN to use properly is another.
Would recommend you pick up a good book on SAN technology if that is something your interested in learning more about.
Rgrds,
Rita