From owner-freebsd-questions Sat Jan 17 13:27:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24881 for questions-outgoing; Sat, 17 Jan 1998 13:27:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24829 for ; Sat, 17 Jan 1998 13:26:35 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.6/8.8.6) id PAA17271; Sat, 17 Jan 1998 15:26:33 -0600 (CST) Message-ID: <19980117152633.53615@emsphone.com> Date: Sat, 17 Jan 1998 15:26:33 -0600 From: Dan Nelson To: Greg Pavelcak Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sort: write error: no space left on device References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13 In-Reply-To: ; from "Greg Pavelcak" on Sat Jan 17 08:39:12 GMT 1998 X-OS: FreeBSD 2.2-970701-RELENG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk In the last episode (Jan 17), Greg Pavelcak said: > I was met with that message apparently from /etc/periodic/weekly this > morning. Actually, it looked like this: > > Rebuilding locate database: > sort: write error: No space left on device > locate.mklocatedb: cannot build locate database > > df shows: > > Filesystem 1K-blocks Used Avail Cap. Mnted On > > /dev/wd0a 31775 22575 6658 77% / > /dev/wd0s1f 1813231 1311336 356837 79% /usr > /dev/wd0s1e 27679 6664 18801 26% /var > procfs 4 4 0 100% /proc > > Do you think that's really full enough to run out of space during > makewhatis? If so, is it bumping up against the end of /usr or /? I'm > guessing /usr. It's filling up whatever partition /tmp is in. For a quick fix, edit /usr/libexec/locate.mklocatedb around line 43 and change TMPDIR to point to /usr/tmp. Or, remove /tmp and make it a symlink to /usr/tmp. -Dan Nelson dnelson@emsphone.com