VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Chapter 4, Creating and Administering Disk Groups
Displaying Disk Group Information
109
Displaying Disk Group Information
To display information on existing disk groups, enter the following command:
# vxdg list
VxVM returns the following listing of current disk groups:
NAME STATE ID
rootdg enabled 730344554.1025.tweety
newdg enabled 731118794.1213.tweety
To display more detailed information on a specific disk group (such as rootdg), use the
following command:
# vxdg list rootdg
The output from this command is similar to the following:
Group: rootdg
dgid: 962910960.1025.bass
import-id: 0.1
flags:
version: 90
local-activation: read-write
detach-policy: local
copies: nconfig=default nlog=default
config: seqno=0.1183 permlen=727 free=722 templen=2 loglen=110
config disk c0t10d0 copy 1 len=727 state=clean online
config disk c0t11d0 copy 1 len=727 state=clean online
log disk c0t10d0 copy 1 len=110
log disk c0t11d0 copy 1 len=110
To verify the disk group ID and name 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