From owner-freebsd-current@FreeBSD.ORG Sat Aug 19 21:13:30 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 CB90116A4DF for ; Sat, 19 Aug 2006 21:13:30 +0000 (UTC) (envelope-from nik@ngo.org.uk) Received: from jc.ngo.org.uk (jc.ngo.org.uk [69.55.225.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0400543D5E for ; Sat, 19 Aug 2006 21:13:29 +0000 (GMT) (envelope-from nik@ngo.org.uk) Received: from [192.168.0.20] (i-83-67-27-141.freedom2surf.net [83.67.27.141]) by jc.ngo.org.uk (8.13.7/8.13.7) with ESMTP id k7JLDSAr069143 for ; Sat, 19 Aug 2006 14:13:28 -0700 (PDT) (envelope-from nik@ngo.org.uk) Message-ID: <44E77EF7.6070004@ngo.org.uk> Date: Sat, 19 Aug 2006 22:13:27 +0100 From: Nik Clayton User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: * (1.988) RCVD_IN_SORBS_DUL X-Scanned-By: MIMEDefang 2.56 on 69.55.225.33 X-Mailman-Approved-At: Sat, 19 Aug 2006 21:17:02 +0000 Cc: Subject: 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:13:30 -0000 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