Date: Fri, 12 Jun 2009 09:27:03 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Ruben de Groot <fbsd-sparc64@bzerk.org> Cc: sparc64@freebsd.org Subject: Re: problem with sunlabel/gpart Message-ID: <9B4562A3-8F2C-4FC0-99E4-17A48FDB1106@mac.com> In-Reply-To: <20090612110250.GA50214@ei.bzerk.org> References: <20090612110250.GA50214@ei.bzerk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B4562A3-8F2C-4FC0-99E4-17A48FDB1106>