Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 11:41:11 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Kristopher Zentner <kzentner@u.washington.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: adding new swap says: device not configured
Message-ID:  <Pine.BSF.4.03.9905061138520.25986-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.A41.4.10.9905060941580.48458-100000@dante03.u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 May 1999, Kristopher Zentner wrote:

> Although I'm using freebsd-stable I thought this might be more appropriate
> on -questions. Please move as necessary if it is not.
> 
> I've followed the instructions exactly on the faq (many times over) about
> adding swap and it seems that there is a step that I am missing. Here's
> what I have: 
> Stable version: FreeBSD 3.1-STABLE #4
> 
> in the kernel: pseudo-device   vn 1

This is correct.

> i've also tried: pseudo-device vn
> 
> I've done a ./MAKEDEV vn0 in /dev
> odin# ls -al vn0
> brw-r-----  1 root  operator   15, 0x00010002 May  4 12:04 vn0
> (other vn0x devices exist as well including vn0c)
> 
> I've done a dd if=/dev/zero of=/usr/swap0 bs=1024k count=64
> 
> chmoded /usr/swap0 to 0600
> odin# ls -al /usr/swap0
> -rw-------  1 root  wheel  67108864 May  4 12:05 /usr/swap0
> 
> However each time rc.conf or myself tries to enable the swap file I get
> the same error message:
> odin# vnconfig -ce /dev/vn0c /usr/swap0 swap
> vnconfig: open: Device not configured

-ce is redundant; use -c or -e.

> Has something changed in how one is supposed to add swap? Please reply
> directly as I'm not subbed to the list. Thanks much in advance. 

Try it without the  swap flag, then do `swapon /usr/swap0' after vnconfig
succeeds.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



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?Pine.BSF.4.03.9905061138520.25986-100000>