From owner-freebsd-current@FreeBSD.ORG Mon Mar 8 10:54:54 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 26BBE106568A for ; Mon, 8 Mar 2010 10:54:54 +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 DA77D8FC1C for ; Mon, 8 Mar 2010 10:54:53 +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 1Noabs-0003u3-Ui for freebsd-current@freebsd.org; Mon, 08 Mar 2010 11:54:53 +0100 Received: from bofh by office.redwerk.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Noabs-0008Ci-9m for freebsd-current@freebsd.org; Mon, 08 Mar 2010 12:54:52 +0200 Date: Mon, 8 Mar 2010 12:54:52 +0200 From: Eugene Dzhurinsky To: freebsd-current@freebsd.org Message-ID: <20100308105452.GB31468@office.redwerk.com> Mail-Followup-To: freebsd-current@freebsd.org References: <20100308102918.GA5485@localhost> <49422.1268045482@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <49422.1268045482@critter.freebsd.dk> 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:54:54 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 08, 2010 at 10:51:22AM +0000, Poul-Henning Kamp wrote: > I would suggest you boot single-user and run >=20 > mdmfs -s 1m md /tmp > recoverdisk -w /tmp/_.wl /dev/ad4 /dev/ad4 >=20 > That will find out how many bad sectors you have and try to recover > the contents of them if possible, leave it running as long as you > care for. >=20 > If you interrupt it, the /tmp/_.wl file will contain a list of areas > not yet successfully read/written. Well, I just want to force IDE drive to remap things :) --=20 Eugene N Dzhurinsky --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkuU13oACgkQy/i/DoZLbHwu4ACgis5jSPBkQSMFvAZuu86Zy+S1 ZVwAoJbIMeBxY64V1/lAVyTXxtHRM3zn =CnWk -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--