From owner-freebsd-questions@FreeBSD.ORG Fri Nov 25 20:30:02 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72D20106566B for ; Fri, 25 Nov 2011 20:30:02 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 134128FC0A for ; Fri, 25 Nov 2011 20:30:01 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pAPKTpsE081413; Fri, 25 Nov 2011 13:29:51 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pAPKTpc0081410; Fri, 25 Nov 2011 13:29:51 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 25 Nov 2011 13:29:51 -0700 (MST) From: Warren Block To: Robert In-Reply-To: <20111125095457.477e9501@dell64> Message-ID: References: <201111241116.pAOBGH4i098240@fire.js.berklix.net> <20111124113938.2d99eec2@dell64> <20111125095457.477e9501@dell64> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 25 Nov 2011 13:29:51 -0700 (MST) Cc: "Julian H. Stacey" , questions@freebsd.org Subject: Re: Invalid fdisk partition table found (fwd) 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: Fri, 25 Nov 2011 20:30:02 -0000 On Fri, 25 Nov 2011, Robert wrote: > On Thu, 24 Nov 2011 13:45:37 -0700 (MST) > Warren Block wrote: > >> On Thu, 24 Nov 2011, Robert wrote: >> >>> [robert@dell64] ~> sudo gpart destroy -F da1 >>> da1 destroyed >>> >>> [robert@dell64] ~> fdisk /dev/da1 >>> ******* Working on device /dev/da1 ******* >>> parameters extracted from in-core disklabel are: >>> cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl) >>> >>> parameters to be used for BIOS calculations are: >>> cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl) >>> >>> fdisk: invalid fdisk partition table found >> >> The partition table was cleared. >> >>> Media sector size is 512 >>> Warning: BIOS sector numbering starts with sector 1 >>> Information from DOS bootblock is: >>> The data for partition 1 is: >>> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) >>> start 32, size 59360 (28 Meg), flag 80 (active) >>> beg: cyl 0/ head 1/ sector 1; >>> end: cyl 28/ head 63/ sector 32 >> >> And it starts with a default table equal to the size of the drive. > > Is it supposed to still show sysid 165 ? > > I was under the impression that dd if=/dev/zero would clean out > everything including sector 1. The partition table was cleared, that's why it said "invalid fdisk partition table found". Rather than starting with an invalid table, it created a valid default table in memory. >> Do both cards report the same size? > > Yes..sort of 28, 29 MB If they weren't the same, I was going to suggest maybe they've been heavily used and worn out. But I don't know if capacity shrinks as blocks go bad and spares are used up, or if they just quit working. And I'd expect them to be very different unless they had the exact same usage, like in a mirror. > OT. The last 2 times that I have sent replies to two list regarding this > question, I have not seen it come through to me. Julian's relies as > well as yours come through. Maybe spam or duplicate filtering.