From owner-freebsd-questions Mon Aug 30 13: 1: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finland.ispro.net.tr (finland.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (Postfix) with ESMTP id 0A1C9153E6 for ; Mon, 30 Aug 1999 13:00:58 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from ispro.net.tr (dyn-2-146.tku.netti.fi [195.16.221.147]) by finland.ispro.net.tr (8.9.3/8.9.3) with ESMTP id WAA60870; Mon, 30 Aug 1999 22:58:33 +0300 (EEST) (envelope-from yurtesen@ispro.net.tr) Message-ID: <37CAE20F.BE958805@ispro.net.tr> Date: Mon, 30 Aug 1999 22:57:03 +0300 From: Evren Yurtesen X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: David Scheidt Cc: freebsd-questions@freebsd.org Subject: Re: no space left when df shows 250MB free space? how? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG about the %8, I use these disks as cache for squid and it is nearly full all the time so they were always on space optimization mode I thought it would not make too much overhead to change this... also we only have a 256kbit connection to the internet so we can get 32kb/sec max I thought this would not saturate the drive performance so much since only space optimization effects the writings and we are not writing too much to the disk...am I right? in future I am thinking of changing it again when we have more bandwidth and a new hard drive :) Also I believe I am not out of inodes am I? it shows that 32% of them are used and 90% of the disk is full, how can I run out of inodes? what do you mean by every 4 frags? and 1024? by the way how can I find more information about inodes? Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1a 254063 90875 142863 39% 5518 57968 9% / /dev/da0s1f 3432241 1686306 1471356 53% 50425 807621 6% /usr /dev/da0s1e 127023 1243 115619 1% 148 31594 0% /var /dev/da1s1e 8617428 7775826 841602 90% 700170 1458420 32% /usr/local/squid/cache/disk1 /dev/da2s1e 8617428 7717658 899770 90% 708745 1449845 33% /usr/local/squid/cache/disk2 procfs 4 4 0 100% 37 495 7% /proc turkey:/root# David Scheidt wrote: > On Mon, 30 Aug 1999, Evren Yurtesen wrote: > > > how come freebsd says no space left? I have used tunefs to change the > > minimum percentage > > of free space to 0 could that efect this? > > tunefs: minimum percentage of free space: (-m) 0% > > > > It sounds like you are out of inodes. df -i will tell you. If you are, you > can change the default values at newfs time. Unfortuneatly, there is no way > to do this without remaking your filesystem. The default is one inode for > every 4 frags, which default to 1024. I would back of your min free space > to 8%. FFS gets really poor performance with less than that free. This > likely will solve your inode problem, as well. > > David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message