From owner-freebsd-questions Fri Feb 9 12:43: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ams.amsinc.com (mail.amsinc.com [162.70.244.20]) by hub.freebsd.org (Postfix) with ESMTP id 3EC3337B6AE for ; Fri, 9 Feb 2001 12:42:46 -0800 (PST) Received: from ams-central-gate-5a.amsinc.com (ams-central-gate-5a.amsinc.com [162.70.34.52]) by ams.amsinc.com (8.9.1/8.9.1) with SMTP id PAA22306; Fri, 9 Feb 2001 15:42:15 -0500 (EST) From: Ben_Calvert@amsinc.com Received: by ams-central-gate-5a.amsinc.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id 852569EE.0071B2A9 ; Fri, 9 Feb 2001 15:41:52 -0500 X-Lotus-FromDomain: AMSINC To: Bob Johnson Cc: questions@freebsd.org Message-ID: <852569EE.0070FF79.00@ams-central-gate-5a.amsinc.com> Date: Fri, 9 Feb 2001 12:33:40 -0800 Subject: Re: how big a partition is too big? Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hmm.... as i was afraid, the answer that further study is warranted :) i think i'm also going to look at using files as file systems. this would provide the flexability i'm looking for... I guess i shouldn't feel so bad about having to wait till monday for the hard drives to arrive :) > I wrote: > > am building a file server with 90 G of storage (2x 45gig on a highpoint raid 0) > , and would like to keep this partitioned as few times as possible. is there a > point when i run out of inodes or something? maybe a better question is, what's > an ideal partition size ? should i tune this by hand, or are default settings > ok? > The right answer to this really depends on things like the average file size that you expect and the number of files you will have in the average directory. The only time I've had problems is when I filled up a disk with a bunch of small files; I ran out of inodes before the disk was full. If your files end up being larger on average than you expect, you waste disk space on the unused inodes, and if your files are smaller than you expect, you waste disk space by running out of inodes before it is full. If you already have a good idea of what the statistics for your filesytem are likely to be, then you might gain something by hand tuning. My understanding is that UFS is not too wonderful when faced with a huge number of files per directory. I don't have personal experience with that, but you might want to look in to the implications. I would mount the data stuff as a separate filesystem from the operating system stuff. This helps both when doing backups and when doing upgrades. - Bob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message