Discrepancy in df output and the output from cdm probe in UIM for disk usage information
search cancel

Discrepancy in df output and the output from cdm probe in UIM for disk usage information

book

Article ID: 14226

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction



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 .
  • Ø  With key "use_systemspace = YES" 

%used = (f_blocks- f_bfree)*100/ f_bsize.