Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2000 12:49:25 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        Odhiambo Washington <wash@iconnect.co.ke>
Cc:        FBSD-Q <freebsd-questions@FreeBSD.ORG>
Subject:   Re: File system full?
Message-ID:  <39E59735.7E17F21@i-clue.de>
References:  <20001012132415.C36312@poeza.iconnect.co.ke>

next in thread | previous in thread | raw e-mail | index | archive | help


Odhiambo Washington wrote:
> 
> May I ask a simple question about file system.
> Here is how mine stands
> 
> admin:~$ df -k
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/ad0s2a     74383    31635    36798    46%    /
> /dev/ad0s2e   1686783  1365052   186789    88%    /usr
> /dev/ad0s2f     34687    18561    13352    58%    /var
> /dev/ad0s1    2048000  1731968   316032    85%    /win
> procfs              4        4        0   100%    /proc
> 
> And I get this message every morning on the console -
> And the msg is repeated multiple times...
> 
> Oct 12 04:40:00 alouette /kernel: pid 27317 (locate.code), uid 0 on
> /: file system full
> Oct 12 04:40:04 alouette /kernel: pid 27306 (locate.code), uid 0 on
> /: file system full
> Oct 12 04:40:06 alouette /kernel: pid 26724 (locate.code), uid 0 on
> /: file system full
> 
> All advise is highly appreciated.

It seems your system has not enough room in the root file system to
store the temporary file needed to rebuild the locate database.
AFAIK this file will be build int the /tmp directory. One solution of
this problem is to mount additional diskspace on top of /tmp, another
is to replace /tmp with a symlink to a place providing more space.

If you cannot add another disk, I'd suggest
  mkdir /usr/tmp     # if it not exists already)
  chmod XXX /usr/tmp # look up the access rights of the original /tmp
                     # directory and copy it over)
  tar cf - /tmp | (cd usr; tar xf -)
                     # copy /tmp's contents to the new place -- although
                     # in case of /tmp, this is usually not neccessary
  rm -r /tmp         # remove old tmp directory
  ln -s /usr/tmp /tmp
                     # now point tmp to a place providing more space

Warning: this way, you have no /tmp directory in single user mode. This
is a Bad Thing in case of trouble. 

HTH
-Christoph Sold


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39E59735.7E17F21>