Skip to main content

FUSE Mount Options

How to pass FUSE options

You can pass FUSE options in two common ways:

  1. Use -o in juicefs mount, with options separated by commas.

    juicefs mount -d -o allow_other,writeback_cache <META-URL> /jfs
  2. In /etc/fstab, add FUSE options in the options field.

    # <file system>  <mount point>  <type>   <options>                    <dump> <pass>
    myjfs /jfs juicefs _netdev,writeback_cache 0 0

Common options (summary)

default_permissions

Enabled automatically. Kernel-side permission checks and file-system checks both need to pass.

allow_other

Allows access from users other than the mounter. For non-root mounts, enable user_allow_other in /etc/fuse.conf first.

writeback_cache

Enables the FUSE writeback cache and can improve the performance of frequent small writes, at the cost of reduced sequential write performance. See Writeback Cache in Kernel for more information. Requires Linux kernel 3.15 or later.

user_id and group_id

Specify file-system owner UID/GID for permission validation. This does not take effect when allow_other is enabled.

debug

Prints low-level go-fuse debug logs to juicefs.log. This is different from the global client --debug option.

Learn more