From owner-freebsd-questions Wed Mar 31 5:11:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tornado.cisco.com (tornado.cisco.com [171.69.104.22]) by hub.freebsd.org (Postfix) with ESMTP id 688B114EFE for ; Wed, 31 Mar 1999 05:11:14 -0800 (PST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Received: from bmcgover-pc.cisco.com (bmcgover-pc.cisco.com [171.69.104.147]) by tornado.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id IAA00295 for ; Wed, 31 Mar 1999 08:10:55 -0500 (EST) Received: from bmcgover-pc.cisco.com (localhost.pa.dtd.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.9.2/8.9.2) with ESMTP id IAA01959 for ; Wed, 31 Mar 1999 08:10:55 -0500 (EST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Message-Id: <199903311310.IAA01959@bmcgover-pc.cisco.com> To: questions@freebsd.org Reply-To: bmcgover@cisco.com Subject: MFS Sizes over 470MB? Can't seem to do it... Date: Wed, 31 Mar 1999 08:10:55 -0500 From: Brian McGovern Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Recently, I purchased a system with 1GB of memory, the hope being to take 768MB of it, and make it a MFS file system for doing buildworlds and releases on. Currently, I set it up with (this is all on 3.1-RELEASE): mount_mfs -s /dev/da0s1b /mountpoint I calculate "size" with: (1024 * 1024 * desired MBs) / 512 The 1024s are to define the number of bytes in a MB, then I multiply by the number of MBs desired (im my case 768 would be nice), and then devide by 512, the number of bytes in a sector... This should then give me the number of sectors I need to pass to mount_mfs. Unfortunately, for increasing sizes of "desired MBs", there is a point at approximately 470MBs where the MFS filesystem will no longer grow. Now, another odd number that approaches this is that I have 512MB of swap on the machine. I hope I'm not stretching too far to think that 512MB - some amount of overhead (10%-ish) would create a magic number somewhere near 470.... Anyhow, my question is, are MFS file systems limited by swap space? If no, is there any way to get a larger one configured. If yes, is it just a matter of making sure there is sufficient swap space to back the size of the MFS? -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message