Symantec logo

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 hdisk3 hdisk3  0 4444228 -

mydg mydg02 hdisk4 hdisk4  0 4443310 -

newdg newdg01 hdisk5 hdisk5   0 4443310 -

newdg newdg02 hdisk6 hdisk6  0 4443310 -

oradg oradg01 hdisk7 hdisk7  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 hdisk3 hdisk3 0 4444228 -

mydg02 hdisk4 hdisk4 0 4443310 -