From owner-freebsd-questions Wed Dec 22 17:33:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 465E114FC3 for ; Wed, 22 Dec 1999 17:33:24 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA08317; Thu, 23 Dec 1999 12:03:40 +1030 (CST) Date: Thu, 23 Dec 1999 12:03:39 +1030 From: Greg Lehey To: Alejandro Ramirez Cc: Cliff Addy , freebsd-questions@FreeBSD.ORG Subject: Re: Eliminating swap space Message-ID: <19991223120339.D1316@freebie.lemis.com> References: <017901bf4ce5$049a3520$d2630a0a@megared.net.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <017901bf4ce5$049a3520$d2630a0a@megared.net.mx> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 22 December 1999 at 19:28:29 -0600, Alejandro Ramirez wrote: > On Wednesday, December 22, 1999 1:21 PM, Cliff Addy wrote: >> I have a machine that I think may have a defective swap partition. Can I >> run with no swap space at all if I comment out the >> >> /dev/da0s1b none swap sw 0 0 >> >> line in /etc/fstab? Would I have to make any other changes? > > You can eliminate the swap partition as you said, but you may want to > have another swap in the system, try using a file as swap with the "vn" > built in the kernel. In general, swapping to the vn device is not a good idea, since performance is much worse, and there's a chance of deadlocks. In this case, however, it's not a bad idea. It beats the hell out of no swap space at all. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message