From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 16:41:12 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 C1D6E1065670 for ; Thu, 24 Jun 2010 16:41:12 +0000 (UTC) (envelope-from cheeks@swcp.com) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by mx1.freebsd.org (Postfix) with ESMTP id 83A9F8FC1A for ; Thu, 24 Jun 2010 16:41:12 +0000 (UTC) Received: from ame3.swcp.com (ame3.swcp.com [216.184.2.120]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id o5OGf3aO022884; Thu, 24 Jun 2010 10:41:03 -0600 Received: from risu.swcp.com (risu.swcp.com [216.184.2.5]) by ame3.swcp.com (8.14.4/8.14.3) with ESMTP id o5OGeoRw037776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jun 2010 10:40:51 -0600 (MDT) (envelope-from cheeks@swcp.com) Received: from risu.swcp.com (localhost.swcp.com [127.0.0.1]) by risu.swcp.com (8.13.3/8.13.1) with ESMTP id o5OGf0jd040561; Thu, 24 Jun 2010 10:41:01 -0600 (MDT) (envelope-from cheeks@risu.swcp.com) Received: (from cheeks@localhost) by risu.swcp.com (8.13.3/8.13.1/Submit) id o5OGf0kI040553; Thu, 24 Jun 2010 10:41:00 -0600 (MDT) (envelope-from cheeks) Date: Thu, 24 Jun 2010 10:41:00 -0600 From: Mark Costlow To: Mark Costlow Message-ID: <20100624164100.GA40297@risu.swcp.com> References: <20100623232801.GA5925@risu.swcp.com> <20100624011512.GA28133@same.swcp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624011512.GA28133@same.swcp.com> User-Agent: Mutt/1.5.12-2006-07-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 (ame3.swcp.com [216.184.2.127]); Thu, 24 Jun 2010 10:40:51 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.96 at ame3.swcp.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ame3.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: nlmills@clemson.edu, freebsd-questions@freebsd.org 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 16:41:12 -0000 Nick, that worked! I zero'd the whole disk, then everything worked like normal. Thanks, Mark On Wed, Jun 23, 2010 at 07:15:13PM -0600, Mark Costlow wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "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