From owner-freebsd-current@FreeBSD.ORG Wed May 20 09:06:31 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D79E6106566B for ; Wed, 20 May 2009 09:06:31 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3550C8FC2B for ; Wed, 20 May 2009 09:06:31 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vhoffman.lon.namesco.net (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.3/8.14.0) with ESMTP id n4K96sJF098052 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 20 May 2009 10:06:55 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4A13C812.5070206@unsane.co.uk> Date: Wed, 20 May 2009 10:06:26 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: Randy Bush References: <20090518162253.GA78829@citylink.fud.org.nz> <20090519100744.GB5943@server.vk2pj.dyndns.org> <20090519162936.GB1457@carrot.geeknest.org> <20090519171030.GG78829@citylink.fud.org.nz> <20090519190648.GD1050@camelot.theinternet.com.au> In-Reply-To: X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcel Moolenaar , current@freebsd.org Subject: Re: gpart X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 09:06:32 -0000 On 20/5/09 02:04, Randy Bush wrote: > as punishment, here is yet another email > > so i have it all partitioned using fixit/dist. > ad4p1 64k freebsd-boot > ad4p2 64g freebsd-zfs (to use as zfs mirror) > ad4p3 64g freebsd-swap > ad4p4 2tb freebsd-zfs (to use as raidz2) > > same for ad5. ad6 and ad7 have only p1 to join the raidz2. > > but i can not build the boot zfs mirror because i can not follow the > destructions at > > http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ > http://wiki.freebsd.org/AppleMacbook > etc > > because fixit/dist is a world where i can not mount the zfs pool because > / is read-only md0. so i can not set up the bootable zfs mirror system. > > and, to add to the fun. due to time pressure, i go to back off to my > old faithful hack of small gmirrored boot partitions with big zfs. i dd > whomp the base drives (dd if=/dev/zero of=/dev/da4 count=1000000). but > it seems not to stomp them. the sysinstall fdisk partiton editor keeps > seeing ad4p[1-4]! > > Try using gpart destroy -i X da4 where X is the partition index as seen from gpart show or possibly gpart destroy da4 I think your problem is that gpt keeps a secondary header at the end of the disk http://en.wikipedia.org/wiki/GUID_Partition_Table Vince > coffee or sleep, tough call. > > randy > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >