Date: Tue, 22 Apr 2003 11:16:34 +0100 From: Jez Hancock <jez.hancock@munk.nu> To: questions@freebsd.org Subject: Re: Out of disk space..how to free Message-ID: <20030422101634.GA17124@users.munk.nu> In-Reply-To: <20030422024309.EEE493DD5@xmxpita.excite.com> References: <20030422024309.EEE493DD5@xmxpita.excite.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030422101634.GA17124>