From owner-freebsd-hackers Sun Feb 25 10:44:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sabre.velocet.net (sabre.velocet.net [198.96.118.66]) by hub.freebsd.org (Postfix) with ESMTP id B1F1D37B401 for ; Sun, 25 Feb 2001 10:44:27 -0800 (PST) (envelope-from dgilbert@office.tor.velocet.net) Received: from office.tor.velocet.net (trooper.velocet.net [204.138.45.2]) by sabre.velocet.net (Postfix) with ESMTP id 5D6E5137F12; Sun, 25 Feb 2001 13:44:26 -0500 (EST) Received: (from dgilbert@localhost) by office.tor.velocet.net (8.11.2/8.9.3) id f1PIiPR65915; Sun, 25 Feb 2001 13:44:25 -0500 (EST) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15001.21129.307283.198917@trooper.velocet.net> Date: Sun, 25 Feb 2001 13:44:25 -0500 (EST) To: Matt Dillon Cc: Bernd Walter , David Gilbert , freebsd-hackers@FreeBSD.ORG Subject: [hackers] Re: Large MFS on NFS-swap? In-Reply-To: <200102250644.f1P6iuL12016@earth.backplane.com> References: <15000.8884.6165.759008@trooper.velocet.net> <20010225042933.A508@cicely5.cicely.de> <200102250644.f1P6iuL12016@earth.backplane.com> X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Matt" == Matt Dillon writes: Matt> Use the vn device to create a swap-backed filesystem. 'man Matt> vnconfig'. (In current VN functionality has been merged into MD Matt> and MD in swap-backed mode should be used instead ). If you Matt> turn softupdates on on the VN based filesystem, it should work Matt> quite nicely for small files and yet still be able to handle the Matt> very large files (assuming you have sufficient swap). Hmmm... I was just having a little fun, and I think that someone's using the wrong type of integer somewhere: [1:23:323]root@news:~> vnconfig -e -s labels -S 1t vn0 [1:24:324]root@news:~> disklabel -r -w vn0 auto [1:25:325]root@news:~> newfs /dev/vn0c preposterous size -2147483648 Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message