Discrepancy seen in df output and the output from cdm probe in UIM for disk usage information
Environment
Release: CNMSPP99000-8.47-Unified Infrastructure Mgmt-Server Pack-- On Prem Component:
Resolution
ØCDM probe using the system call statvfs() to get the file system space and probe is calculating the used space by using below formula:
% Used = (f_blocks-f_bavail)*100/ f_bsize.
ØPlease note that unix systems report disk available to users instead of disk available to system/root user. Because Unix systems typically reserve a percentage of the disk for system use.
ØWe have a raw config option “use_systemspace” which by default in set to no. use_systemspace = no, means the system space will not be included in Free disk space shown by probe and vice versa.
ØThis may cause the information displayed by CDM probe to differ from that displayed by the 'df -h' command! This can be overridden by using key 'use_systemspace=yes' in the disk section of the config file. This flag does not have any effect on Windows systems.
ØIf facing this issue than there is a possibility that “use_systemspace” is no in environment. Please check key “use_systemspace” in cdm probe CFG .