Skip site navigation (1)Skip section navigation (2)
Date:      18 Sep 1999 15:57:46 -0500
From:      Dave Marquardt <marquard@zilker.net>
To:        James Burton <jamesb@nelsonbay.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Extra swap space
Message-ID:  <853dwc5451.fsf@localhost.zilker.net>
In-Reply-To: James Burton's message of "Sat, 18 Sep 1999 13:46:20 %2B1000 (EST)"
References:  <199909180346.NAA28049@bell.nelsonbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
James Burton <jamesb@nelsonbay.com> writes:
> Because I am running out of swap space sending many emails at once,
> I would like to increase it from the existing 32MB ( with 32MB real ).
> 
> Following the 4 steps in the handbook to allocate a file for some 
> swap space, yields the error message from the vnconfig :-
> 
> vnconfig: open: Device not configured
> 
> Step 1: cd /dev; sh ./MAKEDEV vn0
> Step 2: dd if=/dev/zero of=/usr/swap bs=1024k count=128
> Step 3: chmod 0600 /usr/swap
> Step 4: swapfile="/usr/swap" added to /etc/rc.conf
>         and
>         vnconfig -ce /dev/vn0c /usr/swap swap
> 
> Runing 3.1 generic which the handbook suggests would have pseudo_device vn 1,
> but dont know how to check that either.

I don't know if vn is part of the 3.1 GENERIC kernel configuration.
For 3.3, it is not, so I suspect vn is not part of 3.1 GENERIC.

So, you need a custom kernel that includes pseudo-device vn.

-Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?853dwc5451.fsf>