From owner-freebsd-geom@FreeBSD.ORG Thu May 27 22:58:14 2010 Return-Path: Delivered-To: geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9789A106564A for ; Thu, 27 May 2010 22:58:14 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by mx1.freebsd.org (Postfix) with ESMTP id 488E18FC14 for ; Thu, 27 May 2010 22:58:14 +0000 (UTC) Received: by qyk5 with SMTP id 5so850864qyk.3 for ; Thu, 27 May 2010 15:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1x9Xgkae2E8GRc2sAOPh7lvaLA4EFwSFs+E8WSt/7yk=; b=TcQ9bZiJbJhpQTTfo8WeJU7WVsErkxbd0U0veMmWNK3UKrwF8CFxkrIM0tkzwDkCwB 6xA7vlcszcmIpUnzz0HBOVTVX+i7SDOIqv2bXv5E2F+5Lq9b8euz8lFOjkB5WUWHpUgM epFsPd0AQTj5XV15DpMgxNII5KOSy8+YC6bE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OUwu1prE2wdV3KnzAOmG0EWtm0vkyCrSg0F/D2BjSkq7+ozDSFEVXpjxfEX2PkDEAo 4yK+QJI2dYjapasvBUNlpBmEj3vRthpfsgbHDMLXUakIti1VPrpbc1qb7H5DmhCQSJvi +U9xNc9AF6DQ0vd8eXhCvTSDPzuoEguQBlCI0= MIME-Version: 1.0 Received: by 10.224.87.83 with SMTP id v19mr6347710qal.392.1275001093584; Thu, 27 May 2010 15:58:13 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Thu, 27 May 2010 15:58:13 -0700 (PDT) In-Reply-To: <20100527225715.GE82995@kay.kiwi-computer.com> References: <20100527220241.GA82995@kay.kiwi-computer.com> <20100527223607.GC82995@kay.kiwi-computer.com> <20100527225715.GE82995@kay.kiwi-computer.com> Date: Thu, 27 May 2010 15:58:13 -0700 Message-ID: From: Garrett Cooper To: rick-freebsd2009@kiwi-computer.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: geom@freebsd.org Subject: Re: Getting useful diagnostics from geom(8) and friends X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2010 22:58:14 -0000 On Thu, May 27, 2010 at 3:57 PM, Rick C. Petty wrote: > On Thu, May 27, 2010 at 03:47:50PM -0700, Garrett Cooper wrote: >> >> >> >> I didn't run #4 (don't want gptboot on the appliance), but all of the >> >> steps failed. >> > >> > Then how do you boot into FreeBSD? =A0You need to install the boot blo= cks or >> > the loader(8) won't boot. >> >> We netboot :). > > PXE then? > > I'm curious why are you using the MBR strategy and not the GPT strategy? > If you're PXE-booting, why have an MBR at all? > >> >> fdisk doesn't like these Western Digital drives for some whacky reaso= n >> >> when I specify fdisk -BIq /dev/ad4, etc... and only after I go in and >> > >> > What exactly do you mean by "doesn't like"? >> >> Sorry... should have included that detail... it's an on-and-off issue >> where sometimes the drives do properly slice themselves and sometimes >> they don't. Not sure why it's so twitchy... >> >> %fdisk -BIq /dev/ad4 >> ******* Working on device /dev/ad4 ******* >> fdisk: invalid fdisk partition table found >> %ls /dev/ad4* >> /dev/ad4 =A0 =A0 =A0/dev/ad4s1 > > Is this the error case or the good case? =A0It looks good to me. =A0The e= rror > is because an invalid fdisk partition table existed prior to creating the > one-slice-for-entire-disk MBR: > > % truncate -s 1m test > % mdconfig -af test > md1 > % ls /dev/md1* > /dev/md1 > % fdisk -BIq /dev/md1 > ******* Working on device /dev/md1 ******* > fdisk: invalid fdisk partition table found > % ls /dev/md1* > /dev/md1 =A0 /dev/md1s1 > % fdisk -BIq /dev/md1 > ******* Working on device /dev/md1 ******* Sorry.. yes, this was the positive case. Thanks, -Garrett