You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1730 lines
38 KiB

  1. <!doctype html>
  2. <html lang="en" class="no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <meta name="description" content="mergerfs - a featureful union filesystem">
  7. <link rel="canonical" href="https://trapexit.github.io/mergerfs/">
  8. <link rel="next" href="quickstart/">
  9. <link rel="icon" href="assets/images/favicon.png">
  10. <meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.49">
  11. <title>mergerfs</title>
  12. <link rel="stylesheet" href="assets/stylesheets/main.6f8fc17f.min.css">
  13. <link rel="stylesheet" href="assets/stylesheets/palette.06af60db.min.css">
  14. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  15. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
  16. <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
  17. <script>__md_scope=new URL(".",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
  18. </head>
  19. <body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo">
  20. <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
  21. <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
  22. <label class="md-overlay" for="__drawer"></label>
  23. <div data-md-component="skip">
  24. <a href="#mergerfs-a-featureful-union-filesystem" class="md-skip">
  25. Skip to content
  26. </a>
  27. </div>
  28. <div data-md-component="announce">
  29. </div>
  30. <header class="md-header md-header--shadow" data-md-component="header">
  31. <nav class="md-header__inner md-grid" aria-label="Header">
  32. <a href="." title="mergerfs" class="md-header__button md-logo" aria-label="mergerfs" data-md-component="logo">
  33. <img src="logo.jpeg" alt="logo">
  34. </a>
  35. <label class="md-header__button md-icon" for="__drawer">
  36. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
  37. </label>
  38. <div class="md-header__title" data-md-component="header-title">
  39. <div class="md-header__ellipsis">
  40. <div class="md-header__topic">
  41. <span class="md-ellipsis">
  42. mergerfs
  43. </span>
  44. </div>
  45. <div class="md-header__topic" data-md-component="header-topic">
  46. <span class="md-ellipsis">
  47. Home
  48. </span>
  49. </div>
  50. </div>
  51. </div>
  52. <form class="md-header__option" data-md-component="palette">
  53. <input class="md-option" data-md-color-media="(prefers-color-scheme)" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_0">
  54. <label class="md-header__button md-icon" title="Switch to light mode" for="__palette_1" hidden>
  55. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m14.3 16-.7-2h-3.2l-.7 2H7.8L11 7h2l3.2 9zM20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zm-9.15 3.96h2.3L12 9z"/></svg>
  56. </label>
  57. <input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_1">
  58. <label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_2" hidden>
  59. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg>
  60. </label>
  61. <input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to system preference" type="radio" name="__palette" id="__palette_2">
  62. <label class="md-header__button md-icon" title="Switch to system preference" for="__palette_0" hidden>
  63. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg>
  64. </label>
  65. </form>
  66. <script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
  67. <label class="md-header__button md-icon" for="__search">
  68. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
  69. </label>
  70. <div class="md-search" data-md-component="search" role="dialog">
  71. <label class="md-search__overlay" for="__search"></label>
  72. <div class="md-search__inner" role="search">
  73. <form class="md-search__form" name="search">
  74. <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
  75. <label class="md-search__icon md-icon" for="__search">
  76. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
  77. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
  78. </label>
  79. <nav class="md-search__options" aria-label="Search">
  80. <a href="javascript:void(0)" class="md-search__icon md-icon" title="Share" aria-label="Share" data-clipboard data-clipboard-text="" data-md-component="search-share" tabindex="-1">
  81. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66 0 1.61 1.31 2.91 2.92 2.91s2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08"/></svg>
  82. </a>
  83. <button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
  84. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>
  85. </button>
  86. </nav>
  87. </form>
  88. <div class="md-search__output">
  89. <div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
  90. <div class="md-search-result" data-md-component="search-result">
  91. <div class="md-search-result__meta">
  92. Initializing search
  93. </div>
  94. <ol class="md-search-result__list" role="presentation"></ol>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="md-header__source">
  101. <a href="https://github.com/trapexit/mergerfs" title="Go to repository" class="md-source" data-md-component="source">
  102. <div class="md-source__icon md-icon">
  103. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81"/></svg>
  104. </div>
  105. <div class="md-source__repository">
  106. mergerfs
  107. </div>
  108. </a>
  109. </div>
  110. </nav>
  111. </header>
  112. <div class="md-container" data-md-component="container">
  113. <main class="md-main" data-md-component="main">
  114. <div class="md-main__inner md-grid">
  115. <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
  116. <div class="md-sidebar__scrollwrap">
  117. <div class="md-sidebar__inner">
  118. <nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
  119. <label class="md-nav__title" for="__drawer">
  120. <a href="." title="mergerfs" class="md-nav__button md-logo" aria-label="mergerfs" data-md-component="logo">
  121. <img src="logo.jpeg" alt="logo">
  122. </a>
  123. mergerfs
  124. </label>
  125. <div class="md-nav__source">
  126. <a href="https://github.com/trapexit/mergerfs" title="Go to repository" class="md-source" data-md-component="source">
  127. <div class="md-source__icon md-icon">
  128. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81"/></svg>
  129. </div>
  130. <div class="md-source__repository">
  131. mergerfs
  132. </div>
  133. </a>
  134. </div>
  135. <ul class="md-nav__list" data-md-scrollfix>
  136. <li class="md-nav__item md-nav__item--active">
  137. <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
  138. <label class="md-nav__link md-nav__link--active" for="__toc">
  139. <span class="md-ellipsis">
  140. Home
  141. </span>
  142. <span class="md-nav__icon md-icon"></span>
  143. </label>
  144. <a href="." class="md-nav__link md-nav__link--active">
  145. <span class="md-ellipsis">
  146. Home
  147. </span>
  148. </a>
  149. <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  150. <label class="md-nav__title" for="__toc">
  151. <span class="md-nav__icon md-icon"></span>
  152. Table of contents
  153. </label>
  154. <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
  155. <li class="md-nav__item">
  156. <a href="#features" class="md-nav__link">
  157. <span class="md-ellipsis">
  158. Features
  159. </span>
  160. </a>
  161. </li>
  162. <li class="md-nav__item">
  163. <a href="#non-features" class="md-nav__link">
  164. <span class="md-ellipsis">
  165. Non-features
  166. </span>
  167. </a>
  168. </li>
  169. <li class="md-nav__item">
  170. <a href="#how-it-works" class="md-nav__link">
  171. <span class="md-ellipsis">
  172. How it works
  173. </span>
  174. </a>
  175. <nav class="md-nav" aria-label="How it works">
  176. <ul class="md-nav__list">
  177. <li class="md-nav__item">
  178. <a href="#visualization" class="md-nav__link">
  179. <span class="md-ellipsis">
  180. Visualization
  181. </span>
  182. </a>
  183. </li>
  184. </ul>
  185. </nav>
  186. </li>
  187. </ul>
  188. </nav>
  189. </li>
  190. <li class="md-nav__item">
  191. <a href="quickstart/" class="md-nav__link">
  192. <span class="md-ellipsis">
  193. QuickStart
  194. </span>
  195. </a>
  196. </li>
  197. <li class="md-nav__item md-nav__item--nested">
  198. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3" >
  199. <label class="md-nav__link" for="__nav_3" id="__nav_3_label" tabindex="0">
  200. <span class="md-ellipsis">
  201. Installation
  202. </span>
  203. <span class="md-nav__icon md-icon"></span>
  204. </label>
  205. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_3_label" aria-expanded="false">
  206. <label class="md-nav__title" for="__nav_3">
  207. <span class="md-nav__icon md-icon"></span>
  208. Installation
  209. </label>
  210. <ul class="md-nav__list" data-md-scrollfix>
  211. <li class="md-nav__item">
  212. <a href="setup/installation/" class="md-nav__link">
  213. <span class="md-ellipsis">
  214. Installation
  215. </span>
  216. </a>
  217. </li>
  218. <li class="md-nav__item">
  219. <a href="setup/upgrade/" class="md-nav__link">
  220. <span class="md-ellipsis">
  221. Upgrade
  222. </span>
  223. </a>
  224. </li>
  225. <li class="md-nav__item">
  226. <a href="setup/build/" class="md-nav__link">
  227. <span class="md-ellipsis">
  228. Build
  229. </span>
  230. </a>
  231. </li>
  232. </ul>
  233. </nav>
  234. </li>
  235. <li class="md-nav__item md-nav__item--nested">
  236. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4" >
  237. <label class="md-nav__link" for="__nav_4" id="__nav_4_label" tabindex="0">
  238. <span class="md-ellipsis">
  239. Config
  240. </span>
  241. <span class="md-nav__icon md-icon"></span>
  242. </label>
  243. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_4_label" aria-expanded="false">
  244. <label class="md-nav__title" for="__nav_4">
  245. <span class="md-nav__icon md-icon"></span>
  246. Config
  247. </label>
  248. <ul class="md-nav__list" data-md-scrollfix>
  249. <li class="md-nav__item">
  250. <a href="config/terminology/" class="md-nav__link">
  251. <span class="md-ellipsis">
  252. Terminology
  253. </span>
  254. </a>
  255. </li>
  256. <li class="md-nav__item">
  257. <a href="config/options/" class="md-nav__link">
  258. <span class="md-ellipsis">
  259. Options
  260. </span>
  261. </a>
  262. </li>
  263. <li class="md-nav__item">
  264. <a href="config/deprecated_options/" class="md-nav__link">
  265. <span class="md-ellipsis">
  266. Deprecated Options
  267. </span>
  268. </a>
  269. </li>
  270. <li class="md-nav__item">
  271. <a href="config/branches/" class="md-nav__link">
  272. <span class="md-ellipsis">
  273. branches
  274. </span>
  275. </a>
  276. </li>
  277. <li class="md-nav__item">
  278. <a href="config/functions_categories_and_policies/" class="md-nav__link">
  279. <span class="md-ellipsis">
  280. functions, categories and policies
  281. </span>
  282. </a>
  283. </li>
  284. <li class="md-nav__item">
  285. <a href="config/func_readdir/" class="md-nav__link">
  286. <span class="md-ellipsis">
  287. func.readdir
  288. </span>
  289. </a>
  290. </li>
  291. <li class="md-nav__item">
  292. <a href="config/rename_and_link/" class="md-nav__link">
  293. <span class="md-ellipsis">
  294. rename and link
  295. </span>
  296. </a>
  297. </li>
  298. <li class="md-nav__item">
  299. <a href="config/cache/" class="md-nav__link">
  300. <span class="md-ellipsis">
  301. caching
  302. </span>
  303. </a>
  304. </li>
  305. <li class="md-nav__item">
  306. <a href="config/readahead/" class="md-nav__link">
  307. <span class="md-ellipsis">
  308. readahead
  309. </span>
  310. </a>
  311. </li>
  312. <li class="md-nav__item">
  313. <a href="config/inodecalc/" class="md-nav__link">
  314. <span class="md-ellipsis">
  315. inodecalc
  316. </span>
  317. </a>
  318. </li>
  319. <li class="md-nav__item">
  320. <a href="config/threads/" class="md-nav__link">
  321. <span class="md-ellipsis">
  322. threads
  323. </span>
  324. </a>
  325. </li>
  326. <li class="md-nav__item">
  327. <a href="config/pin-threads/" class="md-nav__link">
  328. <span class="md-ellipsis">
  329. pin-threads
  330. </span>
  331. </a>
  332. </li>
  333. <li class="md-nav__item">
  334. <a href="config/link_cow/" class="md-nav__link">
  335. <span class="md-ellipsis">
  336. link_cow
  337. </span>
  338. </a>
  339. </li>
  340. <li class="md-nav__item">
  341. <a href="config/fuse_msg_size/" class="md-nav__link">
  342. <span class="md-ellipsis">
  343. fuse_msg_size
  344. </span>
  345. </a>
  346. </li>
  347. <li class="md-nav__item">
  348. <a href="config/follow-symlinks/" class="md-nav__link">
  349. <span class="md-ellipsis">
  350. follow-symlinks
  351. </span>
  352. </a>
  353. </li>
  354. <li class="md-nav__item">
  355. <a href="config/link-exdev/" class="md-nav__link">
  356. <span class="md-ellipsis">
  357. link-exdev
  358. </span>
  359. </a>
  360. </li>
  361. <li class="md-nav__item">
  362. <a href="config/rename-exdev/" class="md-nav__link">
  363. <span class="md-ellipsis">
  364. rename-exdev
  365. </span>
  366. </a>
  367. </li>
  368. <li class="md-nav__item">
  369. <a href="config/symlinkify/" class="md-nav__link">
  370. <span class="md-ellipsis">
  371. symlinkify
  372. </span>
  373. </a>
  374. </li>
  375. <li class="md-nav__item">
  376. <a href="config/nullrw/" class="md-nav__link">
  377. <span class="md-ellipsis">
  378. nullrw
  379. </span>
  380. </a>
  381. </li>
  382. <li class="md-nav__item">
  383. <a href="config/xattr/" class="md-nav__link">
  384. <span class="md-ellipsis">
  385. xattr
  386. </span>
  387. </a>
  388. </li>
  389. <li class="md-nav__item">
  390. <a href="config/nfsopenhack/" class="md-nav__link">
  391. <span class="md-ellipsis">
  392. nfsopenhack
  393. </span>
  394. </a>
  395. </li>
  396. <li class="md-nav__item">
  397. <a href="config/statfs/" class="md-nav__link">
  398. <span class="md-ellipsis">
  399. statfs / statvfs
  400. </span>
  401. </a>
  402. </li>
  403. <li class="md-nav__item">
  404. <a href="config/flush-on-close/" class="md-nav__link">
  405. <span class="md-ellipsis">
  406. flush-on-close
  407. </span>
  408. </a>
  409. </li>
  410. <li class="md-nav__item">
  411. <a href="config/export-support/" class="md-nav__link">
  412. <span class="md-ellipsis">
  413. export-support
  414. </span>
  415. </a>
  416. </li>
  417. </ul>
  418. </nav>
  419. </li>
  420. <li class="md-nav__item">
  421. <a href="error_handling/" class="md-nav__link">
  422. <span class="md-ellipsis">
  423. Error Handling
  424. </span>
  425. </a>
  426. </li>
  427. <li class="md-nav__item">
  428. <a href="runtime_interfaces/" class="md-nav__link">
  429. <span class="md-ellipsis">
  430. Runtime Interfaces
  431. </span>
  432. </a>
  433. </li>
  434. <li class="md-nav__item">
  435. <a href="remote_filesystems/" class="md-nav__link">
  436. <span class="md-ellipsis">
  437. Remote Filesystems
  438. </span>
  439. </a>
  440. </li>
  441. <li class="md-nav__item">
  442. <a href="tips_notes/" class="md-nav__link">
  443. <span class="md-ellipsis">
  444. Tips and Notes
  445. </span>
  446. </a>
  447. </li>
  448. <li class="md-nav__item">
  449. <a href="known_issues_bugs/" class="md-nav__link">
  450. <span class="md-ellipsis">
  451. Known Issues and Bugs
  452. </span>
  453. </a>
  454. </li>
  455. <li class="md-nav__item">
  456. <a href="project_comparisons/" class="md-nav__link">
  457. <span class="md-ellipsis">
  458. Project Comparisons
  459. </span>
  460. </a>
  461. </li>
  462. <li class="md-nav__item">
  463. <a href="performance/" class="md-nav__link">
  464. <span class="md-ellipsis">
  465. Tweaking Performance
  466. </span>
  467. </a>
  468. </li>
  469. <li class="md-nav__item">
  470. <a href="benchmarking/" class="md-nav__link">
  471. <span class="md-ellipsis">
  472. Benchmarking
  473. </span>
  474. </a>
  475. </li>
  476. <li class="md-nav__item">
  477. <a href="tooling/" class="md-nav__link">
  478. <span class="md-ellipsis">
  479. Tooling
  480. </span>
  481. </a>
  482. </li>
  483. <li class="md-nav__item md-nav__item--nested">
  484. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_14" >
  485. <label class="md-nav__link" for="__nav_14" id="__nav_14_label" tabindex="0">
  486. <span class="md-ellipsis">
  487. FAQ
  488. </span>
  489. <span class="md-nav__icon md-icon"></span>
  490. </label>
  491. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_14_label" aria-expanded="false">
  492. <label class="md-nav__title" for="__nav_14">
  493. <span class="md-nav__icon md-icon"></span>
  494. FAQ
  495. </label>
  496. <ul class="md-nav__list" data-md-scrollfix>
  497. <li class="md-nav__item">
  498. <a href="faq/reliability_and_scalability/" class="md-nav__link">
  499. <span class="md-ellipsis">
  500. Reliability and Scalability
  501. </span>
  502. </a>
  503. </li>
  504. <li class="md-nav__item">
  505. <a href="faq/usage_and_functionality/" class="md-nav__link">
  506. <span class="md-ellipsis">
  507. Usage and Functionality
  508. </span>
  509. </a>
  510. </li>
  511. <li class="md-nav__item">
  512. <a href="faq/configuration_and_policies/" class="md-nav__link">
  513. <span class="md-ellipsis">
  514. Configuration and Policies
  515. </span>
  516. </a>
  517. </li>
  518. <li class="md-nav__item">
  519. <a href="faq/compatibility_and_integration/" class="md-nav__link">
  520. <span class="md-ellipsis">
  521. Compatibility and Integration
  522. </span>
  523. </a>
  524. </li>
  525. <li class="md-nav__item">
  526. <a href="faq/recommendations_and_warnings/" class="md-nav__link">
  527. <span class="md-ellipsis">
  528. Recommendations and Warnings
  529. </span>
  530. </a>
  531. </li>
  532. <li class="md-nav__item">
  533. <a href="faq/technical_behavior_and_limitations/" class="md-nav__link">
  534. <span class="md-ellipsis">
  535. Technical Behavior and Limitations
  536. </span>
  537. </a>
  538. </li>
  539. <li class="md-nav__item">
  540. <a href="faq/limit_drive_spinup/" class="md-nav__link">
  541. <span class="md-ellipsis">
  542. Limiting drive spinup
  543. </span>
  544. </a>
  545. </li>
  546. </ul>
  547. </nav>
  548. </li>
  549. <li class="md-nav__item">
  550. <a href="related_projects/" class="md-nav__link">
  551. <span class="md-ellipsis">
  552. Related Projects
  553. </span>
  554. </a>
  555. </li>
  556. <li class="md-nav__item">
  557. <a href="media_and_publicity/" class="md-nav__link">
  558. <span class="md-ellipsis">
  559. Media and Publicity
  560. </span>
  561. </a>
  562. </li>
  563. <li class="md-nav__item">
  564. <a href="support/" class="md-nav__link">
  565. <span class="md-ellipsis">
  566. Support
  567. </span>
  568. </a>
  569. </li>
  570. <li class="md-nav__item">
  571. <a href="sponsorship_and_donations/" class="md-nav__link">
  572. <span class="md-ellipsis">
  573. Sponsorship and Donations
  574. </span>
  575. </a>
  576. </li>
  577. </ul>
  578. </nav>
  579. </div>
  580. </div>
  581. </div>
  582. <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
  583. <div class="md-sidebar__scrollwrap">
  584. <div class="md-sidebar__inner">
  585. <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  586. <label class="md-nav__title" for="__toc">
  587. <span class="md-nav__icon md-icon"></span>
  588. Table of contents
  589. </label>
  590. <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
  591. <li class="md-nav__item">
  592. <a href="#features" class="md-nav__link">
  593. <span class="md-ellipsis">
  594. Features
  595. </span>
  596. </a>
  597. </li>
  598. <li class="md-nav__item">
  599. <a href="#non-features" class="md-nav__link">
  600. <span class="md-ellipsis">
  601. Non-features
  602. </span>
  603. </a>
  604. </li>
  605. <li class="md-nav__item">
  606. <a href="#how-it-works" class="md-nav__link">
  607. <span class="md-ellipsis">
  608. How it works
  609. </span>
  610. </a>
  611. <nav class="md-nav" aria-label="How it works">
  612. <ul class="md-nav__list">
  613. <li class="md-nav__item">
  614. <a href="#visualization" class="md-nav__link">
  615. <span class="md-ellipsis">
  616. Visualization
  617. </span>
  618. </a>
  619. </li>
  620. </ul>
  621. </nav>
  622. </li>
  623. </ul>
  624. </nav>
  625. </div>
  626. </div>
  627. </div>
  628. <div class="md-content" data-md-component="content">
  629. <article class="md-content__inner md-typeset">
  630. <a href="https://github.com/trapexit/mergerfs/tree/master/mkdocs/docs/index.md" title="Edit this page" class="md-content__button md-icon">
  631. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4zm10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1z"/></svg>
  632. </a>
  633. <a href="https://github.com/trapexit/mergerfs/tree/master/mkdocs/docs/index.md" title="View source of this page" class="md-content__button md-icon">
  634. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.2 8.2 0 0 1-1.23-2"/></svg>
  635. </a>
  636. <h1 id="mergerfs-a-featureful-union-filesystem">mergerfs - a featureful union filesystem</h1>
  637. <p><strong>mergerfs</strong> is a
  638. <a href="https://en.wikipedia.org/wiki/Filesystem_in_Userspace">FUSE</a> based
  639. <a href="https://en.wikipedia.org/wiki/Union_mount">union filesystem</a> geared
  640. towards simplifying storage and management of files across numerous
  641. commodity storage devices. It is similar to <strong>mhddfs</strong>, <strong>unionfs</strong>,
  642. and <strong>aufs</strong>.</p>
  643. <h2 id="features">Features</h2>
  644. <ul>
  645. <li>Logicially combine numerous filesystems/paths into a single
  646. mount point</li>
  647. <li>Combine paths of the same or different filesystems</li>
  648. <li>Ability to add or remove filesystems/paths without impacting the
  649. rest of the data</li>
  650. <li>Unaffected by individual filesystem failure</li>
  651. <li>Configurable file selection and creation placement</li>
  652. <li>Works with filesystems of any size</li>
  653. <li>Works with filesystems of almost any type</li>
  654. <li>Ignore read-only filesystems when creating files</li>
  655. <li>Hard link copy-on-write / CoW</li>
  656. <li>Runtime configurable</li>
  657. <li>Support for extended attributes (xattrs)</li>
  658. <li>Support for file attributes (chattr)</li>
  659. <li>Support for POSIX ACLs</li>
  660. </ul>
  661. <h2 id="non-features">Non-features</h2>
  662. <ul>
  663. <li>Read/write overlay on top of readonly filesystem like OverlayFS</li>
  664. <li>File whiteout</li>
  665. <li>RAID like parity calculation</li>
  666. <li>Redundency</li>
  667. <li>Splitting of files across branches</li>
  668. </ul>
  669. <h2 id="how-it-works">How it works</h2>
  670. <p>mergerfs logically merges multiple filesystem paths together. It acts
  671. as a proxy to the underlying filesystem paths. Combining the
  672. behaviors of some functions and being a selector for others.</p>
  673. <p>When the contents of a directory are requested mergerfs combines the
  674. list of files from each directory, deduplicating entries, and returns
  675. that list.</p>
  676. <p>When a file or directory is created a policy is first run to determine
  677. which branch will be selected for the creation.</p>
  678. <p>For functions which chant attributes or remove the file the behavior
  679. may be applied to all instances found.</p>
  680. <p>Read more about <a href="config/functions_categories_and_policies/">policies here</a>.</p>
  681. <h3 id="visualization">Visualization</h3>
  682. <div class="language-text highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>A + B = C
  683. </span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a>/disk1 /disk2 /merged
  684. </span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a>| | |
  685. </span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a>+-- /dir1 +-- /dir1 +-- /dir1
  686. </span><span id="__span-0-5"><a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a>| | | | | |
  687. </span><span id="__span-0-6"><a id="__codelineno-0-6" name="__codelineno-0-6" href="#__codelineno-0-6"></a>| +-- file1 | +-- file2 | +-- file1
  688. </span><span id="__span-0-7"><a id="__codelineno-0-7" name="__codelineno-0-7" href="#__codelineno-0-7"></a>| | +-- file3 | +-- file2
  689. </span><span id="__span-0-8"><a id="__codelineno-0-8" name="__codelineno-0-8" href="#__codelineno-0-8"></a>+-- /dir2 | | +-- file3
  690. </span><span id="__span-0-9"><a id="__codelineno-0-9" name="__codelineno-0-9" href="#__codelineno-0-9"></a>| | +-- /dir3 |
  691. </span><span id="__span-0-10"><a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a>| +-- file4 | +-- /dir2
  692. </span><span id="__span-0-11"><a id="__codelineno-0-11" name="__codelineno-0-11" href="#__codelineno-0-11"></a>| +-- file5 | |
  693. </span><span id="__span-0-12"><a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a>+-- file6 | +-- file4
  694. </span><span id="__span-0-13"><a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a> |
  695. </span><span id="__span-0-14"><a id="__codelineno-0-14" name="__codelineno-0-14" href="#__codelineno-0-14"></a> +-- /dir3
  696. </span><span id="__span-0-15"><a id="__codelineno-0-15" name="__codelineno-0-15" href="#__codelineno-0-15"></a> | |
  697. </span><span id="__span-0-16"><a id="__codelineno-0-16" name="__codelineno-0-16" href="#__codelineno-0-16"></a> | +-- file5
  698. </span><span id="__span-0-17"><a id="__codelineno-0-17" name="__codelineno-0-17" href="#__codelineno-0-17"></a> |
  699. </span><span id="__span-0-18"><a id="__codelineno-0-18" name="__codelineno-0-18" href="#__codelineno-0-18"></a> +-- file6
  700. </span></code></pre></div>
  701. </article>
  702. </div>
  703. <script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
  704. </div>
  705. <button type="button" class="md-top md-icon" data-md-component="top" hidden>
  706. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg>
  707. Back to top
  708. </button>
  709. </main>
  710. <footer class="md-footer">
  711. <nav class="md-footer__inner md-grid" aria-label="Footer" >
  712. <a href="quickstart/" class="md-footer__link md-footer__link--next" aria-label="Next: QuickStart">
  713. <div class="md-footer__title">
  714. <span class="md-footer__direction">
  715. Next
  716. </span>
  717. <div class="md-ellipsis">
  718. QuickStart
  719. </div>
  720. </div>
  721. <div class="md-footer__button md-icon">
  722. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11z"/></svg>
  723. </div>
  724. </a>
  725. </nav>
  726. <div class="md-footer-meta md-typeset">
  727. <div class="md-footer-meta__inner md-grid">
  728. <div class="md-copyright">
  729. Made with
  730. <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
  731. Material for MkDocs
  732. </a>
  733. </div>
  734. </div>
  735. </div>
  736. </footer>
  737. </div>
  738. <div class="md-dialog" data-md-component="dialog">
  739. <div class="md-dialog__inner md-typeset"></div>
  740. </div>
  741. <script id="__config" type="application/json">{"base": ".", "features": ["content.action.edit", "content.action.view", "content.code.copy", "content.code.select", "navigation.footer", "navigation.instant", "navigation.instant.prefetch", "navigation.path", "navigation.top", "navigation.tracking", "optimize", "search.share", "toc.follow"], "search": "assets/javascripts/workers/search.6ce7567c.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
  742. <script src="assets/javascripts/bundle.88dd0f4e.min.js"></script>
  743. </body>
  744. </html>