From owner-freebsd-stable Mon Feb 3 12:29:46 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7885637B405 for ; Mon, 3 Feb 2003 12:29:44 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-166.pit.adelphia.net [24.53.161.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2714B43F75 for ; Mon, 3 Feb 2003 12:29:38 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.3/8.12.3) with ESMTP id h13KUsT5071979; Mon, 3 Feb 2003 15:30:58 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E3ED0D4.6070601@potentialtech.com> Date: Mon, 03 Feb 2003 15:28:04 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ryan Dooley Cc: stable@freebsd.org Subject: Re: recommendations on the newfs of a 1.0TB fs... References: <20030203194828.GA55143@elvis.mu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ryan Dooley wrote: > Hey All, > > I'm looking for recommendations on the newfs options for a 1.0TB file system > for say /home (it's a fileserver for 52000+ accounts that range from having > 4k to 40GB in their directories.) > > When I initally created the file system, the options I set are: block size of > 65536 and a fragsize of 8192. > > This has worked out for me in the past but now that the fs is more than 50% > in use, the fsck's (it's a -STABLE system) are taking about an hour to complete. I'd consider fixing the situation thats causing it to need fscked before doing anything else! > In a previous thread somebody recommended that I tweak the inodes when I have > the time to rebuild the filesystem (I might have that opportunity soon). > > Currently, about 20% of the inodes (6141123/25124155 - used/free) are in use. Sounds like you have enough users to have a pretty good idea of the average bytes per file. Use -i to specify that when you newfs. Don't overdo it! It's pretty frustrating to have 400G left on the drive an no inodes left to create any new files, but if you've got 50% of the space full and only 20% of the inodes, you can definately adjust this some. There's also -g and -h options. I'm not sure what effect these have, however. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message