DX NetOps

 View Only
  • 1.  Linux file systems are not showing exact percent used values.

    Posted Feb 16, 2017 08:38 AM

    Hi All

     

    We have noticed a critical issue in spectrum 10.01 for all linux server file system monitors. File system used, percent used and available values in File Systems (RFC 2790) are not matching with the actual server values when we login to server and check it with df –h command.

     

    Example below for a server

     

     

    Values as in spectrum in File Systems (RFC 2790)

     

    File system  name                      Size             Used           Available     Percent used

     /u01                                             196.86GB   106.6 GB      90.26 GB   54

     

     

    For the same server when logged into that server and run df –h command we see as below;

     

    Filesystem                        Size       Used     Avail     Use%    Mounted on

    /dev/emcpowerd           197G     107G     81G       58%       /u01

     

    This difference is common for all linux servers whereas for windows servers its getting the value properly. Can some one please tell me why this mismatching as it is creating problem for us while setting the threshold values for linux servers.



  • 2.  Re: Linux file systems are not showing exact percent used values.
    Best Answer

    Broadcom Employee
    Posted Feb 16, 2017 09:11 AM

    If we do some quick math:

     

    rfc2790 : 106.6 / 196.86 x100 = 54.15%

    df -h : 107 / 197 x 100 = 54.31%

     

    So, based on that, the rfc2790 values actually look more accurate in this case since just using the total and used values for df -h don't equal the percentage used that it's reporting.



  • 3.  Re: Linux file systems are not showing exact percent used values.

    Posted Apr 20, 2017 12:09 AM