Symptoms
Can we find the disk space usage and free space on the ScaleIO volume?ScaleIO Volume (thick) is presented to the SDC. How can we find the disk space usage and free space information on the ScaleIO volume?
Resolution
In ScaleIO get_info we do not collect the information regarding the Disk space used and free on the ScaleIO Volume. In order to find this information we need to find it from the Operating system to which the ScaleIO volume is presented.In case the ScaleIO Volume is presented to an ESXi host (SDC), you can run the command df -h and find the free spaceFor more information, please refer to the VMWare KB article https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003564You may see information like below:-Filesystem Bytes Used Available Use% Mounted onvfat 4293591040 70975488 4222615552 2% /vmfs/volumes/56336cab-38e4d5d0-40c7-0025b500000cvfat 261853184 182673408 79179776 70% /vmfs/volumes/d120ff72-dae6bc7a-503e-090af9e88e44vfat 261853184 180703232 81149952 69% /vmfs/volumes/996ac77d-483c52df-8f51-30d4e489b61fvfat 299712512 202776576 96935936 68% /vmfs/volumes/56336c95-c5cf28b8-b10e-0025b500000cIn case the SDC is on a Linux operating system also, you may run the command df -h and will get similar output:-Filesystem Size Used Avail Use% Mounted on/dev/sda2 7.0G 3.0G 3.7G 45% /udev 3.0G 212K 3.0G 1% /devtmpfs 3.0G 312M 2.7G 11% /dev/shmIn case the SDC is installed on Microsoft Windows Server 2008 or 2012 operating system, you can go to Disk Management, select the disk, right click and click on properties. You will find the Used Space and Free space information. You can also use diskpart and use list volume command to list the volumes. Then use select volume x to select a particular volume and use the command detail volume and you can get the Volume capacity and Volume Free space.