Re: Avoiding bad sectors?

From: Derek Ragona <derek_at_computinginnovations.com>
Date: Sat, 19 Aug 2006 16:41:18 -0500
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_at_freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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.
Received on Sat Aug 19 2006 - 19:44:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC