From owner-freebsd-questions@FreeBSD.ORG Wed Mar 26 22:38:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7BDEB7B for ; Wed, 26 Mar 2014 22:38:56 +0000 (UTC) Received: from mp1-smtp-5.eutelia.it (mp1-smtp-5.eutelia.it [62.94.10.165]) by mx1.freebsd.org (Postfix) with ESMTP id 98D0E773 for ; Wed, 26 Mar 2014 22:38:56 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mp1-smtp-5.eutelia.it (Eutelia) with ESMTP id 59BDB1730AB for ; Wed, 26 Mar 2014 23:38:49 +0100 (CET) Received: from soth.ventu (adsl-ull-140-156.41-151.net24.it [151.41.156.140]) (authenticated bits=0) by ns2.biolchim.it (8.14.8/8.14.8) with ESMTP id s2QMceg9030166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 26 Mar 2014 23:38:41 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-140-156.41-151.net24.it [151.41.156.140] claimed to be soth.ventu Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.8/8.14.7) with ESMTP id s2QMcYWl012301; Wed, 26 Mar 2014 23:38:35 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <533356EA.8020802@netfence.it> Date: Wed, 26 Mar 2014 23:38:34 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Warren Block Subject: Re: Partition alignment References: <53333669.7000802@netfence.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Wed, 26 Mar 2014 23:38:41 +0100 (CET) X-Scanned-By: MIMEDefang 2.74 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2014 22:38:57 -0000 On 03/26/14 22:59, Warren Block wrote: > No. The starting blocks of the slice and partition are added together > to determine the actual start block of the partition: > The first partition begins at 63+0, or 63. 63*512 = 32256, not evenly > divisible by 4K. Or just divide the block number by 8, same thing. Ok. That 63 was the one that was worrying me... I'm wondering what's the rationale behind it (it was created by 8.4's sysinstall); is it so to leave space for the MBR (or whatever boot block type)? Should I leave more space and start the slice at 256kB? > When creating the partitions, use gpart's -a option, and it will add an > offset so the slice is aligned: > > gpart add -t freebsd-ufs -a4k -s8g mfid0s1 So you are suggesting I could leave the slice where it is, and just move the partitions? Shouldn't I use -a256k, since that's the stripe size? bye & Thanks av.