From owner-freebsd-current@FreeBSD.ORG Sat Aug 19 21:44:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6761C16A4DF for ; Sat, 19 Aug 2006 21:44:16 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7A6F43DD9 for ; Sat, 19 Aug 2006 21:42:58 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k7JLfTYL075608; Sat, 19 Aug 2006 16:41:30 -0500 (CDT) Message-Id: <6.0.0.22.2.20060819164045.02599308@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 19 Aug 2006 16:41:18 -0500 To: Nik Clayton , current@freebsd.org From: Derek Ragona In-Reply-To: <44E77EF7.6070004@ngo.org.uk> References: <44E77EF7.6070004@ngo.org.uk> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Avoiding bad sectors? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 21:44:16 -0000 The simplest thing would be to boot single user and recreate the swap. -Derek At 04:13 PM 8/19/2006, Nik Clayton wrote: >Hi all, > >I have a disk which has just developed a bad sector in the middle of swap >space. I'm seeing occasional: > > swap_pager: I/O error - pagein failed; blkno 38626,size 32768, error 5 > >errors in the logs, and whichever application happens to have a page there >is killed. The 'blkno' value is always the same. > >I realise that I need to replace the disk. However, while I'm waiting >until I can schedule the downtime, is there a short term solution I can >use to stop FreeBSD (I'm running current from a couple of months ago) from >trying to use this block? > >N >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.