vxdg can be used to list information about shared disk groups. To display information for all disk groups, use the following command:
# vxdg list
Example output from this command is displayed here:
NAME STATE ID 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
The following is example output for the command vxdg list tempdg on the master:
Group: tempdg dgid: 1245902808.74.ts4200-04 import-id: 33792.73 flags: shared cds version: 150 alignment: 8192 (bytes) local-activation: shared-write cluster-actv-modes: ts4200-04=sw ts4200-06=sw ts4200-05=sw ssb: on autotagging: on detach-policy: global dg-fail-policy: dgdisable copies: nconfig=default nlog=default config: seqno=0.1027 permlen=0 free=0 templen=0 loglen=0
Note that the flags field is set to shared. The output for the same command when run on a slave is slightly different. The local-activation and cluster-actv-modes fields display the activation mode for this node and for each node in the cluster respectively. The detach-policy and dg-fail-policy fields indicate how the cluster behaves in the event of loss of connectivity to the disks, and to the configuration and log copies on the disks.