From owner-freebsd-hackers Mon Jul 8 14:41: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7279837B644 for ; Mon, 8 Jul 2002 14:40:47 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14AE643E42 for ; Mon, 8 Jul 2002 14:40:47 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0159.cvx21-bradley.dialup.earthlink.net ([209.179.192.159] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17RgFJ-00013Y-00; Mon, 08 Jul 2002 17:40:38 -0400 Message-ID: <3D2A06A9.2F3CB99C@mindspring.com> Date: Mon, 08 Jul 2002 14:39:53 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Luigi Rizzo Cc: Matthew Dillon , Julian Elischer , hackers@FreeBSD.ORG Subject: Re: offtopic: low level format of IDE drive. References: <200207082108.g68L8RMr047199@apollo.backplane.com> <20020708141924.E77043@iguana.icir.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Luigi Rizzo wrote: > On Mon, Jul 08, 2002 at 02:08:27PM -0700, Matthew Dillon wrote: > ... > > :power while writing to disk. The drive wrote out garbage to a track. > > : > > :I want to reformat the drive, (low level) but the bios doesn't have any > > for what matters, sometimes I managed to recover the disk by just > dd'ing a zero block to the broken sectors using dd oseek= > where nn is the sector number where read fails. If you have a power failure during writing, you can actually screw up the low level format of the disk. It sounds like the disk you dd'ed only had the high level format screwed up. Julian got struck by lightning; perhaps he will now stick to disks with built-in lightning rods (e.g. not succeptible to this failure), e.g. SCSI. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message