From owner-freebsd-fs@FreeBSD.ORG Sun Mar 10 16:22:43 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9CEC199F for ; Sun, 10 Mar 2013 16:22:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 62D90639 for ; Sun, 10 Mar 2013 16:22:43 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r2AGMfa6006199; Sun, 10 Mar 2013 10:22:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r2AGMfSc006196; Sun, 10 Mar 2013 10:22:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 10 Mar 2013 10:22:41 -0600 (MDT) From: Warren Block To: Cody Ritts Subject: Re: Aligning MBR for ZFS boot help In-Reply-To: <513C1629.50501@caltel.com> Message-ID: References: <513C1629.50501@caltel.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 10 Mar 2013 10:22:41 -0600 (MDT) Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 16:22:43 -0000 On Sat, 9 Mar 2013, Cody Ritts wrote: > Poking around on the internet, it looks like gpart is possibly enforcing > geometry boundaries? Not gpart, but the kernel. At present, I don't know of any way to use FreeBSD for creating MBR slices aligned to anything other than 63 blocks. FreeBSD partitions can be aligned inside a slice with an offset. Putting ZFS on one of those partitions may be the easiest way to do this. Put the slice at block 2016, then align the first FreeBSD partition inside that slice to 1M and it should land at block 2048. Another option is to create the MBR with aligned slices using another operating system, one that allows deviation from the MBR standard. Ronald Guilmette recently showed an interesting approach of starting the slice at 63M, the least common multiple of 63 and 1M. If the BIOS does not like GPT, check for BIOS updates. And make sure the vendor knows about the problem.