From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 02:11:55 2010 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 B30BA106564A for ; Thu, 24 Jun 2010 02:11:55 +0000 (UTC) (envelope-from cheeks@same.swcp.com) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by mx1.freebsd.org (Postfix) with ESMTP id 75F5F8FC14 for ; Thu, 24 Jun 2010 02:11:55 +0000 (UTC) Received: from ame1.swcp.com (ame1.swcp.com [216.184.2.118]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id o5O1FGX0029543; Wed, 23 Jun 2010 19:15:16 -0600 Received: from same.swcp.com (same.swcp.com [216.184.2.4]) by ame1.swcp.com (8.14.4/8.14.3) with ESMTP id o5O1ExID078187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jun 2010 19:15:00 -0600 (MDT) (envelope-from cheeks@same.swcp.com) Received: from same.swcp.com (localhost.swcp.com [127.0.0.1]) by same.swcp.com (8.14.2/8.14.2) with ESMTP id o5O1FDP3028218; Wed, 23 Jun 2010 19:15:13 -0600 (MDT) (envelope-from cheeks@same.swcp.com) Received: (from cheeks@localhost) by same.swcp.com (8.14.2/8.14.2/Submit) id o5O1FDhg028217; Wed, 23 Jun 2010 19:15:13 -0600 (MDT) (envelope-from cheeks) Date: Wed, 23 Jun 2010 19:15:13 -0600 From: Mark Costlow To: nlmills@clemson.edu Message-ID: <20100624011512.GA28133@same.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> 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) X-Scanned-By: MIMEDefang 2.67 on 216.184.2.127 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (ame1.swcp.com [216.184.2.127]); Wed, 23 Jun 2010 19:15:00 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.96 at ame1.swcp.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ame1.swcp.com X-Spam-Level: X-Spam-Status: No, hits=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=no version=3.2.5 Cc: freebsd-questions@freebsd.org, Mark Costlow Subject: Re: Problem running fdisk via sysinstall 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: Thu, 24 Jun 2010 02:11:55 -0000 Since I don't have any other ideas yet, I'll give that a try. I'll let you know if it works tomorrow if it has finished by then :-) Mark On Wed, Jun 23, 2010 at 07:46:38PM -0400, Nicholas Mills wrote: > Mark, > I'm certainly no expert, but I think I can point you in the right > direction. The system appears to be attempting to read from a GPT > stored on the disk from when you used it on Linux. I'm not sure of the > specifics, but I do know that some GPT info is stored near the end of > the drive. The easy (but slow) solution would be to use dd to write > zeros to the entire drive (da1). > Hope this helps, > Nick > On Wed, Jun 23, 2010 at 7:28 PM, Mark Costlow <[1]cheeks@swcp.com> > wrote: > > I hope this question isn't too stupid. > I have a machine with a 3Ware RAID card, with 4 SATA drives > attached. > 2 drives are 250GB in a RAID1 volume, and act as the boot disk with > a standard freebsd partiction map (/, /var, /usr, and swap on this > disk). > The other 2 drives are 1TB in a RAID1 volume, intended to be mounted > as a separate data partition. At boot both volumes are recognized: > Jun 22 18:38:51 ebi7 kernel: da0 at twa0 bus 0 target 0 lun 0 > Jun 22 18:38:51 ebi7 kernel: da0: Fixed > Direct Access SCSI-5 device > Jun 22 18:38:51 ebi7 kernel: da0: 100.000MB/s transfers > Jun 22 18:38:51 ebi7 kernel: da0: 238408MB (488259584 512 byte > sectors: 255H 63S/T 30392C) > Jun 22 18:38:51 ebi7 kernel: da1 at twa0 bus 0 target 1 lun 0 > Jun 22 18:38:51 ebi7 kernel: da1: Fixed > Direct Access SCSI-5 device > Jun 22 18:38:51 ebi7 kernel: da1: 100.000MB/s transfers > Jun 22 18:38:51 ebi7 kernel: da1: 953664MB (1953103872 512 byte > sectors: 255H 63S/T 121575C) > da0 is fine, and the system boots off of it with no problem. > When I try to add da1 to the system, I get the following: > * Run systinstall, Configure, Fdisk, select da1 > * Get the friendly warning about the large geometry, click "Yes" > * Hit "A" to use entire disk. Hit "W" to save, click "Yes", > select "None" for boot record. > * Fdisk says: "Wrote FDISK partition information out successfully." > * Per handbook, get out of sysinstall and re-run it, then > try to Label. In the label editor, it knows nothing about > da1 (the device can be selected when going into the label > editor, but I can't create any partitions). > At the time when Fdisk says "Wrote FDISK partition information out, > successfully." this gets logged to /var/log/messages: > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: corrupt or invalid GPT > detected. > Jun 23 17:11:18 ebi7 kernel: GEOM: da1: GPT rejected -- may not be > recoverable. > I've tried several variations, including running the command-line > equivalents, but keep hitting this same error (fdisk thinks > everything > is good, but the GPT error is logged). I've also noticed that > /dev/da1 exists, but there is no /dev/da1s1 or /dev/da1s1e ... I'm > not sure when those should get created. > And the final possibly-relevant tidbit: these drives used to be > part of a different RAID on a linux system. They've been > re-initialized > into the RAID card on this system, and I've zero'd the first 1k of > the volume with dd, so I don't *think* that should be a factor. > I've worked with about a dozen systems with the same hardware in > the configuration outlined above and haven't seen this problem > before. But I'm usually using fresh new disks so maybe it matters. > I've googled this issue and found several people reporting similar > symptoms over the years, but haven't found any posted solutions > aside from telling people to read geom(8). > Any hints or clue-by-fours? > Mark > -- > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > [2]cheeks@swcp.com | Web: [3]www.swcp.com | Voice: +1-505-232-7992 > [4]abq-strange.com -- Interesting photos taken in Albuquerque, NM > Last post: Shoe Pole - 2009-07-07 20:18:22 > _______________________________________________ > [5]freebsd-questions@freebsd.org mailing list > [6]http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[7]freebsd-questions-unsubscribe@freebsd.org" > > References > > 1. mailto:cheeks@swcp.com > 2. mailto:cheeks@swcp.com > 3. http://www.swcp.com/ > 4. http://abq-strange.com/ > 5. mailto:freebsd-questions@freebsd.org > 6. http://lists.freebsd.org/mailman/listinfo/freebsd-questions > 7. mailto:freebsd-questions-unsubscribe@freebsd.org -- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 abq-strange.com -- Interesting photos taken in Albuquerque, NM Last post: Shoe Pole - 2009-07-07 20:18:22