- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: determine lun size
Operating System - HP-UX
1752716
Members
5716
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО10-15-2010 05:05 AM
тАО10-15-2010 05:05 AM
Re: determine lun size
> locating alternate links...
The easiest way is to list the devices with the same TD numbers (CTD = controller or I/O card, T=target, D=disk) so if you're looking for alternate links for c12t2d4, do this:
ll /dev/dsk/c*t2d4
Then if you run pvcreate on one of the links, you can verify that it is the same disk with dd and xd:
dd if=/dev/rdsk/c12t2d4 bs=1k skip=9 count=1 2>/dev/null | xd -x
0000000 4c56 4d52 4543 3031 69ea 86f7 4b60 5af7
0000010 69ea 86f7 4b60 5c4a 0445 dcc8 0000 0006
The last two numbers (4b60 5af7) is the VGID (unique among every VG), and the 4th and 5th numbers on line 0000010 (4b60 5c4a) is the unique LUN or PV identification. Only alternate links will have the same exact PVID.
Bill Hassell, sysadmin
The easiest way is to list the devices with the same TD numbers (CTD = controller or I/O card, T=target, D=disk) so if you're looking for alternate links for c12t2d4, do this:
ll /dev/dsk/c*t2d4
Then if you run pvcreate on one of the links, you can verify that it is the same disk with dd and xd:
dd if=/dev/rdsk/c12t2d4 bs=1k skip=9 count=1 2>/dev/null | xd -x
0000000 4c56 4d52 4543 3031 69ea 86f7 4b60 5af7
0000010 69ea 86f7 4b60 5c4a 0445 dcc8 0000 0006
The last two numbers (4b60 5af7) is the VGID (unique among every VG), and the 4th and 5th numbers on line 0000010 (4b60 5c4a) is the unique LUN or PV identification. Only alternate links will have the same exact PVID.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2010 05:08 AM
тАО10-15-2010 05:08 AM
Re: determine lun size
> dd if=/dev/rdsk/c12t2d4 bs=1k skip=9 count=1 2>/dev/null | xd -x
Oops, that should be: skip=8:
dd if=/dev/rdsk/c12t2d4 bs=1k skip=8 count=1 2>/dev/null | xd -x
That pesky keyboard put the 9 too close to the 8.
Bill Hassell, sysadmin
Oops, that should be: skip=8:
dd if=/dev/rdsk/c12t2d4 bs=1k skip=8 count=1 2>/dev/null | xd -x
That pesky keyboard put the 9 too close to the 8.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2010 08:18 AM
тАО10-15-2010 08:18 AM
Re: determine lun size
If you have Hitachi arrays then probably you will have HDLM(Hitachi Dynamic Link Manager) installed on servers. It's load balancing software from Hitachi.
you can run dlnkmgr commands to see lun details and alt paths etc. It's useful utility to have if you are dealing with Hitachi Storage disks.
USA..
you can run dlnkmgr commands to see lun details and alt paths etc. It's useful utility to have if you are dealing with Hitachi Storage disks.
USA..
Good Luck..
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP