From owner-freebsd-questions Thu May 6 11:41:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id B479315DCC for ; Thu, 6 May 1999 11:41:15 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id LAA22211; Thu, 6 May 1999 11:41:12 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 6 May 1999 11:41:11 -0700 (PDT) From: Doug White To: Kristopher Zentner Cc: freebsd-questions@FreeBSD.ORG Subject: Re: adding new swap says: device not configured In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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