VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Administering VxVM in Cluster Environments
262 VERITAS Volume Manager Administrator’s Guide
Listing Shared Disk Groups
vxdg can beused to list informationabout shared diskgroups. To displayinformation for
all disk groups, use the following command:
# vxdg list
Example output from this command is displayed here:
NAME STATE ID
rootdg enabled 774215886.1025.teal
group2 enabled,shared 774575420.1170.teal
group1 enabled,shared 774222028.1090.teal
Shared disk groups are designated with the flag shared.
To display information for shared disk groups only, use the following command:
# vxdg -s list
Example output from this command is as follows:
NAME STATE ID
group2 enabled,shared 774575420.1170.teal
group1 enabled,shared 774222028.1090.teal
To display information about one specific disk group, use the following command:
# vxdg list diskgroup
where diskgroup is the disk group name.
For example, the output forthe commandvxdg list group1 on themaster is as follows:
Group: group1
dgid: 774222028.1090.teal
import-id: 32768.1749
flags: shared
version: 70
local-activation: exclusive-write
cluster-actv-modes: node0=ew node1=off
detach-policy: local
copies: nconfig=default nlog=default
config: seqno=0.1976 permlen=1456 free=1448 templen=6 loglen=220
config disk c1t0d0s2 copy 1 len=1456 state=clean online
config disk c1t1d0s2 copy 1 len=1456 state=clean online
log disk c1t0d0s2 copy 1 len=220
log disk c1t1d0s2 copy 1 len=220
Note that the flags field is set to shared. The output for the same command when run
on a slave is slightly different. Also note the local-activation and
cluster-actv-modes fields. These display the activation mode for this node and for
each node in the cluster respectively.