From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 00:26:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7B6D16A4CF for ; Thu, 28 Apr 2005 00:26:55 +0000 (GMT) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8073543D68 for ; Thu, 28 Apr 2005 00:26:55 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-94-59.san.res.rr.com [66.27.94.59]) (authenticated bits=0)j3S0Qrc8011249 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Wed, 27 Apr 2005 17:26:54 -0700 Message-Id: <6.1.0.6.2.20050427172618.03208160@cobalt.antimatter.net> X-Sender: lists@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Wed, 27 Apr 2005 17:26:41 -0700 To: "Lisa Casey" , From: Glenn Dawson In-Reply-To: <001b01c54b87$d4653d80$14d71840@lisakc> References: <001b01c54b87$d4653d80$14d71840@lisakc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Need help with a swap file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 00:26:56 -0000 Opps....I should read more carefully before I send...ignore my last message. -Glenn At 05:18 PM 4/27/2005, Lisa Casey wrote: >Hi, > >I think I screwed up. Perhaps someone here can help me. I need more swap >space on my FreeBSD 4.6 box. I followed the directions at >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html >for "Creating a swapfile for FreeBSD 4.X". The example given in the >handbook was for a 64 MG swapfile. I wanted to create a 200 MG swapfile. So >for the command in the example that says: ># dd if=/dev/zero of=/usr/swap0 bs=1024k count=64 >I typed instead: ># dd if=/dev/zero of=/usr/swap0 bs=1024k count=200 > >I put the swap file info in rc.conf: > >swapfile="/usr/swap0" # aux swapfile > >and enabled the swap file (as per the directions) by typing ># vnconfig -e /dev/vn0b /usr/swap0 swap > >Before I created the new swapfile, swapinfo gave me this information: > >Device 1K-blocks Used Avail Capacity Type >/dev/ad0s1b 115296 11588 103708 10% Interleaved > >Now swapinfo gives me this: > >Device 1K-blocks Used Avail Capacity Type >/dev/ad0s1b 115296 8136 107160 7% Interleaved >/dev/rvn0b 72 0 72 0% Interleaved >Total 115368 8136 107232 7% > >When I look at the size of the swap0 file I created in /usr, it is not the >200 MG I thought I was getting: > >-rw------- 1 root wheel 204800 Apr 27 15:58 swap0 > >How can I undo this and redo it? What do I need to do to do it RIGHT this >time?? > >Thanks, > >Lisa Casey > > > > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005 > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"