Swap space question...

wright at mdcbbs.com wright at mdcbbs.com
Thu Aug 16 09:37:41 AEST 1990


In article <10063 at hubcap.clemson.edu>, hubcap at 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 at mdcbbs.com          |
    |	Software Engineering	 |   	 UUCP:	uunet!mdcbbs.com!wright    |
    |	P.O.Box 6011		 |   	  PSI:	PSI%31060099980019::WRIGHT |
    |	Cypress, Ca. 90630	 |   	                                   |
    +----------------------------+-----------------------------------------+



More information about the Comp.unix.ultrix mailing list