From owner-freebsd-questions Sun May 28 15:26:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from forrie.net (forrie.net [216.67.12.69]) by hub.freebsd.org (Postfix) with ESMTP id 6239E37B661 for ; Sun, 28 May 2000 15:26:28 -0700 (PDT) (envelope-from forrie@forrie.com) Received: from Forrest (getbent@forrie.ne.mediaone.net [24.147.129.124]) by forrie.net with id e4SMQSW63714 for ; Sun, 28 May 2000 18:26:28 -0400 (EDT) Message-Id: <4.3.2.7.2.20000528182151.00d7d880@216.67.12.69> X-Sender: forrie@216.67.12.69 X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Sun, 28 May 2000 18:25:12 -0400 To: freebsd-questions@freebsd.org From: Forrest Aldrich Subject: adding swap via vnconfig Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have an older system (FreeBSD-2.2.8) that is under production and cannot be brought down until a new machine is built. In the mean time, I need to add a lot of swap space to it. I've done this: vnconfig -ce /dev/vn0c /usr/local/swapfile swap (vn was already in the kernel and the devices are there already). Now, it's not clear to me where I can see (other than ls -l) that the file is actually being utilized, or at what point it would be. The goal being to add space for swapping for our very busy named daemon. I've noted in /etc/rc.conf the swapfile definition, and I've set that; however, I presume I needed to add the above vnconfig statement to /etc/rc.local to enable it (since I cannot find info on the format of /etc/vnconfig). This is an emergency procedure, and of course other routes will be taken once the crisis is overwith. TIA. _F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message