From owner-freebsd-questions Thu Oct 12 3:48:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id A5FC337B503 for ; Thu, 12 Oct 2000 03:48:44 -0700 (PDT) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id OAA25126; Thu, 12 Oct 2000 14:54:28 +0200 Message-ID: <39E59735.7E17F21@i-clue.de> Date: Thu, 12 Oct 2000 12:49:25 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de Organization: i-clue interactive GmbH X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en,de MIME-Version: 1.0 To: Odhiambo Washington Cc: FBSD-Q Subject: Re: File system full? References: <20001012132415.C36312@poeza.iconnect.co.ke> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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