- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disk list (w/o alternate)
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
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
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
01-03-2008 07:35 AM
01-03-2008 07:35 AM
is there a simple way to have the list of disks on the system and to know if it's an alternate disk or not?
of course with the vgdisplay we can have this information but it seems too easy, i've some systems without lvm but veritas instead ;)
ioscan is not my friend on this problem
PS: it's for hpux 11.00 and 11.11.
--
Regards,
Cedrick Gaillard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 07:56 AM
01-03-2008 07:56 AM
Re: disk list (w/o alternate)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 08:00 AM
01-03-2008 08:00 AM
SolutionDynamic Multi Pathing?
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t3d0 simple dg0001 dg01 online
will show all disk without the alternate path.
# vxdmpadm getsubpaths dmpnodename=c1t3d0
NAME STATE PATH-TYPE CTLR-NAME ENCLR-TYPE ENCLR-NAME
==================================================================
c1t3d0 ENABLED - c1 EMC emc0
c7t3d0 ENABLED - c7 EMC emc0
above example shows c7t3d0 as the alternate path for c1t3d0.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 08:52 AM
01-03-2008 08:52 AM
Re: disk list (w/o alternate)
i searched for a scriptable command, vxdmpadm seems to be ok for me.
i'm just surprised that i need to use an lvm or vxvm command for having these informations, thought that diskinfo or ioscan could get it.
but anyway, i've my answer ;)
--
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 09:47 AM
01-03-2008 09:47 AM
Re: disk list (w/o alternate)
If they are EMC LUNS, then there is a free utility called inq which will allow you to script this (and it doesn't matter if the disks are in lvm, vxvm, raw, or not even assigned).
# inq
Inquiry utility, Version V7.3-771 (Rev 0.0) (SIL Version V6.3.0.0 (Edit Level 771)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.
.......................................................
------------------------------------------------------------------------------
DEVICE :VEND :PROD :REV :SER NUM :CAP(kb)
------------------------------------------------------------------------------
/dev/rdsk/c0t0d0 :TEAC :DV-28E-N :C.6C : : -----
/dev/rdsk/c3t0d0 :EMC :SYMMETRIX :5771 :5200022000 : 5760
/dev/rdsk/c3t3d7 :EMC :SYMMETRIX :5771 :52000e3000 : 77760000
/dev/rdsk/c3t4d0 :EMC :SYMMETRIX :5771 :52000e7000 : 77760000
/dev/rdsk/c3t4d1 :EMC :SYMMETRIX :5771 :52000eb000 : 77760000
/dev/rdsk/c3t4d2 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c3t4d2s1 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c3t4d2s2 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c3t4d2s3 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c3t12d0 :EMC :SYMMETRIX :5771 :52004f9000 : 77760000
/dev/rdsk/c3t12d1 :EMC :SYMMETRIX :5771 :52002d5000 : 77760000
/dev/rdsk/c3t12d2 :EMC :SYMMETRIX :5771 :52002d9000 : 77760000
/dev/rdsk/c3t13d4 :EMC :SYMMETRIX :5771 :5200357000 : 77760000
/dev/rdsk/c3t13d5 :EMC :SYMMETRIX :5771 :520035b000 : 77760000
/dev/rdsk/c3t13d6 :EMC :SYMMETRIX :5771 :520035f000 : 77760000
/dev/rdsk/c3t13d7 :EMC :SYMMETRIX :5771 :52005d1000 : 77760000
/dev/rdsk/c3t14d0 :EMC :SYMMETRIX :5771 :52005d5000 : 77760000
/dev/rdsk/c3t14d1 :EMC :SYMMETRIX :5771 :52005d9000 : 77760000
/dev/rdsk/c3t14d4 :EMC :SYMMETRIX :5771 :5200607000 : 77760000
/dev/rdsk/c3t14d5 :EMC :SYMMETRIX :5771 :520060b000 : 77760000
/dev/rdsk/c3t14d6 :EMC :SYMMETRIX :5771 :520060f000 : 77760000
/dev/rdsk/c3t14d7 :EMC :SYMMETRIX :5771 :5200613000 : 77760000
/dev/rdsk/c3t15d0 :EMC :SYMMETRIX :5771 :5200617000 : 77760000
/dev/rdsk/c3t15d1 :EMC :SYMMETRIX :5771 :520061b000 : 77760000
/dev/rdsk/c9t0d0 :EMC :SYMMETRIX :5771 :5200022000 : 5760
/dev/rdsk/c9t3d7 :EMC :SYMMETRIX :5771 :52000e3000 : 77760000
/dev/rdsk/c9t4d0 :EMC :SYMMETRIX :5771 :52000e7000 : 77760000
/dev/rdsk/c9t4d1 :EMC :SYMMETRIX :5771 :52000eb000 : 77760000
/dev/rdsk/c9t4d2 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c9t4d2s1 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c9t4d2s2 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c9t4d2s3 :EMC :SYMMETRIX :5771 :52000ef000 : 77760000
/dev/rdsk/c9t12d0 :EMC :SYMMETRIX :5771 :52004f9000 : 77760000
/dev/rdsk/c9t12d1 :EMC :SYMMETRIX :5771 :52002d5000 : 77760000
/dev/rdsk/c9t12d2 :EMC :SYMMETRIX :5771 :52002d9000 : 77760000
/dev/rdsk/c9t13d4 :EMC :SYMMETRIX :5771 :5200357000 : 77760000
/dev/rdsk/c9t13d5 :EMC :SYMMETRIX :5771 :520035b000 : 77760000
/dev/rdsk/c9t13d6 :EMC :SYMMETRIX :5771 :520035f000 : 77760000
/dev/rdsk/c9t13d7 :EMC :SYMMETRIX :5771 :52005d1000 : 77760000
/dev/rdsk/c9t14d0 :EMC :SYMMETRIX :5771 :52005d5000 : 77760000
/dev/rdsk/c9t14d1 :EMC :SYMMETRIX :5771 :52005d9000 : 77760000
/dev/rdsk/c9t14d4 :EMC :SYMMETRIX :5771 :5200607000 : 77760000
/dev/rdsk/c9t14d5 :EMC :SYMMETRIX :5771 :520060b000 : 77760000
/dev/rdsk/c9t14d6 :EMC :SYMMETRIX :5771 :520060f000 : 77760000
/dev/rdsk/c9t14d7 :EMC :SYMMETRIX :5771 :5200613000 : 77760000
/dev/rdsk/c9t15d0 :EMC :SYMMETRIX :5771 :5200617000 : 77760000
/dev/rdsk/c9t15d1 :EMC :SYMMETRIX :5771 :520061b000 : 77760000
/dev/rdsk/c13t0d0 :HP :IR Volume :HP01 :LSI Inte : 71288832
/dev/rdsk/c13t0d0s1 :HP :IR Volume :HP01 :LSI Inte : 71288832
/dev/rdsk/c13t0d0s2 :HP :IR Volume :HP01 :LSI Inte : 71288832
/dev/rdsk/c13t0d0s3 :HP :IR Volume :HP01 :LSI Inte : 71288832
/dev/rdsk/c13t1d0 :HP :DG072A9BB7 :HPD0 :B365P730 : 71687369
/dev/rdsk/c13t2d0 :HP :DG072A9BB7 :HPD0 :B365P730 : 71687369
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 10:11 AM
01-03-2008 10:11 AM
Re: disk list (w/o alternate)
0/10/0/0 eva1pri
1/10/0/0 eva1alt
or ( for multiple arrays and paths)
0/0/10/1/0.20.10 eva1pri
0/10/0/0.20.20 eva1alt
1/10/0/0.20.20 eva1alt
1/0/10/1/0.20.10 eva1pri
0/0/10/1/0.20.2 eva2pri
1/0/10/1/0.20.15 eva2alt
.....
The script will read in the above and depending on pri or alt relate the information differently depending on what type of path it is.
I am sure there are a number of more eloquent ways to determine, i.e. symm utils or eva utils but this was a simple solution.