help-cfengine
[Top][All Lists]
Advanced

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

Re: free space reports


From: Frank Smith
Subject: Re: free space reports
Date: Fri, 13 May 2005 14:10:18 -0500

It looks correct on your current run (cfengine reports 18% free and
df shows 82% used, which mactches exactly). Your var does seem
fairly volitile, since its about 300MB larger today thatn a couple of
days ago.  Perhaps you spool a lot of mail or print jobs, or maybe
system accounting files.

Frank


--On Friday, May 13, 2005 14:39:50 -0400 Yaroslav Halchenko 
<lists@onerussian.com> wrote:

> 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
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine



-- 
Frank Smith                                      fsmith@hoovers.com
Sr. Systems Administrator                       Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501





reply via email to

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