-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
System information
| Type | Version/Name |
|---|---|
| Distribution Name | macOS |
| Distribution Version | 10.15.7 |
| Linux Kernel | Darwin Kernel Version 19.6.0 |
| Architecture | x86_64 |
| ZFS Version | zfs-macOS-2.2.3-rc4 |
Describe the problem you're observing
After installing a newer version of ZFS, all tunables are set to defaults, as the content of /etc/zfs/zsysctl.conf does not appear to be loaded afterwards.
This is not the case for v2.1.0, which loads the contents of /etc/zfs/zsysctl.conf immediately after installation.
Describe how to reproduce the problem
- Configure some customised settings in
/etc/zfs/zsysctl.conf, e.g- a custom value forkstat.zfs.darwin.tunable.zfs_arc.max. - Install a new version of ZFS using one of the macOS installer packages.
Additional Information
I'm aware that some tunables have changed in later versions of ZFS, which is why my /etc/zfs/zsysctl.conf looks like:
kstat.zfs.darwin.tunable.zfs_arc_max=12884901888
kstat.zfs.darwin.tunable.zfs_arc.max=12884901888
kstat.zfs.darwin.tunable.zfs_dirty_data_max=6442450944
kstat.zfs.darwin.tunable.zfs.dirty_data_max=6442450944
This is to maintain compatibility with v2.1.0 which uses the older form of each of these (zfs_ rather than zfs., and zfs_arc_ rather than zfs_arc.).
Metadata
Metadata
Assignees
Labels
No labels