Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 14:24:16 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Gary Kline <kline@tera.com>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG
Subject:   Re: adding more swap....
Message-ID:  <19990428142416.O46511@freebie.lemis.com>
In-Reply-To: <199904272055.NAA11056@athena.tera.com>; from Gary Kline on Tue, Apr 27, 1999 at 01:55:48PM -0700
References:  <Pine.BSF.4.03.9904271338091.2463-100000@resnet.uoregon.edu> <199904272055.NAA11056@athena.tera.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990428142416.O46511>