doveadm-fscache(1) - Utility actions for Dovecot's local fscache storage
SYNOPSIS
doveadm [GLOBAL OPTIONS] fscache command [arguments]
DESCRIPTION
doveadm fscache can be used to run actions that interact with and modify Dovecot's local fscache storage.
GLOBAL OPTIONS
Global doveadm(1) options:
- -D
Enables verbosity and debug messages.
- -O
Do not read any config file, just use defaults. The
dovecot_storage_versiondefaults to the latest version, but can be overridden with -o.- -k
Preserve entire environment for doveadm, not just
import_environment.- -v
Enables verbosity, including progress counter.
- -i instance-name
If using multiple Dovecot instances, choose the config file based on this instance name.
See
instance_namefor more information.- -c config-file
Read configuration from the given config-file. By default it first reads config socket, and then falls back to /etc/dovecot/dovecot.conf. You can also point this to config socket of some instance running compatible version.
- -o setting=value
Overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. In order to override multiple settings, the -o option may be specified multiple times.
- -f formatter
Specifies the formatter for formatting the output. Supported formatters are:
- flow
- prints each line with key=value pairs.
- json
- prints a JSON array of JSON objects.
- pager
- prints each key: value pair on its own line and separates records with form feed character (^L).
- tab
- prints a table header followed by tab separated value lines.
- table
- prints a table header followed by adjusted value lines.
OPTIONS
- -S socket_path
The option's argument is either an absolute path to a local UNIX domain socket, or a hostname and port (hostname:port), in order to connect a remote host via a TCP socket.
This allows an administrator to execute
doveadm(1)mail commands through the given socket.
COMMANDS
fscache rescan
doveadm [GLOBAL OPTIONS] fscache rescan [-S socket_path] [--log-path log_path] path [max_age]
Scans data in the fscache to recalculate the used storage space.
The path matches the fs_fscache_path setting, while the log_path matches the fs_fscache_log_path. The default log_path is to use `fscache.log` in the fscache root directory.
If the max_age parameter is provided, files found with mtime older than this value are deleted from the cache.
EXAMPLE
Rescan fscache to update cached size.
doveadm fscache rescan /path/to/fscacheREPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List dovecot@dovecot.org. Information about reporting bugs is available at: https://dovecot.org/bugreport.html