From owner-freebsd-questions@FreeBSD.ORG Wed Feb 4 12:20:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D40E316A4CE for ; Wed, 4 Feb 2004 12:20:01 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with SMTP id A98A043D48 for ; Wed, 4 Feb 2004 12:19:59 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (qmail 47910 invoked by uid 89); 4 Feb 2004 20:19:46 +0000 Received: from unknown (HELO beer.eikeland.info) (bjorn@eikeland.info@80.202.106.8) by mail.valuehost.co.uk with SMTP; 4 Feb 2004 20:19:46 +0000 Date: Wed, 04 Feb 2004 21:20:04 +0100 To: David Banning References: <20040204195605.GA61146@skytrackercanada.com> From: Bjorn Eikeland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20040204195605.GA61146@skytrackercanada.com> User-Agent: Opera7.23/FreeBSD M2 build 518 cc: "freebsd-questions@freebsd.org" Subject: Re: using a separate drive for swap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 20:20:02 -0000 So you're adding a new drive to your box, wanting to keep your old root and other partitions? If so you should be able to just put a freebsd partition and set up disklables b (swap) and c (the whole disk) on the new drive and then add it to /etc/fstab as swap. (This can be done in 'gui' in sysinstall under fdisk and disklabel - not the /etc/fstab edit though :) If you dont want to do any rebooting you can use swapon(8) I think. You would moslikely want to only use the new drive for swapp space as you dont have to share disk i/o with the disk containing the os and your data. hth Bjorn Pa Wed, 4 Feb 2004 14:56:05 -0500, skrev David Banning : > I have been running out of swap space on my box. > > I had an old 6.4 drive around which I thought would be > useful to add - just for swap - even if it's overkill. > > The installation wants a root mount point. Is that > necessary? I even tried to put a limited / root of > 61 meg just to make it happy but it still gave errors. > > Is there an easy way to do this?