Date: Tue, 29 Oct 2002 09:52:24 -0500 (EST) From: John Mills <jmmills@telocity.com> To: FreeBSD-questions <freebsd-questions@FreeBSD.ORG> Cc: Jerry McAllister <jerrymc@clunix.cl.msu.edu> Subject: Re: Checking RAM and swap use Message-ID: <Pine.LNX.4.21.0210290946230.2389-100000@otter.mills-atl.com> In-Reply-To: <200210291433.g9TEXI420961@clunix.cl.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0210290946230.2389-100000>