Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 1998 15:26:33 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Greg Pavelcak <gpavelcak@philos.umass.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sort: write error: no space left on device
Message-ID:  <19980117152633.53615@emsphone.com>
In-Reply-To: <Pine.OSF.3.96.980117082343.2007A-100000@lessing.oit.umass.edu>; from "Greg Pavelcak" on Sat Jan 17 08:39:12 GMT 1998
References:  <Pine.OSF.3.96.980117082343.2007A-100000@lessing.oit.umass.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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