Forum Discussion

gmathew's avatar
gmathew
Level 3
15 years ago

How to find the free space in VxVM 4.1mp3

When i run the vxdg free command I see the length colum. Looking at the length output how do i calculate how much free space do i have? Below is an example of vxdg free # vxdg -g datadg free...
  • g_lee's avatar
    15 years ago
    length is shown in sectors, so add the values together and work out how many bytes/kb/mb/gb that is depending on your platform.

    NB: if you want to see the largest volume you can create (subject to default constraints, etc) then:
    # vxassist -g <dg> maxsize
    shows the largest size that can be created with the remaining/available space in a somewhat more readable format (not per disk though)