From owner-freebsd-hackers Tue Nov 21 16:44:09 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA11727 for hackers-outgoing; Tue, 21 Nov 1995 16:44:09 -0800 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA11637 for ; Tue, 21 Nov 1995 16:44:00 -0800 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id AAA23978; Wed, 22 Nov 1995 00:42:08 GMT From: Michael Smith Message-Id: <199511220042.AAA23978@genesis.atrad.adelaide.edu.au> Subject: Re: Help! I got a bad block.... To: hasty@rah.star-gate.com (Amancio Hasty Jr.) Date: Wed, 22 Nov 1995 00:42:08 +0000 () Cc: hackers@FreeBSD.org In-Reply-To: <199511212145.NAA00231@rah.star-gate.com> from "Amancio Hasty Jr." at Nov 21, 95 01:45:55 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 903 Sender: owner-hackers@FreeBSD.org Precedence: bulk Amancio Hasty Jr. stands accused of saying: > > My system disk is dying and I need to remove an inode -- all I got is > the disk block number which fsck reports . > > BTW: Why can't fsck remove or mark bad scsi blocks? Because nobody's added that 8). You should be able to turn on bad sector forwarding in the drive and have it do the work itself. Have a look at scsi(8) : scsi -f /dev/rsd0 -m1 -e -P 3 and set AWRE and ARRE to enable reallocation on both read and write. Many drives ship with this off. > Amancio -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[