help-cfengine
[Top][All Lists]
Advanced

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

Re: [Cfengine] Re: required and freespace option


From: Bas van der Vlies
Subject: Re: [Cfengine] Re: required and freespace option
Date: Tue, 04 Mar 2003 08:22:55 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

Hugo Gayosso wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@hidden writes:


The check on the root partition works fine, but the check on /home
does not even though it is below the required free space limit.
Looking through the archives, I found that one solution was to
create a file and check this.  Is this still the solution, and if so
will it be fixed in the future?  If not, what am I missing?


I just tried with cfengine-2.0.5 and this works:

disks:
   /      freespace=10%   inform=true
   /boot  freespace=10%   inform=true
   /tmp   freespace=5%    inform=true
   /usr   freespace=10%   inform=true
   /var   freespace=10%   inform=true  define=var_full



If your filesystem is different type then your root partition you
must use:
   /home freespace=10% inform=true force=yes

That is the trick ;-)


--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: address@hidden      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************





reply via email to

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