help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: free space reports


From: Yaroslav Halchenko
Subject: Re: free space reports
Date: Fri, 13 May 2005 14:39:50 -0400
User-agent: Mutt/1.5.9i

I'm still confused because there is such a wide difference between what
is reported with cfengine and what is reported by df

I've defined a class when cfengine mentiones low-space condition, and
just run df at that time point:


cfengine:ravana: Free disk space is under 20% for partition
cfengine:ravana: containing /var (18% free)
cfengine:ravana: Executing script /bin/df /var...(timeout=0,uid=-1,gid=-1)
cfengine:ravana:/bin/df /var: Filesystem           1K-blocks      Used 
Available Use% Mounted on
cfengine:ravana:/bin/df /var: /dev/sda7              1542156   1251300    
290856  82% /var
cfengine:ravana: Finished script /bin/df /var

Why that could happen?


On Tue, May 10, 2005 at 11:35:06AM -0400, Yaroslav Halchenko wrote:
> I'm getting confused with one of the hosts reporting low space in one of
> the partitions:

> On Tue, May 10, 2005 at 07:35:10AM -0400, cfengine@ravana. wrote:
> > cfengine:ravana: Free disk space is under 20% for partition
> > cfengine:ravana: containing /var (1% free)

> when I df  it, it shows plenty of space:

> ravana[0] /boot/fai/pxelinux.cfg>df /var
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda7              1542156    995644    546512  65% /var

> and if I manually run cfagent -v then I get

> Checking free space on /var
> Free space above -20, defining 

> so everything looks ok...

> does it mean that I have some beast process which dumps 0.5GB into var
> from time to time and removes it immediately? or there is something else
> to check for?
-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07105
Student  Ph.D. @ CS Dept. NJIT




reply via email to

[Prev in Thread] Current Thread [Next in Thread]