Windows Registry

From OpenZFS on OS X
Revision as of 03:09, 3 June 2019 by Lundman (Talk | contribs)

Jump to: navigation, search

Registry

Open ZFS uses the Registry for default tunable values which is read in on startup.

\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ZFSin

The Registry key hostid is generally handled by OpenZFS internally, ie, generated randomly if it is not set the first time Open ZFS is loaded. You can change hostid if that is so desired. For example, if you share the pool between multiple Operating Systems on the same Hardware.

Arc Max

To set the ARC maximum memory usage to 2GB, create an entry;

    "zfs_arc_max" REG_QWORD "0x80000000"

and reboot. If you wish to change it on a running system without rebooting, see the kstat example.