🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #1875

Re: Swap space question...

#1875
From: wright
Date: Wed, 15 Aug 1990 23:37
53 lines
2495 bytes
In article <10063@hubcap.clemson.edu>, hubcap@hubcap.clemson.edu (System Janitor) writes:
> My config file looks like:
> 
> config	vmunix	root on ra0a  swap on ra0b and ra1b and ra2b  dumps on ra2b  
> 
> My fstab has:
> /dev/ra1b::sw:0:0:ufs::
> /dev/ra2b::sw:0:0:ufs::
> 
> And I've got ``swapon -a'' in /etc/rc...
> 
> But at boot time (or anytime I type ``swapon -a'' or ``swapon /dev/ra1b'')
> I get:      ``/dev/ra1b: No such device''
> 

  I don't believe the three swap areas should have any affect on the overall
swapping or should bother the system. Although I would remove the "swapon -a"
from the rc.local, you don't really need it. And for simplicity sake your
entries in /etc/fstab only need look like the following:

		/dev/ra1b::sw:::::
		/dev/ra2b::sw:::::

  The system only cares what partition when it sees the "sw" in the type field.

  The way to find out if your "configured" swap areas are seen by the system is
to check two lines when you do a pstat -s:

	131072k swap configured
	        57162k used (12668k text, 1312k smem)
	        75408k free, 12060k wasted, -1498k missing
	avail: 36*2048k 1*1024k 2*128k 1*64k 3*32k 7*16k 128*1k

131072k swap configured 
	^^^^^^^^^^^^^^^ shows how much swap you should have, in this case
			/dev/rz0b and /dev/rz1b (rz55's)

        57162k used (12668k text, 1312k smem)
        75408k free, 12060k wasted, -1498k missing
					   ^^^^^^^ shows how much is not
	recognized by the system, this means it's configured but not in use.

avail: 36*2048k 1*1024k 2*128k 1*64k 3*32k 7*16k 128*1k

-- 
 
    +----------------------------+-----------------------------------------+
    |	Dave Wright		 |	Phone:	(714) 952-6320             |
    |	McDonnell Douglas M&E	 |   Internet:	wright@mdcbbs.com          |
    |	Software Engineering	 |   	 UUCP:	uunet!mdcbbs.com!wright    |
    |	P.O.Box 6011		 |   	  PSI:	PSI%31060099980019::WRIGHT |
    |	Cypress, Ca. 90630	 |   	                                   |
    +----------------------------+-----------------------------------------+
Technical Details
Message-ID: <1990Aug15.163741.993@mdcbbs.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mdcbbs.com!wright
References: <13707@cbmvax.commodore.com> <10063@hubcap.clemson.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mdcbbs.com!wright
From: wright@mdcbbs.com
Newsgroups: comp.sys.dec,comp.unix.ultrix
Subject: Re: Swap space question...
Message-ID: <1990Aug15.163741.993@mdcbbs.com>
Date: 15 Aug 90 23:37:41 GMT
References: <13707@cbmvax.commodore.com> <10063@hubcap.clemson.edu>
Organization: McDonnell Douglas M&E, Cypress CA
Lines: 53