From owner-freebsd-questions Tue Oct 29 6:50: 5 2002 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 9640337B401 for ; Tue, 29 Oct 2002 06:50:03 -0800 (PST) Received: from otter.mills-atl.com (dsl-64-192-140-77.telocity.com [64.192.140.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id A84DB43E77 for ; Tue, 29 Oct 2002 06:50:01 -0800 (PST) (envelope-from jmmills@telocity.com) Received: from localhost (jmills@localhost) by otter.mills-atl.com (8.9.3/8.9.3) with ESMTP id JAA02477; Tue, 29 Oct 2002 09:52:24 -0500 X-Authentication-Warning: otter.mills-atl.com: jmills owned process doing -bs Date: Tue, 29 Oct 2002 09:52:24 -0500 (EST) From: John Mills X-Sender: jmills@otter.mills-atl.com Reply-To: John Mills To: FreeBSD-questions Cc: Jerry McAllister Subject: Re: Checking RAM and swap use In-Reply-To: <200210291433.g9TEXI420961@clunix.cl.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jerry - On Tue, 29 Oct 2002, Jerry McAllister wrote: > You could add a disk to the machine and use some of it as swap. > Make a FreeBSD slice on it with fdisk and then use disklabel to > make partitions with one of them (normally 'b') designated swap > and then put it in /etc/fstab. That's one possibility - I have some old drives too small for anything else. > If neither of those can happen, then you will need to repartition > your existing drive. Although it may be possible to use one of the > available utilities to shrink existing partitions within a slice, > I would suggest makeing backups of each partition using dump(8) to > some media you can preserve. Then reslice/repartition the drive, > boot from a rescue disk and restore(8) the dumps. Then in single > user mode, fix up /etc/fstab and it should work. That's feasible, too: I have another computer in the LAN I could use, with reasonable free space. > Of course, if you are a few versions behind 4.7, then this would > be a good time to just do an new install of 4.7 and merge over only > the stuff you need to keep from those backups. That's what I really ought to do. Mostly what I want to preserve is net setup, etc. A backup of '/etc' will get it. The rest is just the configuration file I used to build my kernel. This time I'll allow more swap. (Everything is pretty tight in this setup, as it's built from junk parts.) Thanks. - John Mills To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message