Operating System - HP-UX
1748213 Members
3129 Online
108759 Solutions
New Discussion юеВ

Re: Command to find alt links of a particular disk in vxvm

 
SOLVED
Go to solution
shikhar_1
Regular Advisor

Command to find alt links of a particular disk in vxvm

Hi,

 

 

Command to find the alt links of a particular disk in vxvm.

 

Thanks.

 

4 REPLIES 4
naveej
New Member

Re: Command to find alt links of a particular disk in vxvm

Hi

#vgdisplay -v
it will give the out put of all header volume i each volume group ,

Also lvinfo and physical disk info and alt

--- Physical volumes ---
PV Name /dev/dsk/c67t0d2
PV Name /dev/dsk/c59t0d2 Alternate Link
PV Status available
Total PE 888
Free PE 408
Autoswitch On
Proactive Polling On
shikhar_1
Regular Advisor

Re: Command to find alt links of a particular disk in vxvm

I am not asking for LVM. My question was for vxvm.

Torsten.
Acclaimed Contributor

Re: Command to find alt links of a particular disk in vxvm

You can try

 

# vxdisk list

 

or

 

# vxdiskadm


and list the

disk details.


Hope 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!   
Cortes Albertino
Trusted Contributor
Solution

Re: Command to find alt links of a particular disk in vxvm

Hello,

As previously written in this thread,

"vxdisk list " is a good starting point for that purpose.

 As follows for example, you may notice the "Multipathing information" 
and "numpaths:   3" items.


# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0       auto:hpdisk     rootdisk01   rootdg       online
c1t0d1       auto:LVM        -            -            LVM
c1t1d0       auto:none       -            -            online invalid
c1t1d1       auto:cdsdisk    c7t1d1       dgCFS        online shared
c1t1d2       auto:none       -            -            online invalid
c1t1d3       auto:none       -            -            online invalid
c1t1d4       auto:none       -            -            online invalid
c1t1d5       auto:LVM        -            -            LVM
c1t1d6       auto:LVM        -            -            LVM
c1t1d7       auto:none       -            -            online invalid
c1t2d0       auto:LVM        -            -            LVM
c1t2d1       auto:none       -            -            online invalid
c1t2d2       auto:cdsdisk    -            -            online
c1t2d3       auto:none       -            -            online invalid
c1t2d4       auto:none       -            -            online invalid
c1t2d5       auto:none       -            -            online invalid
c1t2d6       auto:cdsdisk    disk02       yidg         online
c1t2d7       auto:cdsdisk    disk01       yidg         online

 

# vxdisk list c1t1d1
Device:    c1t1d1
devicetag: c1t1d1
type:      auto
clusterid: cl_CFS
disk:      name=c7t1d1 id=1305275022.68.MYHOSTNAME
group:     name=dgCFS id=1305275705.70.MYHOSTNAME
info:      format=cdsdisk,privoffset=128
flags:     online ready private autoconfig shared autoimport imported
pubpaths:  block=/dev/vx/dmp/c1t1d1 char=/dev/vx/rdmp/c1t1d1
guid:      {4fcb182e-1dd2-11b2-8768-00306e271f6e}
udid:      HP%5F0450%5FF65E%5F0450F65E0629
site:      -
version:   3.1
iosize:    min=512 (bytes) max=1024 (blocks)
public:    slice=0 offset=32896 len=7141184 disk_offset=0
private:   slice=0 offset=128 len=32768 disk_offset=0
update:    time=1317114562 seqno=0.17
ssb:       actual_seqno=0.0
headers:   0 120
configs:   count=1 len=24072
logs:      count=1 len=3648
Defined regions:
 config   priv 000024-000119[000096]: copy=01 offset=000000 enabled
 config   priv 000128-024103[023976]: copy=01 offset=000096 enabled
 log      priv 024104-027751[003648]: copy=01 offset=000000 enabled
 lockrgn  priv 027752-027823[000072]: part=00 offset=000000
Multipathing information:
numpaths:   3
c1t1d1  state=enabled
c3t1d1  state=enabled
c7t1d1  state=disabled

 


# vxdmpadm getsubpaths dmpnodename=c1t1d1
NAME         STATE[A]   PATH-TYPE[M] CTLR-NAME  ENCLR-TYPE   ENCLR-NAME    ATTRS
==================================================тАЛ==============================
c1t1d1       ENABLED(A)   -          c1         XP1024       XP10240          -
c3t1d1       ENABLED(A)   -          c3         XP1024       XP10240          -
c7t1d1       DISABLED     -          c7         XP1024       XP10240          -