From owner-freebsd-sparc64@FreeBSD.ORG Fri Jun 12 16:27:29 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F39791065673 for ; Fri, 12 Jun 2009 16:27:28 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout012.mac.com (asmtpout012.mac.com [17.148.16.87]) by mx1.freebsd.org (Postfix) with ESMTP id E16D58FC12 for ; Fri, 12 Jun 2009 16:27:28 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp012.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KL400HHRWD4K800@asmtp012.mac.com> for sparc64@freebsd.org; Fri, 12 Jun 2009 09:27:05 -0700 (PDT) Message-id: <9B4562A3-8F2C-4FC0-99E4-17A48FDB1106@mac.com> From: Marcel Moolenaar To: Ruben de Groot In-reply-to: <20090612110250.GA50214@ei.bzerk.org> Date: Fri, 12 Jun 2009 09:27:03 -0700 References: <20090612110250.GA50214@ei.bzerk.org> X-Mailer: Apple Mail (2.935.3) Cc: sparc64@freebsd.org Subject: Re: problem with sunlabel/gpart X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2009 16:27:29 -0000 On Jun 12, 2009, at 4:02 AM, Ruben de Groot wrote: > > I wonder if somebody can explain this: > In a netra X1 I have 2 identical 150GB disks. One was partitioned by > sysinstall like this: > > # sunlabel ad0 > # /dev/ad0: > text: FreeBSD149G cyl 47955 alt 2 hd 16 sec 63 > bytes/sector: 512 > sectors/cylinder: 1008 > sectors/unit: 48338640 48338640 sectors gives you 24GB. Not 150GB. > morninglightmountain# gpart show ad1 > => 0 48338640 ad1 VTOC8 (149G) > 0 48338640 - free - (23G) Can you recreate the VTOC8 label with gpart like so: # gpart destroy ad1 # gpart create -s vtoc8 ad1 Can you post the output of "gpart show ad1"? > Off course, I could just use sysinstall again to partition the second > disk, but I'm curious as to why this is happening. I don't trust sysinstall... -- Marcel Moolenaar xcllnt@mac.com