Datacentre Support Reference Guides

Visit our online shop for ALL your parts, components, laptops, electronics and gadgets
 

Veritas: ID free space in a disk group

 

 
 

There's a couple of ways to determine how much free space you have and/or can use in a particular disk group. To print out the entire free space, issue:


vxdg -g ${group} | grep -i '^${group}' | \

   awk '{Sum += $6} END {printf ("Megs free: %.2f\n",Sum/2048)}'


That will tell you the grand total of megs free in ${group}'s disk group. That may or may not be the largest amount of space that you can use. Veritas can show you what it thinks the largest volume it can create using the layout of your choice by executing the following command:


vxassist maxsize layout=${layout}

where layout = simple | stripe | raid5

For example:

  1. vxassist maxsize layout=simple
    Maximum volume size: 376832 (184 Megs)

  2. vxassist maxsize layout=stripe
    Maximum volume size: 376832 (184 Megs)

  3. vxassist maxsize layout=raid5
    Maximum volume size: 376832 (184 Megs)