Subject: swapping to *just* vnd0
To: None <netbsd-help@NetBSD.ORG>
From: None <Todd.Williamson@cs.cmu.edu>
List: netbsd-help
Date: 05/21/1996 21:54:43
Am I supposed to be able to do this?

I want to swap to just vnd0.

I compiled a kernel with
	root on wd0 swap on wd0 and vnd0

I have no wd0b, so when I boot up, I get the 
	WARNING: no swap space present
error message.

Then I run:
	# vnconfig -v /dev/vnd0b swapfile
and it reports that the file is 16 MB.

Then I do
	# swapon /dev/vnd0b
which returns with no error.

When I run pstat -s, I get the following error:
	# pstat -s
	pstat: panic: nswapmap goof

Anyway, it doesn't seem to be using the swap space, since I can't get
X started up (I only have 8 MB of RAM).  It gets up to where it starts
spawning some xterms, and dies.  X used to start just fine before with
a regular swap partition on wd0b.

So, do I have to have a swap partition on my disk?  I guess it
wouldn't be too hard to repartition the disk, but is seems like a
pain.

Thanks,

-Todd.