Date: Sat, 27 Oct 2012 17:01:27 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: freebsd@johnea.net Cc: freebsd-questions@freebsd.org Subject: Re: 9.1 and gmirror with GPT? Message-ID: <alpine.BSF.2.00.1210271655200.69926@wonkity.com> In-Reply-To: <508C5BE6.4000405@johnea.net> References: <5082EAEE.4040609@johnea.net> <50833F78.1060609@bnrlabs.com> <alpine.BSF.2.00.1210210827530.70277@wonkity.com> <5085C743.8000508@johnea.net> <alpine.BSF.2.00.1210221631250.13158@wonkity.com> <5086C7EB.9020104@johnea.net> <alpine.BSF.2.00.1210231837130.21493@wonkity.com> <508C2043.8070205@johnea.net> <alpine.BSF.2.00.1210271530190.69926@wonkity.com> <508C5BE6.4000405@johnea.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Oct 2012, freebsd@johnea.net wrote: > I ended up just ignoring the not aligned warning from the "gpart add -t freebsd" and went on to add the freebsd-swap and freebsd-ufs partitions with "-a 4k" option. > > Do you think I'm aligned? ... > => 63 3907029104 mirror/gm0 MBR (1.8T) > 63 63 - free - (31k) > 126 3907028979 1 freebsd (1.8T) > 3907029105 62 - free - (31k) > > => 0 3907028979 mirror/gm0s1 BSD (1.8T) > 0 2 - free - (1.0k) > 2 16777216 1 freebsd-swap (8.0G) > 16777218 3890251760 2 freebsd-ufs (1.8T) > 3907028978 1 - free - (512B) The slice starts at block 126, and then the swap partition starts an additional two blocks into the slice, which is block 128, evenly divisible by 8 (4096 = 512 * 8). The freebsd-ufs partition starts at 126+16777218, which is also evenly divisible by 8. So yes, that looks aligned to me.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1210271655200.69926>