From owner-freebsd-geom@FreeBSD.ORG Fri May 28 08:42:08 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 6016C1065673 for ; Fri, 28 May 2010 08:42:08 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 1875D8FC13 for ; Fri, 28 May 2010 08:42:07 +0000 (UTC) Received: by qyk11 with SMTP id 11so1476024qyk.13 for ; Fri, 28 May 2010 01:42:07 -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=Y5CwufmjxHjZIdxYhzFZTDqDA5A72XvVh6bvOqy3wF4=; b=KJPzywXVbofDJrPQDaM0pVfor9urDmmZgQbSBM3mILGBKOBXnmF7J3nuVqwII/6hUn uZzPwpsdVelX+QptcSHAZQgKzBF7EG8nrT9/yzjEAwO64wRyu/HCj0yeAsilqDGKHoSr G1ibAW8xy+RQNVP3CFX10SLqW/XIuaK1TT8m8= 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=AXN1VIIVrd4bJaVZRXXuBNCeskBXWzBjIrQWVrXvVlwPlYnxzQNextVNWHPz5ewTqz bQ2GULBde+EF0Nm4fr19a38M2XhBjDOkrpU8fMRnPiXfyBvQp7CH5HkNAf9EmLQkFSbz HDJSZ8EMDiQZYChUO7G2iVtCnzce2AZqZ14NU= MIME-Version: 1.0 Received: by 10.224.87.137 with SMTP id w9mr6404604qal.98.1275036127135; Fri, 28 May 2010 01:42:07 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Fri, 28 May 2010 01:42:07 -0700 (PDT) In-Reply-To: <4BFF6D97.7070904@icyb.net.ua> References: <4BFF6D97.7070904@icyb.net.ua> Date: Fri, 28 May 2010 01:42:07 -0700 Message-ID: From: Garrett Cooper To: Andriy Gapon 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: Fri, 28 May 2010 08:42:08 -0000 On Fri, May 28, 2010 at 12:15 AM, Andriy Gapon wrote: > on 28/05/2010 00:48 Garrett Cooper said the following: >> Hi again geom folks, >> =A0 =A0 =A0I tried executing the following commands in a script to creat= e a >> clean MBR partition and it's not clear to me where I'm messing up with >> the process in the first step: >> >> % gpart add -b 34 -s 128 -t freebsd ad4 # exits with a non-zero code >> gpart: 22 geom 'ad4' >> >> % gpart create -s MBR ad4 >> gpart: 22 scheme 'MBR' > > What version of FreeBSD is this? > I get much friendlier diagnostics on head and stable/8. It's 7.1-PRERELEASE. The issue was that the support for geom labels and the proper partitioning formats were omitted by another engineer in my team, and unfortunately I didn't think twice to check the KERNCONF. Thanks, -Garrett