Date: Wed, 27 Apr 2005 17:26:41 -0700 From: Glenn Dawson <glenn@antimatter.net> To: "Lisa Casey" <lisa@jellico.net>, <freebsd-questions@freebsd.org> Subject: Re: Need help with a swap file Message-ID: <6.1.0.6.2.20050427172618.03208160@cobalt.antimatter.net> In-Reply-To: <001b01c54b87$d4653d80$14d71840@lisakc> References: <001b01c54b87$d4653d80$14d71840@lisakc>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20050427172618.03208160>