Date: Mon, 8 Mar 2010 12:52:43 +0200 From: Eugene Dzhurinsky <bofh@redwerk.com> To: freebsd-current@freebsd.org Subject: Re: A tool for remapping bad sectors in CURRENT? Message-ID: <20100308105243.GA31468@office.redwerk.com> In-Reply-To: <4B94D1FC.1050407@FreeBSD.org> References: <mailpost.1268044056.2992919.61277.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw> <4B94D1FC.1050407@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100308105243.GA31468>