Disk group free space calculation
Hi
root@murray # vxdg -g RMTSTP01_ora_arch_dg free
DISK DEVICE TAG OFFSET LENGTH FLAGS
RMLS01_ora_arch_dg01 emcpower16s2 emcpower16 140509184 85915904 >>>>>>>>>>>140509184*512/1024 = 67 GB - calculated
RMLS01_ora_arch_dg02 emcpower17s2 emcpower17 224395264 2029824 >>>>>>> 224395264 *512/1024 =107 GB calculated
RMLS01_ora_arch_dg03 emcpower18s2 emcpower18 0 226425088 -
RMLS01_ora_arch_dg04 emcpower19s2 emcpower19 0 226425088 -
root@murray # vxassist -g RMLS01_ora_bin_dg maxsize
Maximum volume size: 129955840 (63455Mb)
When I crosschecked with 63455/1024 = 62GB
When I calculate
From vxassist -g RMLS01_ora_bin_dg maxsize it shows (63455Mb) - 62GB
From vxdg -g RMTSTP01_ora_arch_dg free it shows 67+ 107 GB
As checked by these two outputs they have the space size shows different, please let me know why and for which command I have to use to check teh free space in disk grp?
A couple of issues here:
- You are using arch_dg in vxdg free and bin_dg in vxassist maxsize
- You are adding up the offsets. not the lengths.
So free space in arch_dg is:
85915904 +2029824+226425088+226425088=540795904
540795904/2048=264060 MB
264060/1024 = 257GBMike