9.1 and gmirror with GPT?

Warren Block wblock at wonkity.com
Sat Oct 27 23:01:29 UTC 2012


On Sat, 27 Oct 2012, freebsd at 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.


More information about the freebsd-questions mailing list