Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 14:33:55 +0100
From:      krad <kraduk@gmail.com>
To:        Michael Jung <mikej@mikej.com>
Cc:        FreeBSD FS <freebsd-fs@freebsd.org>, owner-freebsd-fs@freebsd.org
Subject:   Re: ZFS snapshot restore not quite working; missing steps?
Message-ID:  <CALfReyfBhOpiO87rfbEKL=TmFEjJww6Zqy5gBCiHozTYw13r1Q@mail.gmail.com>
In-Reply-To: <2dce8d576665e2f89fef4567e54589e4@mail.mikej.com>
References:  <1129127016.20140517185154@supranet.net> <1198503903.20140518030907@supranet.net> <F8DBD16F6101498A98AA04D29C1FD596@multiplay.co.uk> <236659679.20140518035326@supranet.net> <3E3DCC6DED864A519B02A398B92D1994@multiplay.co.uk> <1879018434.20140519191844@supranet.net> <C791C5E9A90A4D7BB68E39222DC5ABE7@multiplay.co.uk> <2dce8d576665e2f89fef4567e54589e4@mail.mikej.com>

next in thread | previous in thread | raw e-mail | index | archive | help
put it in sysctl.conf

its only really needed at pool creation time anyhow, once the pool is built
the ashift is set


On 20 May 2014 13:49, Michael Jung <mikej@mikej.com> wrote:

> On , Steven Hartland wrote:
>
>> ----- Original Message ----- From: "Jeff Chan" <jeffc@supranet.net>
>>
>>
>>  Update: using the most current FreeBSD 9.0 - 9.2 ZFS instructions
>>> on the wiki page for the initial configuration caused the booting
>>> to ZFS to work:
>>>
>>> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE
>>>
>>> including the GNOP trick, since these drives are "advanced format" and
>>> greater than 2TB size, and the -a 4k alignment to 4k sectors when
>>> creating the ZFS partitions.
>>>
>>
>> On later versions you can set vfs.zfs.min_auto_ashift=12 to achieve the
>> same thing as the GNOP trick, but thats only needed if your drive doesn't
>> have a 4k quirk in our codebase.
>>
>>    Regards
>>    Steve
>> _______________________________________________
>> freebsd-fs@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>>
>
>
>
> Steve,
>
> FreeBSD firewall 10.0-STABLE FreeBSD 10.0-STABLE #0 r266313: Sat May 17
> 11:52:18 EDT 2014     root@firewall:/usr/obj/usr/src/sys/VT  amd64
>
>
> Even though /boot/loader.conf contains vfs.zfs.min_auto_ashift=12 the
> value does not get set.
>
> [mikej@firewall ~]$ cat /boot/loader.conf
> zfs_load="YES"
> kern.maxswzone=16777216
> vfs.zfs.min_auto_ashift=12
> [mikej@firewall ~]$
>
>
> [mikej@firewall ~]$ sysctl -a | grep ashift
> vfs.zfs.max_auto_ashift: 13
> vfs.zfs.min_auto_ashift: 9
> [mikej@firewall ~]$
>
>
> Regards,
> --mikej
>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



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