From owner-freebsd-questions@FreeBSD.ORG Tue Oct 2 05:22:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC0A616A418 for ; Tue, 2 Oct 2007 05:22:41 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id B572F13C447 for ; Tue, 2 Oct 2007 05:22:41 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from [192.168.1.10] (unknown [192.168.1.1]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id 27D3B6D44D; Tue, 2 Oct 2007 05:22:41 +0000 (UTC) Date: Tue, 2 Oct 2007 05:22:41 +0000 (UTC) From: Duane Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: Zbigniew Szalbot In-Reply-To: <20071002051809.R57595@duane.dbq.yournetplus.com> Message-ID: <20071002052023.M57595@duane.dbq.yournetplus.com> References: <94136a2c0710012212x506ebc0ajf76ef69ec2f36720@mail.gmail.com> <20071002051809.R57595@duane.dbq.yournetplus.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: determining the space used in / partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 05:22:41 -0000 On Tue, 2 Oct 2007 at 05:19 -0000, d.hill@yournetplus.com confabulated: > On Tue, 2 Oct 2007 at 07:12 +0200, zszalbot@gmail.com confabulated: > >> hello, >> >> Through df I realized my / partiotion is out of space: >> Filesystem 1K-blocks Used Avail Capacity Mounted on >> /dev/ad0s1a 198126 196070 -13794 108% / >> devfs 1 1 0 100% /dev >> /dev/ad0s1e 44511308 4217762 36732642 10% /usr >> /dev/ad0s1d 30462636 3210580 24815046 11% /var >> devfs 1 1 0 100% /var/named/dev >> /dev/da0s1c 75685352 34308200 35322324 49% /mnt/usbck >> >> How can I determine what occupies the space in it? That is, it is not >> big as you can see. So I issued: >> du -hs / >> but it was taking ages (I am not sure but maybe du -hs counts all >> directories on the HD? >> >> Anyway, I do not really know where to look what has eaten the / space. >> Were it for /usr or /var, it would be obvious to me where to look for >> information. >> >> Many thanks! > > I don't see you have defined a /tmp partition. Perhaps /tmp is taking up all > the space. Try: > > du -h /tmp > > and see how much /tmp is taking up. Forgot to mention: du -h -d 0 /tmp will show the total space consumed by the /tmp partition in a human readable value. As in my previous example: du -h /tmp will show space consumed by each file on the /tmp partition in human readable values. ------ _|_ (_| |