[Bug 246577] sysutils/fuse-ntfs triggers a cache inconsistency kernel error message

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 16 13:35:30 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246577

--- Comment #2 from Alan Somers <asomers at FreeBSD.org> ---
That message normally indicates a bug in the FUSE server (not the kernel).  It
means that while a file was cached in the kernel, its contents changed on the
server.  So yes, data corruption is a possibility.  The possible workarounds
are:

1) Convince the maintainer of fusefs-ntfs to upgrade his program to libfuse3. 
That uses a newer protocol that allows for safer cacheing.

2) Disable the cache by using -o direct_io on the command line, as the console
message suggests.

3) Disable the cache globally by setting vfs.fusefs.data_cache_mode=0.  That
will affect all mounted file systems using libfuse2.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list