cancel
Showing results for 
Search instead for 
Did you mean: 

difference in vxdg free and vxassist maxgrow

uvaraju
Level 2

Hi

I need to find a free disk space from allocated disk of a volume. So that I want extend the volume and file system in that disk.

df -k|grep -i test
/dev/vx/dsk/testdg/test_data02 16514554 15752753  596656    97%    /u01/data02/test


vxdg -g testdg free
root@vwsorad05 # vxdg -g testdg free
DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS
test_pv001 emcpower111s2 emcpower111  15704064  2024704   - <<<988mb
test_pv002 emcpower112s2 emcpower112  15704064  2024704   - <<<988mb
test_pv003 emcpower113s2 emcpower113  9412608   8316160   - <<<4060mb
test_pv004 emcpower114s2 emcpower114  3145728   14583040  - <<<7120mb
test_pv005 emcpower115s2 emcpower115  11534336  6194432   - <<<3024mb
test_pv006 emcpower116s2 emcpower116  0         4194304   - <<<2048mb
test_pv006 emcpower116s2 emcpower116  12582912  5145856   - <<<2512mb
test_pv007 emcpower118s2 emcpower118  17727488  1280      - <<<0mb


echo "(988+988+4060+7120+3024+2048+2512)/1024"|bc
Total free space in DG is 20 GB

# vxassist -g testdg maxgrow test_data02
Volume test_data02 can be extended by 42483712 to: 76038144 (37128Mb)

As per Vxassist maxgrow it can be extended by 36 GB

My doubt is that from where do vxassist got 16GB extra space ?

1 ACCEPTED SOLUTION

Accepted Solutions

g_lee
Level 6

Read the vxassist maxgrow output carefully ie: the section in italics:

# vxassist -g testdg maxgrow test_data02
Volume test_data02 can be extended by 42483712 to: 76038144 (37128Mb)

42483712 sectors / (1024 * 1024 * 2) ~ 20.25GB

There is no discrepancy/difference - it appears the volume test_data02 is already 15-16GB, and the maxgrow is saying you are able to grow it by ~20GB (ie: what's available in vxdg free) to 36GB

View solution in original post

3 REPLIES 3

g_lee
Level 6

Read the vxassist maxgrow output carefully ie: the section in italics:

# vxassist -g testdg maxgrow test_data02
Volume test_data02 can be extended by 42483712 to: 76038144 (37128Mb)

42483712 sectors / (1024 * 1024 * 2) ~ 20.25GB

There is no discrepancy/difference - it appears the volume test_data02 is already 15-16GB, and the maxgrow is saying you are able to grow it by ~20GB (ie: what's available in vxdg free) to 36GB

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I agree with Grace - have another look at this output:

"Volume test_data02 can be extended by 42483712 to: 76038144 (37128Mb)"

It says "can be extended by 42483712 to: 76038144 (37128Mb)"

 

uvaraju
Level 2

Thank you lee and Marianne for clearing my doubt