Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: SunOS 4.0.3 swapping across multiple drives........ Message-ID: <2674@auspex.auspex.com> Date: 28 Nov 89 19:41:41 GMT References: <21533@adm.BRL.MIL> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 24 >First, the kernal line should say: > ... root on xd0a swap on xd0b and on xd6f >(notice the 'and' vs. the 'swap'). My guess is that what you are telling the >kernal is that you want swapping on xd6f ONLY (i.e. swap on xd6f >overrides swap on xd0b). Note that when running SunOS 4.x you do not, as far as I know, have to reconfigure the kernel to know about new swap partitions, unlike 4.xBSD and older SunOS releases that use the 4.xBSD code for swapping. >Second, read the man page for swapon. Those I have seen say that specifying >"/etc/swapon name" (like swapon /dev/xd6f) makes ONLY THIS SPACE available to >the system for swaping. More precisely, it says "add only this space to the list of swap areas", it doesn't say "forsake all other swap areas and cleave only unto this one". >Change the swapon command from: "swapon /dev/xd6f" to: "swapon -a". >The "-a" option says start swaping on any partitions defined >as swapable in /etc/fstab. See "man swapon" for details. Note also that there's already a "swapon -a" command in "/etc/rc".