Why do RHEV hypervisors run out of disk space in /var/log?

Solution Verified - Updated -

Issue

  • Why does df report a higher amount of disk usage than du for the filesystem where /var/log resides?

    # df -kh /var
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/vgos-lvol_var
                           12G  6.2G  5.1G  55% /var
    
    # du -khs /var
    2.5G    /var
    
  • Also, the following error message is shown in the RHEV Manager Audit log:

    Critical, Low disk space. Host has less than 500 MB of free space left on: /var/log
    

Environment

  • Red Hat Enterprise Virtualization 3.1
  • For RHEL based hosts vdsm versions:
    • 4.10.2-1.6.el6
    • 4.10.2-1.8.el6
    • 4.10.2-1.9.el6
  • For RHEV-H based hosts rhev-hypervisor6 versions:
    • 6.4-20130415.0.el6_4
    • 6.4-20130318.1.el6_4
    • 6.4-20130306.2.el6_4
    • 6.4-20130221.0.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content