swapon problem: solved!!!

eichelbe at nadc.ARPA eichelbe at nadc.ARPA
Tue Sep 10 22:38:24 AEST 1985


	Thanks go to ron at BRL and dunigan at ORNL-MSR and anyone I might have
missed.  To change the swap area on my system does require a reconfiguration
as I have not included /dev/hp2b as a possible swap device.

My original letter:

>From eichelbe Mon Sep  9 17:10:33 1985
>To: unix-wizards at BRL
>Subject: swapon problem
>
>
>	I have a real puzzler on my 4.1 BSD system on my VAX 11/780.  I
>recently reconfigured my system so that I needed to move my alternate
>swapspace partition from hp1b to hp2b.  However, when I bring up the system
>I now get:
>	Adding /dev/hp2b as swap device
>	No such device: /dev/hp2b
>
>For some reason, the swapon program cannot access /dev/hp2b, but both /dev/hp2b
>and /dev/rhp2b exist and are correct.  I have made no changes to my operating
>system.  I do have source code, but swapon.c just shows a syscall of:
>	#define VSWAPON 85
>		...
>	if (syscall(VSWAPON,fs->fs_spec) == -1)
>		...
>
>My swapping worked before for hp1b, but I've since converted its disk to a
>"c" partition so I can't go back.  Please help.  Thanks.
>
>Jon Eichelberger
>eichelbe at NADC
>P.S. I've already tried "swapon /dev/hp2b", thinking that fstab might be bad.
>     This does not work, either.
>

The replies from wonderful wizards:

>From ron at BRL Mon Sep  9 19:20:49 1985
	...
>Subject:  Re:  swapon problem
>
>In order to turn on a swap area with swapon it must be configured
>into your swapvmunix file.  This is done by using the "swap on ...
>and ..." clause in config.  See "Building Systems with Config" by
>Sam Leffler.
>
>-Ron
>

>From dunigan at ORNL-MSR Mon Sep  9 19:32:00 1985
	...
>To: eichelbe at NADC.ARPA
>Subject: Re:  swapon problem
>
>did you change the swapping information in your configuration file and 
>rebuild vmunix?
>
---



More information about the Comp.unix.wizards mailing list