Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2011 11:25:44 +0000
From:      krad <kraduk@gmail.com>
To:        Lawrence Stewart <lstewart@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zfs boot on 4k drives in -STABLE
Message-ID:  <AANLkTik1UFqkPxYzjua8g_TfRfPKa=0Fkeerf0FTo_N=@mail.gmail.com>
In-Reply-To: <AANLkTik0BHfR87-ij4hQm9fjoCYbzz54U-D9Ms=-u95H@mail.gmail.com>
References:  <AANLkTi=QDZGO-T%2BSvJfBMaUCHJ%2B34bPGC2vVy3B3x%2Bv7@mail.gmail.com> <4D5DD580.9040701@freebsd.org> <AANLkTik0BHfR87-ij4hQm9fjoCYbzz54U-D9Ms=-u95H@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 February 2011 10:55, krad <kraduk@gmail.com> wrote:
> On 18 February 2011 02:12, Lawrence Stewart <lstewart@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik1UFqkPxYzjua8g_TfRfPKa=0Fkeerf0FTo_N=>