From owner-freebsd-questions@FreeBSD.ORG Wed Jan 5 18:26:24 2011 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 994FF1065696 for ; Wed, 5 Jan 2011 18:26:24 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 302AD8FC1C for ; Wed, 5 Jan 2011 18:26:23 +0000 (UTC) Received: by wyf19 with SMTP id 19so15744172wyf.13 for ; Wed, 05 Jan 2011 10:26:23 -0800 (PST) Received: by 10.216.174.65 with SMTP id w43mr25637268wel.95.1294251982697; Wed, 05 Jan 2011 10:26:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.133.130 with HTTP; Wed, 5 Jan 2011 10:26:02 -0800 (PST) In-Reply-To: <20110105152725.U49334@sola.nimnet.asn.au> References: <20101229120038.3DFB0106591A@hub.freebsd.org> <20101230133126.O36121@sola.nimnet.asn.au> <20101231105353.S36121@sola.nimnet.asn.au> <20110102102255.00004f57@unknown> <20110102230702.N49334@sola.nimnet.asn.au> <20110103022619.O49334@sola.nimnet.asn.au> <20110104143245.P49334@sola.nimnet.asn.au> <20110105152725.U49334@sola.nimnet.asn.au> From: Chris Brennan Date: Wed, 5 Jan 2011 13:26:02 -0500 Message-ID: To: Ian Smith Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Bruce Cran , FreeBSD Questions Subject: Re: a new hard-drive in a 2y/o laptop 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, 05 Jan 2011 18:26:24 -0000 On Wed, Jan 5, 2011 at 12:44 AM, Ian Smith wrote: > > Saw Chris' later message that -F isn't there for him, but here's what > should be, on the data, the sure-fire way to clobber that last sector: > > dd if=/dev/zero of=/dev/ad4 oseek=1465149167 > > which command SHOULD report just 512 bytes written (we're sure it can't > write past the end of the disk with no count specified), after which: > > dd if=/dev/ad4 iseek=1465149167 | hd > > SHOULD show zeroes from 00000000 to 000001ff (ie next block 00000200) > If not, there really must be some hardware issue with writing? > > Hopefully getting there! > > cheers, Ian > [..] Fixit# sysctrl kern.geom.debugflags=16 kern.geom.debugflags: 0 -> 16 Fixit# dd if=/dev/zero of=/dev/ad4 oseek=1465149167 dd: /dev/ad4: end of device 2+0 records in 1+0 records out 512 bytes transferred in 0.0100001 secs (51195 bytes/sec) Fixit# dd if=/dev/ad4 iseek=1465149167 | hd 1+0 records in 1+0 records out 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 512 bytes transferred om 0.009863 secs (51912 bytes/sec) * 00000200 Fixit# [..] restarting and back to sysinstall from BETA1 is nice dice ... same original error ... can I just zero the whole drive?