zfs boot on 4k drives in -STABLE

krad kraduk at gmail.com
Mon Feb 21 12:35:12 UTC 2011


On 20 February 2011 11:25, krad <kraduk at gmail.com> wrote:
> On 19 February 2011 10:55, krad <kraduk at gmail.com> wrote:
>> On 18 February 2011 02:12, Lawrence Stewart <lstewart at freebsd.org> wrote:
>>> On 02/17/11 20:30, krad wrote:
>>>> Hi,
>>>>
>>>> What is the current state of zfs booting of a 4k aligned drive
>>>> (ashift=12)? I have tried the patch in pr153695 but it wont apply
>>>> cleanly to stable as I think it is meant for current. Is one going to
>>>> be made available for STABLE at any point?
>>>
>>> It works fine. Use the gptzfsboot and zfsloader from here and you're
>>> good to go - no patches or anything else required:
>>>
>>> http://people.freebsd.org/~pjd/zfsboot/
>>>
>>> Cheers,
>>> Lawrence
>>>
>>
>>
>> thanks for the advice ill give it a go
>>
>
> well the binary versions didnt seem to work. The drive is 4k aligned
> apart from the boot partition. Surely this wouldnt have an affect
> though would it?
>
> # gpart show ad7
> =>        34  3907029101  ad7  GPT  (1.8T)
>          34         128    1  freebsd-boot  (64K)
>         162           6       - free -  (3.0K)
>         168     6291456    2  freebsd-swap  (3.0G)
>     6291624  3900213229    3  freebsd-zfs  (1.8T)
>  3906504853      524282    4  freebsd-ufs  (256M)
>

after realigning the boot partition it still failed to boot


More information about the freebsd-fs mailing list