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

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks much, I redid everything below (including the advice you gave).
It's working and I'm in much better shape. 

==========================================================================
    Kristopher Zentner           |    "Would you tell me, please, which
    Aspiring Linguist            |     way I ought to go from here?"
    FreeBSD Advocate             |    "That depends a great deal on
    kzentner@u.washington.edu    |     where you want to go." said the Cat
==========================================================================

On Thu, 6 May 1999, Doug White wrote:

> 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.A41.4.10.9905061145390.93948-100000>