From owner-freebsd-questions Wed Apr 3 14:24:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from catalyst.sasknow.net (catalyst.sasknow.net [207.195.92.130]) by hub.freebsd.org (Postfix) with ESMTP id B60CF37B400 for ; Wed, 3 Apr 2002 14:24:37 -0800 (PST) Received: from localhost (ryan@localhost) by catalyst.sasknow.net (8.11.6/8.11.6) with ESMTP id g33MOVf30032; Wed, 3 Apr 2002 16:24:31 -0600 (CST) (envelope-from ryan@sasknow.com) X-Authentication-Warning: catalyst.sasknow.net: ryan owned process doing -bs Date: Wed, 3 Apr 2002 16:24:31 -0600 (CST) From: Ryan Thompson To: uwi mAn Cc: freebsd-questions@freebsd.org Subject: Re: out of inodes In-Reply-To: Message-ID: <20020403161818.E27568-100000@catalyst.sasknow.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG uwi mAn wrote to ryan@sasknow.com: > >The default is 4 * frag size (4K per inode). This means that your > >average file size must be greater than 4K if you want to utilize > >all of the SPACE on the drive without running out of inodes. > > > >You can double the amount of available inodes by using -i 2048. > >Quadruple with -i 1024. > > thanks Ryan, I did as you said... and all worked ;) quick queston: > what the value of inode[4K,2K,1K] is the best? or it only depends on > situations? It DEFINITELY depends on the situation. If your files are smaller than 4K on average, use 2K. If they are smaller than 2K on average, use 1K. If they are smaller than 1K, what the hell are you doing? :-) Personally, I can't remember the last time I ever ran out of inodes, so, my situation is different than yours. (Usually, I INCREASE the bytes per inode because the defaults are WAY too dense for my applications). > Thanks man, you're the greatest. - Ryan -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message