Date: Wed, 20 May 2009 10:06:26 +0100 From: Vincent Hoffman <vince@unsane.co.uk> To: Randy Bush <randy@psg.com> Cc: Marcel Moolenaar <xcllnt@mac.com>, current@freebsd.org Subject: Re: gpart Message-ID: <4A13C812.5070206@unsane.co.uk> In-Reply-To: <m2zld8d1ow.wl%randy@psg.com> References: <20090518162253.GA78829@citylink.fud.org.nz> <20090519100744.GB5943@server.vk2pj.dyndns.org> <m2iqjxfbsr.wl%randy@psg.com> <20090519162936.GB1457@carrot.geeknest.org> <m2r5yldnt7.wl%randy@psg.com> <20090519171030.GG78829@citylink.fud.org.nz> <m2pre5dmkz.wl%randy@psg.com> <BC7D30D0-00ED-4B07-977E-9A3D45383C9E@mac.com> <20090519190648.GD1050@camelot.theinternet.com.au> <m2zld8d1ow.wl%randy@psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A13C812.5070206>