From owner-freebsd-questions Thu Aug 28 22:51:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA12807 for questions-outgoing; Thu, 28 Aug 1997 22:51:38 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA12802 for ; Thu, 28 Aug 1997 22:51:34 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.6/8.8.5) id AAA00746; Fri, 29 Aug 1997 00:51:06 -0500 (EST) From: "John S. Dyson" Message-Id: <199708290551.AAA00746@dyson.iquest.net> Subject: Re: Problem using 'vn' device for swap In-Reply-To: <199708290447.XAA00881@x173-171.reshalls.umn.edu> from "mikk0022@maroon.tc.umn.edu" at "Aug 28, 97 11:47:25 pm" To: mikk0022@maroon.tc.umn.edu Date: Fri, 29 Aug 1997 00:51:06 -0500 (EST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mikk0022@maroon.tc.umn.edu said: > I am running FreeBSD 2.2.2. I attempted to add some swap space a few minutes > ago, by creating a 64MB empty file and 'vnconfig-ing' it as a swap device. > Shortly after I did this, my system started thrashing wildly, and my syslog > is filled with messages like the following: > > Aug 28 23:41:41 mercury /kernel: swap_pager_finish: I/O error, clean of page 67a000 failed > Aug 28 23:41:42 mercury /kernel: swap_pager: I/O error - async pageout failed; blkno 408, size 8192, error 0 > > What do these errors mean? What could be causing these I/O errors? > Did you create the file with: dd if=/dev/zero of=swapfile count=xxx bs=yyy or did you just use an empty 64MB file? -- John dyson@freebsd.org jdyson@nc.com