From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 19:01:28 2003 Return-Path: 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 2FA1C37B401 for ; Tue, 22 Apr 2003 19:01:28 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFF8D43F93 for ; Tue, 22 Apr 2003 19:01:24 -0700 (PDT) (envelope-from munk@users.munk.nu) Received: from localhost ([127.0.0.1] helo=users.munk.nu ident=smmsp) by mail.munk.nu with esmtp (Exim 4.14) id 1989b1-000FYo-67 for questions@freebsd.org; Wed, 23 Apr 2003 03:02:51 +0100 Received: (from munk@localhost) by users.munk.nu (8.12.9/8.12.8/Submit) id h3MAGYfa017259 for questions@freebsd.org; Tue, 22 Apr 2003 11:16:34 +0100 (BST) Date: Tue, 22 Apr 2003 11:16:34 +0100 From: Jez Hancock To: questions@freebsd.org Message-ID: <20030422101634.GA17124@users.munk.nu> Mail-Followup-To: questions@freebsd.org References: <20030422024309.EEE493DD5@xmxpita.excite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030422024309.EEE493DD5@xmxpita.excite.com> User-Agent: Mutt/1.4.1i Subject: Re: Out of disk space..how to free X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 02:01:28 -0000 On Mon, Apr 21, 2003 at 10:43:09PM -0400, Tom and Becky Foltz wrote: > We are using Webmin for our email server and we have been receiving the following message:At boot up: File system full After boot up: low on space (have 0,SMTP - DAEMON needs 01 i /var/spool/mqueue I'm unfamiliar with FreeBSD, but I've worked with Linux in the past. How do I free up some space? I've already deleted about 5000 email messages and rebooted the server (FreeBSD 4.0) about 4 times with the same messages. Got any ideas and directions?Thanks,Tom Try: df -h to get an idea of how full your disks are, example output: Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 197M 64M 118M 35% / /dev/ad0s2e 14G 2.4G 11G 18% /home /dev/ad0s2f 14G 4.8G 8.5G 36% /opt /dev/ad0s1e 4.3G 1.9G 2.1G 48% /usr /dev/ad0s2g 2.9G 1010M 1.7G 37% /var procfs 4.0K 4.0K 0B 100% /proc Then also try: du /var | sort -n which will show you how much disk usage /var is taking up and sort it so that the larger files are to the end of the listing. If you notice anything untoward you might want to backup or delete. Also check that your logfiles are being compressed under /var/log and that they're rotated and preferably backed up out of the /var hierarchy. Just some ideas, Jez