From owner-freebsd-questions@FreeBSD.ORG Sun Sep 11 23:07:38 2011 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 CE2F9106566B for ; Sun, 11 Sep 2011 23:07:38 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 639E98FC0A for ; Sun, 11 Sep 2011 23:07:36 +0000 (UTC) Received: by fxg9 with SMTP id 9so652359fxg.13 for ; Sun, 11 Sep 2011 16:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :user-agent:x-mailer:mime-version:content-type :content-transfer-encoding; bh=cBX8b2rYrruaeoChyWZh1pVVShM1y9Ow9MWmSr6uXm0=; b=VKKbwJLpRbdjaZEYEiQzA0q/jYtz01MEFssyEqYO0BY3tgEB8ArHPFYBFqT8Ccj4rp joD/6Wu8FdCIfhQY5xMP36GgCWzbit9X+Ccxo8f3ippi0egPgakmCwVoDRfeKl/8Lq/T yPHjXEHSKG4bQH12uixJfeug6pXHjQSXaIn1w= Received: by 10.223.5.139 with SMTP id 11mr831572fav.138.1315782455555; Sun, 11 Sep 2011 16:07:35 -0700 (PDT) Received: from debiand1.localdom.ain ([89.47.83.116]) by mx.google.com with ESMTPS id c12sm7681625fad.14.2011.09.11.16.07.33 (version=SSLv3 cipher=OTHER); Sun, 11 Sep 2011 16:07:34 -0700 (PDT) Date: Mon, 12 Sep 2011 02:07:44 +0300 From: Rares Aioanei To: freebsd-questions@freebsd.org Message-ID: <20110912020744.4dd9c57f@debiand1.localdom.ain> In-Reply-To: <955223604.20110912012332@yandex.ru> References: <955223604.20110912012332@yandex.ru> User-Agent: my user agent X-Mailer: my x-mailer Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: =?UTF-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= Subject: Re: How to check where space is LOST 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: Sun, 11 Sep 2011 23:07:38 -0000 On Mon, 12 Sep 2011 01:23:32 +0300 =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD= =D0=B8=D0=B9 wrote: > Hi. >=20 > I notice that some times /var is overfull >=20 > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad1s1a 496M 239M 217M 52% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad1s1e 124M 40K 114M 0% /tmp > /dev/ad1s1f 1.8G 1.1G 596M 65% /usr > /dev/ad1s1d 989M 349M 561M 38% /var > devfs 1.0K 1.0K 0B 100% /var/named/dev >=20 > # cd /var/ >=20 > # du -h -d 1 > 2.0K ./.snap > 2.0K ./account > 6.0K ./at > 2.0K ./audit > 12K ./backups > 4.0K ./crash > 4.0K ./cron > 2.0K ./empty > 2.0K ./heimdal > 79M ./log > 19M ./mail > 4.0K ./msgs > 159K ./named > 2.0K ./preserve > 60K ./run > 2.0K ./rwho > 70K ./spool > 14K ./tmp > 24K ./yp > 2.0K ./games > 2.0K ./agentx > 22K ./net-snmp > 4.0K ./lost+found > 98M . >=20 > If I just #reboot system. I get that on /var is only 98M used. >=20 > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad1s1a 496M 239M 217M 52% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad1s1e 124M 40K 114M 0% /tmp > /dev/ad1s1f 1.8G 1.1G 596M 65% /usr > /dev/ad1s1d 989M 98M 891M 12% /var > devfs 1.0K 1.0K 0B 100% /var/named/dev >=20 > How to obtain what take space on /var >=20 > --=20 > =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, > =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 mail= to:kes-kes@yandex.ru >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" http://www.freebsddiary.org/file-system-full.php It really depends IMHO what you use your computer for (server ore workstati= on...). I'd bet on /var/tmp somehow . --=20 Rares Aioanei