From owner-freebsd-current@FreeBSD.ORG Mon Mar 8 10:52:46 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D042106566C for ; Mon, 8 Mar 2010 10:52:46 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from redwerk.com (redwerk.com [89.105.196.9]) by mx1.freebsd.org (Postfix) with ESMTP id C070B8FC12 for ; Mon, 8 Mar 2010 10:52:45 +0000 (UTC) Received: from [192.168.250.5] (helo=office.redwerk.com) by redwerk.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1NoaZo-0003qM-Fo for freebsd-current@freebsd.org; Mon, 08 Mar 2010 11:52:44 +0100 Received: from bofh by office.redwerk.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NoaZn-0008CT-JF for freebsd-current@freebsd.org; Mon, 08 Mar 2010 12:52:43 +0200 Date: Mon, 8 Mar 2010 12:52:43 +0200 From: Eugene Dzhurinsky To: freebsd-current@freebsd.org Message-ID: <20100308105243.GA31468@office.redwerk.com> Mail-Followup-To: freebsd-current@freebsd.org References: <4B94D1FC.1050407@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <4B94D1FC.1050407@FreeBSD.org> Subject: Re: A tool for remapping bad sectors in CURRENT? 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: Mon, 08 Mar 2010 10:52:46 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 08, 2010 at 12:31:24PM +0200, Alexander Motin wrote: > You may try to overwrite these sectors with dd. It should trigger sector > reallocation. To be sure, you may read them before and after the write. dd if=3D/dev/ad4 of=3D/dev/null skip=3D222342559 bs=3D512 count=3D1 dd: /dev/ad4: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 2.351940 secs (0 bytes/sec) dd if=3D/dev/zero of=3D/dev/ad4 seek=3D222342559 bs=3D512 count=3D1 dd: /dev/ad4: Operation not permitted Should I do it in single mode? --=20 Eugene N Dzhurinsky --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkuU1vcACgkQy/i/DoZLbHwtkACgldhBvzuBxnkdRXzRoVj/a0pz /REAn0i28RXhUpvGkomxFsPd+lg+b3yB =5DBK -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--