Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wright@mdcbbs.com
Subject: Re: Swap space question...
Date: 15 Aug 90 23:37:41 GMT	[thread overview]
Message-ID: <1990Aug15.163741.993@mdcbbs.com> (raw)
In-Reply-To: 10063@hubcap.clemson.edu

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	 |   	                                   |
    +----------------------------+-----------------------------------------+


      parent reply	other threads:[~1990-08-15 23:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-08-08 16:54 Swap space question Ross Garrett Cutler
1990-08-08 18:51 ` George Robbins
1990-08-09 14:09   ` System Janitor
1990-08-09 20:25     ` George Robbins
1990-08-15 23:37     ` wright [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox