From owner-freebsd-questions@FreeBSD.ORG Tue Oct 2 05:23:31 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 C0CD516A468 for ; Tue, 2 Oct 2007 05:23:31 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC8713C44B for ; Tue, 2 Oct 2007 05:23:31 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so2925338wxd for ; Mon, 01 Oct 2007 22:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=FbBp9bGOb+mMSt4STq3XCz5y7HStgCFGKPgCAzpQrME=; b=W/ye6ggNZtTbiKe/87+XHBNF4Zq9WCtW5F0/1D2c8+VQF2B6sXYL+roOpIgcN91Tyi41yOa0h1HVTxXHHof68P+2XrX/KgD1ZhfagLRCFTPX3mglG1DEfpz9hy+KJ8Mt7H2Q5ybs0KbyEdEExeA/xDAIQu1iHeo+1xGV8LFZoaY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YBzf11M9mEiZrjJFiLiWFK3yREQIZTXFwDWqH7csFLJy7gch72SGhnfvw3wH0BAUWm8lWNoU+LQ8YBpvgEfiLxy+wcX0hECdE9dWJfxqSaoo3LXqS2emh78ugAmo30NqcOdycmfeUgeT0GV/EcTATMOrSOOQ0OHC3Hct+cHERis= Received: by 10.70.9.8 with SMTP id 8mr11346439wxi.1191302610489; Mon, 01 Oct 2007 22:23:30 -0700 (PDT) Received: by 10.70.95.16 with HTTP; Mon, 1 Oct 2007 22:23:30 -0700 (PDT) Message-ID: <94136a2c0710012223q64102a41y93f3f983fcfc0137@mail.gmail.com> Date: Tue, 2 Oct 2007 07:23:30 +0200 From: "Zbigniew Szalbot" To: "Duane Hill" In-Reply-To: <20071002051809.R57595@duane.dbq.yournetplus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0710012212x506ebc0ajf76ef69ec2f36720@mail.gmail.com> <20071002051809.R57595@duane.dbq.yournetplus.com> 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:23:31 -0000 Hello again, > > 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. du -hs /tmp 1.4M /tmp du -hs / 40GB One thing that comes to my mind. Each Sunday I have a script which makes a full dump of the HD to a back-up USB drive. Last weekend someone cleaining the computer room, must have accidentally powered off the USB drive. As a result, the dump has not been completed because the USB drive was not mounted at that time. I use cron for this task. Does it matter could have caused this? Thanks! zbigniew szalbot