mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Deployed f32fe76e7 to preview with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
b1bce6c7bc
commit
1587401c8e
3 changed files with 63 additions and 15 deletions
|
|
@ -1867,7 +1867,7 @@ related concepts so having a <a href="../../intro_to_filesystems/">basic
|
|||
background</a> in such things is recommended
|
||||
for more advanced configurations.</p>
|
||||
<p>These option names and values are the same regardless of whether you
|
||||
use them with the <code>mergerfs</code> commandline program, in fstab, or in a
|
||||
use them with the <code>mergerfs</code> command line program, in fstab, or in a
|
||||
config file.</p>
|
||||
<h2 id="types">types</h2>
|
||||
<ul>
|
||||
|
|
@ -2061,8 +2061,9 @@ config file.</p>
|
|||
passthrough</a>
|
||||
if available. (default: off)</li>
|
||||
<li><strong>gid-cache-expire-timeout</strong>: Number of seconds till supplemental
|
||||
group data is refreshed in the <a href="../../faq/technical_behavior_and_limitations/#how-does-mergerfs-handle-credentials">GID
|
||||
cache</a>. (default: 3600)</li>
|
||||
group data is refreshed in the <a href="../../known_issues_bugs/#supplemental-user-groups">GID
|
||||
cache</a>. (default:
|
||||
3600)</li>
|
||||
<li><strong>gid-cache-remove-timeout</strong>: Number of seconds to wait till cached
|
||||
data is removed due to lack of usage. (default: 43200)</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -1322,6 +1322,30 @@
|
|||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Supplemental user groups">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#supplemental-group-caching" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Supplemental group caching
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#host-vs-container-identity" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Host vs Container identity
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
|
|
@ -1977,6 +2001,30 @@
|
|||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Supplemental user groups">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#supplemental-group-caching" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Supplemental group caching
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#host-vs-container-identity" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Host vs Container identity
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
|
|
@ -2166,23 +2214,22 @@
|
|||
<h1 id="known-issues-and-bugs">Known Issues and Bugs</h1>
|
||||
<h2 id="mergerfs">mergerfs</h2>
|
||||
<h3 id="supplemental-user-groups">Supplemental user groups</h3>
|
||||
<h4 id="supplemental-group-caching">Supplemental group caching</h4>
|
||||
<p>Due to the overhead of
|
||||
<a href="http://linux.die.net/man/2/setgroups">getgroups/setgroups</a> mergerfs
|
||||
utilizes a cache. This cache is opportunistic and per thread. Each
|
||||
thread will query the supplemental groups for a user when that
|
||||
particular thread needs to change credentials and will keep that data
|
||||
for the lifetime of the thread. This means that if a user is added to
|
||||
a group it may not be picked up without the restart of
|
||||
mergerfs. In the future this may be improved to allow a periodic or
|
||||
manual clearing of the cache.</p>
|
||||
utilizes a cache. As necessary the supplemental group information will
|
||||
be queried and cached. That cached list of groups will be used to set
|
||||
the supplement groups as necessary. Due to the high cost of querying
|
||||
the group list the default expiry for said data is 1 hour and after 12
|
||||
hours of no usage will be removed from the cache all together.</p>
|
||||
<h4 id="host-vs-container-identity">Host vs Container identity</h4>
|
||||
<p>While not a bug some users have found when using containers that
|
||||
supplemental groups defined inside the container don't work as
|
||||
expected. Since mergerfs lives outside the container it is querying
|
||||
the host's group database. Effectively containers have their own user
|
||||
and group definitions unless setup otherwise just as different systems
|
||||
would.</p>
|
||||
the host's group database. Containers have their own user and group
|
||||
definitions unless setup otherwise just as different systems would.</p>
|
||||
<p>Users should mount in the host group file into the containers or use a
|
||||
standard shared user & groups technology like NIS or LDAP.</p>
|
||||
standard shared user and groups technology like NIS or LDAP.</p>
|
||||
<h3 id="directory-mtime-is-not-being-updated">directory mtime is not being updated</h3>
|
||||
<p>Remember that the default policy for <code>getattr</code> is <code>ff</code>. The
|
||||
information for the first directory found will be returned. If it
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue