From owner-freebsd-questions@FreeBSD.ORG Wed Aug 26 16:10:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30CD9106568D for ; Wed, 26 Aug 2009 16:10:43 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id A91D68FC33 for ; Wed, 26 Aug 2009 16:10:42 +0000 (UTC) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id C70C836D1D; Wed, 26 Aug 2009 18:10:38 +0200 (CEST) Date: Wed, 26 Aug 2009 18:10:38 +0200 From: cpghost To: Tim Judd Message-ID: <20090826161038.GE11739@phenom.cordula.ws> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824224003.0b5ac2df.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 16:10:43 -0000 On Mon, Aug 24, 2009 at 02:51:41PM -0600, Tim Judd wrote: > >> Buy spinrite, no matter what. > > It's OS/FS independent. it works on the bits stored on the magnetic > platters, NOT on a filesystem. TiVo, Linux, BSD and Mac OSX drives > are treated the same. Bits on a magnetic platter. It's recovery > stems from the randomization and movement of the head to the sector in > question that allows it to salvage any bits it can (for example, other > recovery will abandon 512bytes if 1 bit cannot be read. spinrite will > recover 512bytes-1bit to a hard drive's spare sector once spinrite > says "i'm done working with this sector".) It leads to a very > successful rate. (Disclaimer: I'm not familiar with spinrite.) 512bytes-1bit may be read back, but you can't be sure that those are the correct bytes! IIRC, sectors are usually protected by some kind of ECC. Simply ignoring the ECC and reading raw magnetic data will all too often result in corrupt sectors. Of course, if you have out-of-band error correction or at least error detection mechanisms (like .PAR or md5/sha1 checksums), raw magnetic recovery is better than nothing, if you're desperate. -cpghost. -- Cordula's Web. http://www.cordula.ws/