From owner-freebsd-stable@FreeBSD.ORG Wed Jun 14 13:18:44 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A992916A474 for ; Wed, 14 Jun 2006 13:18:44 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9F7443D48 for ; Wed, 14 Jun 2006 13:18:43 +0000 (GMT) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [172.24.144.34]) by corellia.vindaloo.com (Postfix) with ESMTP id 9686D5C34; Wed, 14 Jun 2006 09:17:43 -0400 (EDT) Received: from dagobah.vindaloo.com (dagobah.vindaloo.com [172.24.145.68]) by yavin.vindaloo.com (Postfix) with ESMTP id 218C825333; Wed, 14 Jun 2006 09:18:42 -0400 (EDT) Received: from dagobah.vindaloo.com (localhost [127.0.0.1]) by dagobah.vindaloo.com (8.13.6/8.13.6) with ESMTP id k5EDIJRQ001973; Wed, 14 Jun 2006 09:18:19 -0400 (EDT) (envelope-from chris@dagobah.vindaloo.com) Received: (from chris@localhost) by dagobah.vindaloo.com (8.13.6/8.13.6/Submit) id k5EDI4FB001972; Wed, 14 Jun 2006 09:18:04 -0400 (EDT) (envelope-from chris) Date: Wed, 14 Jun 2006 09:18:04 -0400 From: Christopher Sean Hilton To: Greg Lane Message-ID: <20060614131804.GA1920@dagobah.vindaloo.com> References: <20060612055143.GA10925@router.lane.family> <448D30EC.1070400@quip.cz> <20060612113725.GA10678@router.lane.family> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <20060612113725.GA10678@router.lane.family> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: kernel panic(?) trying to copy data off failed drive with dd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 13:18:44 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 12, 2006 at 09:37:25PM +1000, Greg Lane wrote: > On Mon, Jun 12, 2006 at 11:16:28AM +0200, Miroslav Lachman <000.fbsd@quip= .cz> wrote: > > >Advice please?!? > >=20 > > Maybe you can try /usr/ports/sysutils/cpdup which can skip read errors.= =20 > > I used cpdup few years ago on HDD with bad sectors with success - lose= =20 > > only few unreadable files from the middle of disk. >=20 > I am installing that right now and will give it a try in the morning=20 > when I am sitting next to it. I want to keep the machine alive=20 > overnight while I copy some other stuff over the network to another=20 > machine, since I may take this opportunity (replacing the disk) to upgrad= e=20 > to 6-stable. >=20 The problem here is that if the drive wedges the controller then the kernel really cannot do anything about it. Your drive is SATA so I'm not sure if hardware exists that can help you but were it normal ATA I would put it in an external USB or firewire enclosure and try the dd from there. That way if the controller gets wedged during the read process it's the USB controller and you weren't depending on it for access to your root filesystem, swap space, etc. -- Chris --=20 Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iQEVAwUBRJAMjILaxorQlXotAQIZpggAueYUSufk+aM+qq6rMmSpbVKzF0bQU3Sj 6gpKTE4uGYPFZM6noFQ3IX5SBhOCq64QqspBmtLTx5VlOBAABV1u0NCW0gfSMROD AFvNhK6AReVV9XGqbpAXfsrfYKIla7/ywe1igu/RAmnc2fIGuYLchYVTqHz0Z5vk LRaOZRwI6ndCXzHhV44ZS9+lXkr8ihM+sVWzgyBvsOyLtt0ngPgbCQ3FhUtPJdnr HG5FQ7KHG6913z7UdI2B1EQTUiGB8ELKg0c0WLfFFPY1T8BukJFLcS1wiJXjhnKw jgGASyGIriuAqqJonXA4t5Kpk9Go2XemdpZiwrsOtmhj57ikIjD7mg== =yhL4 -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--