From owner-freebsd-current@FreeBSD.ORG Thu Oct 22 08:16:24 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB99F1065694 for ; Thu, 22 Oct 2009 08:16:24 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5EC8FC1F for ; Thu, 22 Oct 2009 08:16:23 +0000 (UTC) Received: from c83-253-248-99.bredband.comhem.se ([83.253.248.99]:43608 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1N0sq3-00030z-5u; Thu, 22 Oct 2009 10:16:06 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 33AB926EA6D; Thu, 22 Oct 2009 10:15:58 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Thomas Backman In-Reply-To: <4AE01342.4000303@ish.com.au> Date: Thu, 22 Oct 2009 10:15:55 +0200 Content-Transfer-Encoding: 7bit Message-Id: <77FC25AE-E098-48E3-8F64-776B4BDAF3EF@exscape.org> References: <4ADE995A.8080009@ish.com.au> <1256174188.2309.22.camel@balrog.2hip.net> <4ADFCFF3.1030201@ish.com.au> <790a9fff0910220001m3d7df03j127b51d7d0696271@mail.gmail.com> <4AE01342.4000303@ish.com.au> To: Aristedes Maniatis X-Mailer: Apple Mail (2.1076) X-Originating-IP: 83.253.248.99 X-Scan-Result: No virus found in message 1N0sq3-00030z-5u. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1N0sq3-00030z-5u 2bc6d238739c4727282746b7472351f3 Cc: Scot Hetzel , freebsd-current@freebsd.org Subject: Re: gpart, bsdlabel and fdisk 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: Thu, 22 Oct 2009 08:16:24 -0000 On Oct 22, 2009, at 10:09 AM, Aristedes Maniatis wrote: > On 22/10/09 6:01 PM, Scot Hetzel wrote: >> http://wiki.freebsd.org/RootOnZFS >> >> If anyone notices a problem with them, either let me know or update >> the wiki page. > > That's very helpful, thanks Scot. It raises some questions: > > * you don't have the instruction to perform "echo 'a 1' | fdisk -f > - /dev/ad4" which Robert recommends Shouldn't be needed if you use gpart. (Note: I haven't actually read the guides, but fdisk and gpart are both partitioning software, and I don't see why you'd need *both*. I've made several installs without ever touching fdisk, all ZFS only.) > > * Robert recommends GPT as the "easiest way to get ZFS on root > working". Your instructions seem to lean more toward MBR "The > advantage of using a MBR disk is that you can still dual boot with > other Operating Systems.". Are there any downsides of using MBR > which should be explained? The biggest downside is the 2TB partition limit, both in size and offset. Larger disks (including HW RAID arrays) and you can't use MBR (without wasting space, of course). > > * you write LOADER_ZFS_SUPPORT=YES to src.conf, while previous > instruction in this thread had it written to make.conf Doesn't matter, both are used for /usr/src; ports however doesn't read src.conf. > As a feature request it would be great if gpart supported "-s all" > and made "-b" optional so that the next add starts at the beginning > of the first free space. It's already supported, swap the last command for e.g.: gpart add -t freebsd-zfs ad0 # Automatically fills the rest of the disk with a partition starting at the first free offset Regards, Thomas