how do I find out what is the total size of a Veritas Disk group ?
when I use vxassist -g maxsize it gives me only the free space left . I do not have a GUI .
thanks
Sagar
This is the output i get from vxdg -g diskgroup free
DISK DEVICE TAG OFFSET LENGTH FLAGS
forddg01 c0t1d0s2 c0t1d0 16683834 994659 n
forddg02 c0t2d0s2 c0t2d0 6149520 2229120 n
forddg03 c2t1d0s2 c2t1d0 16683834 994659 n
forddg04 c3t3d0s2 c3t3d0 5944320 2434320 n
I want to find out total not just the free space .
3.) To include the space on disks that were in a disk group that was deported, or space that was not associated with any disk groups but were already under VxVM or in other words, to find out the total space or capacity of all VxVM disks, use vxdisk:
# vxdisk -q list | awk '{ if ($5 == "online" print $1}' | xargs vxdisk list | grep "^public:" | awk -F'=' 'BEGIN {s=0} {s+=$NF} END {print s}'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.