Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

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 -
Creating a disk group
You must associate a disk group with at least one disk. You can create a new disk
group when you select Add or initialize one or more disks from the main
menu of the vxdiskadm command to add disks to VxVM control. The disks to be
added to a disk group must not belong to an existing disk group.
You can create a shared disk group.
See Creating a shared disk group on page 455.
You can also use the vxdiskadd command to create a new disk group:
# vxdiskadd c1t0d0
where c1t0d0 is the device name of a disk that is not currently assigned to a disk
group. The command dialog is similar to that described for the vxdiskadm
command.
See Adding a disk to VxVM on page 109.
You can also create disk groups using the following vxdg init command:
# vxdg init diskgroup [cds=on|off] diskname=devicename
For example, to create a disk group named mktdg on device c1t0d0, enter the
following:
# vxdg init mktdg mktdg01=c1t0d0
Creating and administering disk groups
Creating a disk group
218