From owner-freebsd-questions Wed Nov 15 11:49:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wgate.com (unknown [38.219.83.4]) by hub.freebsd.org (Postfix) with ESMTP id 5797B37B4C5 for ; Wed, 15 Nov 2000 11:49:39 -0800 (PST) Received: from hf.eng.tvol.net ([10.32.1.12]) by mail.wgate.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id WVAKCDB5; Wed, 15 Nov 2000 14:49:57 -0500 X-Sender: bbauman@wgmail.tvol.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Wed, 15 Nov 2000 14:49:29 -0500 To: freebsd-questions@freebsd.org From: Bruce Bauman Subject: NFS swap questions Cc: bbauman@wgate.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20001115194939.5797B37B4C5@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I want to build a medium-sized cluster of diskless FreeBSD 4.X-stable machines, all booting from a single FreeBSD server. I want them to swap over NFS to a single partition on the server. Because of the number of clients, I'd like the clients to allocate their swap files dynamically during boot (e.g. dd if=/dev/zero of=/nfsswap/swapfile. bs=1M count=256). I intend to do this by slightly hacking the rc.diskless scripts. How do I then enable swapping on these files? The available documentation isn't very clear. Second question: Are there any recommended options for the filesystem on which the swap files will live? Should it be async and noatime? Any other performance tuning tricks? Thanks for any insight. -- Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message