OpenZFS: sysctl: unknown oid 'vfs.zfs.arc_max'
Rodney W. Grimes
freebsd-rwg at gndrsh.dnsmgr.net
Sat Mar 28 11:49:50 UTC 2020
> This occurs when I enable OpenZFS:
>
> OpenZFS: sysctl: unknown oid 'vfs.zfs.arc_max'
>
> Is it to be deprecated? Or is it not yet a feature of OpenZFS for FreeBSD?
>
> From <https://pastebin.com/hTCTWPW2>:
>
> grahamperrin at momh167-gjp4-8570p:~ % sysctl vfs.zfs.arc_max
> sysctl: unknown oid 'vfs.zfs.arc_max'
> grahamperrin at momh167-gjp4-8570p:~ % date ; uname -v
> Wed 25 Mar 2020 04:52:22 GMT
> FreeBSD 13.0-CURRENT #1 r359249: Tue Mar 24 00:12:27 GMT 2020
> root at momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
> grahamperrin at momh167-gjp4-8570p:~ % kldstat | grep zfs
> ?2??? 1 0xffffffff82108000?? 58ac58 openzfs.ko
> grahamperrin at momh167-gjp4-8570p:~ % grep zfs /boot/loader.conf
> # zfs_load="YES"
> openzfs_load="YES"
> grahamperrin at momh167-gjp4-8570p:~ % grep zfs /etc/sysctl.conf
> vfs.zfs.min_auto_ashift=12
> # HP EliteBook 8570p 16 GB memory vfs.zfs.arc_max defaults to 15523106816
> # vfs.zfs.arc_max="7761553408"
> vfs.zfs.arc_max="2147483648"
> grahamperrin at momh167-gjp4-8570p:~ % zfs-stats -a
Is zfs actually loaded?
kldstat | grep zfs
Does perhaps openZfs use a seperate tree?
sysctl -a | grep arc_max
--
Rod Grimes rgrimes at freebsd.org
More information about the freebsd-current
mailing list