Previous  |  Next  >  
Product: Volume Manager Guides   
Manual: Volume Manager 4.1 Administrator's Guide   

Displaying Disk Group Information

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


vxdg list
NAME    STATE     ID 
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

The output from this command is similar to the following:


Group: mydg
dgid: 962910960.1025.bass
import-id: 0.1
flags:
version: 110
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
Note   Note    In this example, the administrator has chosen to name the boot disk group as rootdg.

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

Displaying Free Space in a Disk Group

Before you add volumes and file systems to your system, make sure you have enough free disk space to meet your needs.

To display free space in the system, use the following command:


# vxdg free

The following is example output:


GROUP     DISK      DEVICE        TAG        OFFSET     LENGTH     FLAGS
mydg     mydg01      c0t10d0        c0t10d0         0     4444228     -
mydg     mydg02      c0t11d0        c0t11d0         0     4443310     -
newdg     newdg01      c0t12d0        c0t12d0          0     4443310     -
newdg     newdg02      c0t13d0        c0t13d0         0     4443310     -
oradg     oradg01      c0t14d0        c0t14d0         0     4443310     -

To display free space for a disk group, use the following command:


# vxdg -g diskgroup free

where -g diskgroup optionally specifies a disk group.

For example, to display the free space in the disk group, mydg, use the following command:


# vxdg -g mydg free 

The following example output shows the amount of free space in sectors:


DISK      DEVICE        TAG        OFFSET     LENGTH      FLAGS
mydg01      c0t10d0        c0t10d0        0     4444228      -
mydg02      c0t11d0        c0t11d0        0     4443310      -
 ^ Return to Top Previous  |  Next  >  
Product: Volume Manager Guides  
Manual: Volume Manager 4.1 Administrator's Guide  
VERITAS Software Corporation
www.veritas.com