Sammi Chen created HDDS-12678:
---------------------------------

             Summary: Use ( capacity - free ) / capacity to calculate disk 
utilization
                 Key: HDDS-12678
                 URL: https://issues.apache.org/jira/browse/HDDS-12678
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Sammi Chen


Currently, (scmUsed / capacity) is used to calculate the disk utilization. When 
reserved space for non-ozone usage is defined,  scmUsed cannot reflect the data 
used by non-ozone usage, while free space can. 

So change to use formula ( capacity - free ) / capacity.  This is also consist 
with the formula used by Container balancer. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to