/etc/zfs/zfsrc is in zfs-fuse 0.7.0-10.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | # vdev-cache-size : size of the prefetch cache for each vdev defined
# so if you are using 2 pools defined in 2 devices, you'll get 2 vdev caches
# default size : 10, you can set it to 0 to disable it if you wish
vdev-cache-size = 10
# Maximum arc size : this is the main cache for zfs in Mb
# default size : 128 Mb, minimum size : 16 Mb
# Notice that arc is also used for the hash tables if you use the dedup option
max-arc-size = 100
# zfs-prefetch-disable : disable zfs high level prefetch cache.
# This setting can eat as much as 150 Mb of ram, so uncomment if you want
# to save some ram and are ready to loose a little speed.
zfs-prefetch-disable
# disable-block-cache : uncomment this to enable direct i/o and disable the
# kernel block cache. It's not adviced to do this unless you want to test
# something specific about ARC.
# disable-block-cache
# OBSOLETE: disable-page-cache
# uncomment this to disable fuse page cache.
# This cache allows fuse to cache high level read requests
# there is no reason to disable it usually, except for testing.
# disable-page-cache
# enable-xattr: uncomment this to enable support for extended attributes
# Not generally recommended because it currently has a significant performance
# penalty for many small IOPS
# enable-xattr
# fuse-*-timeout : sets timeout for caching fuse attributes in kernel (in
# seconds)
# These 2 values have a big impact on performance for small io operations
# There are 3 possibilities :
# 1) if you use fuese-mount-options=default_permissions then you can set these
# 2 as high as you want (that's the case here). It's probably the best option
# 2) Otherwise if you still want to keep posix file permissions without loosing
# too much speed, set these 2 to at least 1s.
# 3) Last case : you want perfect posix conformance, wihtout default_permissions
# in this case set these to 0, but be ready to loose quite some speed !
# Default is to use default_permissions, so these as high as you want.
fuse-attr-timeout = 3600
fuse-entry-timeout = 3600
# fuse-mount-options : supplemental fuse mount options for the zfs volumes.
# fuse mount options which are always passed include :
# allow_other,suid,dev
# and big_writes if you are using fuse >= 2.8.
# Now default_permissions has a special handling and is adviced as a default option.
fuse-mount-options = default_permissions
# stack-size :
# zfs-fuse uses lots of threads (about 150), and the default stack size for
# a thread is 8 Mb. This affects only the virtual memory usage, not the real
# memory, but it's still an impressive number for some unused ram.
# So you can limit it here, in kb. Default is no limit
# stack-size = 32
|