From owner-freebsd-geom@FreeBSD.ORG Fri May 16 13:03:48 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7077F46 for ; Fri, 16 May 2014 13:03:48 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 83DA42C5A for ; Fri, 16 May 2014 13:03:48 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s4GD3lco074410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 May 2014 06:03:47 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s4GD3lK2074409; Fri, 16 May 2014 06:03:47 -0700 (PDT) (envelope-from jmg) Date: Fri, 16 May 2014 06:03:47 -0700 From: John-Mark Gurney To: "Ronald F. Guilmette" Subject: Re: GEOM_PART: Integrity check failed (ada2, MBR) Message-ID: <20140516130346.GB43976@funkthat.com> Mail-Followup-To: "Ronald F. Guilmette" , freebsd-geom@freebsd.org References: <1758.1400216600@server1.tristatelogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1758.1400216600@server1.tristatelogic.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Fri, 16 May 2014 06:03:47 -0700 (PDT) Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 13:03:48 -0000 Ronald F. Guilmette wrote this message on Thu, May 15, 2014 at 22:03 -0700: > I am getting the failure message shown in the Subject: line. I have > no idea what is causing it or, more importantly, how to cure whatever > the actual problem is. > > I would appreciate some help. > > The situation is as follows... > > I have two primary "desktop" systems. Each one contains one of these > sATA hot-swap rack things: > > http://kingwin.com/products/cate/mobile/racks/images/sata/kf_252_bk/enlarge/KF_252_BK_enlarge4.jpg > > These have proven to be entirely reliable. > > I also have a relatively new 2.5" 1TB drive. I did the following with > this drive: > > 1) I placed the 1tb drive into my #2 system and then booted that system > using a recent vintage (0.18.2) version of the "Gparted Live" CD. > > 2) I used Gparted to create and initialize a GPT partition table on the > drive. > > 3) I used Gparted to create and initialize a single partition (containing > all free space on the drive) and had it (Gparted) create an ext3 filesystem > on that partition. > > 4) I then performed a clean shutdown of Gparted. > > 5) I then removed the new 1tb drive in question from my #2 desktop system > and moved it into the hot-swap rack of my main (FreeBSD 9.1-RELEASE) system > (which already contains two other drives, i.e. ada0 and ada1). > > 6) I used the power switch on the rack to power on the drive. > > The result of the above operations is as follows: > > May 15 21:53:33 segfault kernel: ada2 at ata5 bus 0 scbus5 target 0 lun 0 > May 15 21:53:33 segfault kernel: ada2: ATA-8 SATA 3.x device > May 15 21:53:33 segfault kernel: ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) > May 15 21:53:33 segfault kernel: ada2: 31MB (65134 512 byte sectors: 16H 63S/T 64C) Wow, I just noticed this... FreeBSD is only seeing it as a 31MB drive instead of a 1TB drive... This is probably the problem... What do "diskinfo /dev/ada2" and "camcontrol identify ada2" return? If it really does return that the disk is only 31MB, we need to track this down, and this is why we're failing the integrity check of the MBR.. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."