From owner-freebsd-questions Fri Feb 9 10:30:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wasp.eng.ufl.edu (wasp.eng.ufl.edu [128.227.116.1]) by hub.freebsd.org (Postfix) with ESMTP id 905C037B4EC for ; Fri, 9 Feb 2001 10:30:27 -0800 (PST) Received: from eng.ufl.edu (scanner.engnet.ufl.edu [128.227.152.221]) by wasp.eng.ufl.edu (8.9.3/8.9.3) with ESMTP id NAA09444; Fri, 9 Feb 2001 13:30:12 -0500 (EST) Message-ID: <3A84372F.466B5B8A@eng.ufl.edu> Date: Fri, 09 Feb 2001 13:30:07 -0500 From: Bob Johnson X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en, eo MIME-Version: 1.0 To: Ben_Calvert@amsinc.com, questions@freebsd.org Subject: Re: how big a partition is too big? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Date: Thu, 8 Feb 2001 16:56:25 -0800 > From: Ben_Calvert@amsinc.com > Subject: how big a partition is too big? > > 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