From owner-freebsd-questions Tue Apr 27 21:54:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 9D4CA14CF9 for ; Tue, 27 Apr 1999 21:54:19 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA04452; Wed, 28 Apr 1999 14:24:17 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id OAA66125; Wed, 28 Apr 1999 14:24:16 +0930 (CST) Date: Wed, 28 Apr 1999 14:24:16 +0930 From: Greg Lehey To: Gary Kline Cc: Doug White , questions@FreeBSD.ORG Subject: Re: adding more swap.... Message-ID: <19990428142416.O46511@freebie.lemis.com> References: <199904272055.NAA11056@athena.tera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199904272055.NAA11056@athena.tera.com>; from Gary Kline on Tue, Apr 27, 1999 at 01:55:48PM -0700 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 Tuesday, 27 April 1999 at 13:55:48 -0700, Gary Kline wrote: > According to Doug White: >> On Tue, 27 Apr 1999, Gary Kline wrote: >> >>> >>> >>> I'm about ready to add//replace a drive that wiped out several days >>> ago. Can I add swap space on this (3rd) drive? >> >> Absolutely. Just partition off what you want on partition 'b', then add >> that partition to fstab. You can even start using it immediately with >> 'swapon /dev/XX2sXb', with the proper replacements. :) >> > > Man... talk about co-incidence. 25 seconds after I send my > inquiry I saw your note referring to your diskformatting tutorial. > > The -questions group can't get much better than reading my > mind or anticipating questions! > > I'm still on 2.2.8 and I'm guessing that the installation > program will tell me what the /dev/sdsXb is, right? Well, dmesg will tell you. Just shut the machine down, put the disk on the chain, and reboot. > Currently, this is in /etc/fstab:: > > /dev/sd0s1b none swap sw 0 0 > > so after I've added swap to the new drive this should read > > /dev/sd2s1b none swap sw 0 0 > > (?) Looks good to me, assuming that's the drive name. > Until I read your mail (or Greg's), I thought I was stuck with > only 32M of swap. I've got 128M of DIMM. That's far too little. You need at least as much as main memory in order to be able to take a crash dump. Still, that's how I ended up with a small swap partition on the system disk and a big one on another disk. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message