- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- determine lun size
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
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
тАО10-14-2010 10:18 AM
тАО10-14-2010 10:18 AM
I have just had the SAN team add some Hitachi array disk luns to a system. I can see them with ioscan -fnCdisk. Now what I would like to know is the disk size of those LUNs but don't remember how. We are using lvm.
disk 106 4/0/10/1/0.14.0.109.0.2.4 sdisk CLAIMED DEVICE HITACHI DF600F
/dev/dsk/c12t2d4 /dev/rdsk/c12t2d4
disk 107 4/0/10/1/0.14.0.109.0.2.5 sdisk CLAIMED DEVICE HITACHI DF600F
/dev/dsk/c12t2d5 /dev/rdsk/c12t2d5
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 10:40 AM
тАО10-14-2010 10:40 AM
Re: determine lun size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 10:49 AM
тАО10-14-2010 10:49 AM
Re: determine lun size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 10:57 AM
тАО10-14-2010 10:57 AM
Re: determine lun size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 11:09 AM
тАО10-14-2010 11:09 AM
Re: determine lun size
there should be some hitachi utility for hpux to ID the wwn of the lun. EVAs provide evainfo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 11:23 AM
тАО10-14-2010 11:23 AM
Re: determine lun size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 11:42 AM
тАО10-14-2010 11:42 AM
Re: determine lun size
Look under opt for a "commandview" subdirectory or look at "swlist" listing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 11:44 AM
тАО10-14-2010 11:44 AM
Re: determine lun size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2010 02:17 PM
тАО10-14-2010 02:17 PM
Re: determine lun size
TTr mentioned /opt/HORCM which is part of raidmanager, but if you dont use businesscopy or continuous access, or the hitachi equivalents of the xp namings, it will probably not installed on the system.
commandview for XP does exist, but it runs on a windows system and is more alike the sanappliance commandview that runs on a EVA, and is used to administer a XP, then anything remotely like commandviewVA. Also it will for the hitachi be named differently.
xpinfo utility would probably work on a hitachi system that is equal to a xp, however normally hp support would not give this utility to view the luns of a competitor storage array , and anyway a hitachi DF600F is a lun of one of hitachi's midrange storage, AMS or something like that, so the utility would not work anyway..
The long way, is offcourse to check on the hitachi diskarray what luns are defined to what histachi frontendports. And then check how these hitachi frontendports are zoned in with which host fc hba ports and then to see how these luns are then translated into device files..
But there is a shorter way, through vxvm, you could configure vxvm, with vxinstall, and normally it should give the different paths for each of device files, or if you dont want to configure vxvm, you can also use..
/etc/vx/diag.d/vxdmpinq, which will give for each /dev/rdsk device file the serial# of the lun.
f.e.
# /etc/vx/diag.d/vxdmpinq /dev/rdsk/c14t11d5
Inquiry for /dev/rdsk/c14t11d5, evpd 0x0, page code 0x0
Vendor id : HP
Product id : OPEN-V
Revision Number : 5001
Serial Number : 50 127120571
#/etc/vx/diag.d/vxdmpinq /dev/rdsk/c8t11d5
Inquiry for /dev/rdsk/c8t11d5, evpd 0x0, page code 0x0
Vendor id : HP
Product id : OPEN-V
Revision Number : 5001
Serial Number : 50 127120571
>> CONCLUSION -- same serial#, they are alternate links..
Greetz,
Chris
- 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
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
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
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..