From owner-freebsd-questions Sat Sep 18 13:59: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from localhost.zilker.net (jump-tnt-0055.customer.jump.net [207.8.127.55]) by hub.freebsd.org (Postfix) with ESMTP id 79EA314D9B for ; Sat, 18 Sep 1999 13:58:59 -0700 (PDT) (envelope-from marquard@zilker.net) Received: (from marquard@localhost) by localhost.zilker.net (8.9.3/8.8.8) id PAA72087; Sat, 18 Sep 1999 15:58:29 -0500 (CDT) (envelope-from marquard) To: James Burton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Extra swap space References: <199909180346.NAA28049@bell.nelsonbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Dave Marquardt Date: 18 Sep 1999 15:57:46 -0500 In-Reply-To: James Burton's message of "Sat, 18 Sep 1999 13:46:20 +1000 (EST)" Message-ID: <853dwc5451.fsf@localhost.zilker.net> Lines: 25 User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG James Burton writes: > Because I am running out of swap space sending many emails at once, > I would like to increase it from the existing 32MB ( with 32MB real ). > > Following the 4 steps in the handbook to allocate a file for some > swap space, yields the error message from the vnconfig :- > > vnconfig: open: Device not configured > > Step 1: cd /dev; sh ./MAKEDEV vn0 > Step 2: dd if=/dev/zero of=/usr/swap bs=1024k count=128 > Step 3: chmod 0600 /usr/swap > Step 4: swapfile="/usr/swap" added to /etc/rc.conf > and > vnconfig -ce /dev/vn0c /usr/swap swap > > Runing 3.1 generic which the handbook suggests would have pseudo_device vn 1, > but dont know how to check that either. I don't know if vn is part of the 3.1 GENERIC kernel configuration. For 3.3, it is not, so I suspect vn is not part of 3.1 GENERIC. So, you need a custom kernel that includes pseudo-device vn. -Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message