From owner-freebsd-questions@FreeBSD.ORG Fri May 12 16:58:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB51416A53A for ; Fri, 12 May 2006 16:58:25 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62C9B43D66 for ; Fri, 12 May 2006 16:58:23 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-102-190.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.102.190]) by smtp01.lnh.mail.rcn.net with ESMTP; 12 May 2006 12:59:07 -0400 X-IronPort-AV: i="4.05,122,1146456000"; d="scan'208"; a="202960662:sNHT3301459962" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17508.48487.502992.913521@jerusalem.litteratus.org> Date: Fri, 12 May 2006 12:52:55 -0400 To: bsd In-Reply-To: <4491F65C-CAB7-4B07-95B9-527677A29E6E@todoo.biz> References: <4491F65C-CAB7-4B07-95B9-527677A29E6E@todoo.biz> X-Mailer: VM 7.17 under 21.5 (beta26) "endive" XEmacs Lucid Cc: Liste FreeBSD Subject: Reducing the size of / 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: Fri, 12 May 2006 16:58:27 -0000 bsd writes: > I have three partitions on my server and would like to reduce the > size of / because I am getting quite full ! > > Filesystem Size Used Avail Capacity Mounted on > /dev/ar0s1a 3.8G 2.8G 668M 81% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ar0s1d 60G 1.9G 53G 3% /home > > What are the places I could start looking in to delete not so > usefull files, knowing that I am syncing using portsnat (and > previously cvsup). Try this: du -x / | sort -nr | head -n 50 Look for anything that's bigger than it ought to be. (I run variations of that on each filesystem daily; at this point I know what should be there, and if something changes I ask "Why?".) Robert Huff