Displaying disk group information

To display information on existing disk groups, enter the following command:

# vxdg list
rootdg  enabled   730344554.1025.tweety 
newdg   enabled   731118794.1213.tweety

To display more detailed information on a specific disk group, use the following command:

# vxdg list diskgroup

When you apply this command to a disk group named mydg, the output is similar to the following:

# vxdg list mydg
Group: mydg
dgid: 962910960.1025.bass
import-id: 0.1
version: 160
local-activation: read-write
alignment: 512 (bytes)
ssb: on
detach-policy: local
copies: nconfig=default nlog=default
config: seqno=0.1183 permlen=3448 free=3428 templen=12 loglen=522
config disk c0t10d0 copy 1 len=3448 state=clean online
config disk c0t11d0 copy 1 len=3448 state=clean online
log disk c0t10d0 copy 1 len=522
log disk c0t11d0 copy 1 len=522

To verify the disk group ID and name that is associated with a specific disk (for example, to import the disk group), use the following command:

# vxdisk -s list devicename

This command provides output that includes the following information for the specified disk. For example, output for disk c0t12d0 as follows:

Disk:   c0t12d0
type:   simple
flags:  online ready private autoconfig autoimport imported
diskid: 963504891.1070.bass
dgname: newdg
dgid:   963504895.1075.bass
hostid: bass
info:   privoffset=128