From owner-freebsd-fs@FreeBSD.ORG Wed Jun 8 08:08:22 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B01E1065672 for ; Wed, 8 Jun 2011 08:08:22 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 239F28FC13 for ; Wed, 8 Jun 2011 08:08:21 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC41CD9.dip.t-dialin.net [79.196.28.217]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 692FC844015; Wed, 8 Jun 2011 10:08:08 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTP id B2DAC3AEA; Wed, 8 Jun 2011 10:08:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1307520485; bh=44h8etKJYDfBsL71LwyoDuvforKKZlTXgqHDgw20fDw=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=JlLqxS8a8bq6TUFIHB/AQRkCxFBayug0AnPFrEwa4pSTcLyrCbxrXwXS2sZL+z+lK pP3oWBBFhn8IlfZL24aiYrygkQ/imBiDJKpUgPeQjWkmKz7jxm2zANJC/T2pdNb4EZ CVHGVM5fphOJJE5TsqzNIrh0mocH6BQAd9OgeLl9glpvJqtbOzVc5l6anTkmkjBGAL orjU38DC6l78+DfsgCdyAifS9Pxp10K2g81+veRj/GR/HbIVhmsEZlnY/mR2clUiwP Bs4g1oXlrgGFw44NoF8Kf0ircXZzh/CxXefxlVsuRN9itfXTus7clJSiMf78dYy+jv gO25pe+uK/3/Q== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.14.4/Submit) id p58885mP060331; Wed, 8 Jun 2011 10:08:05 +0200 (CEST) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 08 Jun 2011 10:08:05 +0200 Message-ID: <20110608100805.71572h6edc04klid@webmail.leidinger.net> Date: Wed, 08 Jun 2011 10:08:05 +0200 From: Alexander Leidinger To: Robert Simmons References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 692FC844015.A1514 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.023, required 6, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, TW_ZF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1308125289.41489@TCjAGigVu4PbtEXkky1WWA X-EBL-Spam-Status: No Cc: freebsd-fs@freebsd.org Subject: Re: GPT and disk alignment X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2011 08:08:22 -0000 Quoting Robert Simmons (from Wed, 8 Jun 2011 01:29:43 -0400): > Ok, is there some way to tell gpart(8) what the LBA size is, or do I > have to calculate the offset of each partition manually? In Linux it > would be "fdisk -b 1024" for the example of SSDs or "fdisk -b 4096" > for 4K HDDs. Here is what I did to align to 4k sectors with gpart: http://www.leidinger.net/blog/2011/05/03/another-root-on-zfs-howto-optimized-for-4k-sector-drives/ Bye, Alexander. -- I love dogs, but I hate Chihuahuas. A Chihuahua isn't a dog. It's a rat with a thyroid problem. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137