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.

1321 lines
28 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/pages/faq/compatibility_and_integration/">
  8. <link rel="prev" href="../../documentation/links/">
  9. <link rel="next" href="../configuration_and_policies/">
  10. <link rel="icon" href="../../../assets/images/favicon.png">
  11. <meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.49">
  12. <title>Compatibility and Integration - mergerfs</title>
  13. <link rel="stylesheet" href="../../../assets/stylesheets/main.6f8fc17f.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">
  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="#compatibility-and-integration" 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. Compatibility and Integration
  48. </span>
  49. </div>
  50. </div>
  51. </div>
  52. <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>
  53. <label class="md-header__button md-icon" for="__search">
  54. <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>
  55. </label>
  56. <div class="md-search" data-md-component="search" role="dialog">
  57. <label class="md-search__overlay" for="__search"></label>
  58. <div class="md-search__inner" role="search">
  59. <form class="md-search__form" name="search">
  60. <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>
  61. <label class="md-search__icon md-icon" for="__search">
  62. <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>
  63. <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>
  64. </label>
  65. <nav class="md-search__options" aria-label="Search">
  66. <button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
  67. <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>
  68. </button>
  69. </nav>
  70. </form>
  71. <div class="md-search__output">
  72. <div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
  73. <div class="md-search-result" data-md-component="search-result">
  74. <div class="md-search-result__meta">
  75. Initializing search
  76. </div>
  77. <ol class="md-search-result__list" role="presentation"></ol>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <div class="md-header__source">
  84. <a href="https://github.com/trapexit/mergerfs" title="Go to repository" class="md-source" data-md-component="source">
  85. <div class="md-source__icon md-icon">
  86. <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>
  87. </div>
  88. <div class="md-source__repository">
  89. mergerfs
  90. </div>
  91. </a>
  92. </div>
  93. </nav>
  94. </header>
  95. <div class="md-container" data-md-component="container">
  96. <main class="md-main" data-md-component="main">
  97. <div class="md-main__inner md-grid">
  98. <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
  99. <div class="md-sidebar__scrollwrap">
  100. <div class="md-sidebar__inner">
  101. <nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
  102. <label class="md-nav__title" for="__drawer">
  103. <a href="../../.." title="mergerfs" class="md-nav__button md-logo" aria-label="mergerfs" data-md-component="logo">
  104. <img src="../../../logo.jpeg" alt="logo">
  105. </a>
  106. mergerfs
  107. </label>
  108. <div class="md-nav__source">
  109. <a href="https://github.com/trapexit/mergerfs" title="Go to repository" class="md-source" data-md-component="source">
  110. <div class="md-source__icon md-icon">
  111. <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>
  112. </div>
  113. <div class="md-source__repository">
  114. mergerfs
  115. </div>
  116. </a>
  117. </div>
  118. <ul class="md-nav__list" data-md-scrollfix>
  119. <li class="md-nav__item">
  120. <a href="../../.." class="md-nav__link">
  121. <span class="md-ellipsis">
  122. About
  123. </span>
  124. </a>
  125. </li>
  126. <li class="md-nav__item md-nav__item--nested">
  127. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" >
  128. <label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="0">
  129. <span class="md-ellipsis">
  130. Documentation
  131. </span>
  132. <span class="md-nav__icon md-icon"></span>
  133. </label>
  134. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
  135. <label class="md-nav__title" for="__nav_2">
  136. <span class="md-nav__icon md-icon"></span>
  137. Documentation
  138. </label>
  139. <ul class="md-nav__list" data-md-scrollfix>
  140. <li class="md-nav__item">
  141. <a href="../../documentation/how_it_works/" class="md-nav__link">
  142. <span class="md-ellipsis">
  143. HOW IT WORKS
  144. </span>
  145. </a>
  146. </li>
  147. <li class="md-nav__item">
  148. <a href="../../documentation/terminology/" class="md-nav__link">
  149. <span class="md-ellipsis">
  150. TERMINOLOGY
  151. </span>
  152. </a>
  153. </li>
  154. <li class="md-nav__item">
  155. <a href="../../documentation/basic_setup/" class="md-nav__link">
  156. <span class="md-ellipsis">
  157. BASIC SETUP
  158. </span>
  159. </a>
  160. </li>
  161. <li class="md-nav__item">
  162. <a href="../../documentation/options/" class="md-nav__link">
  163. <span class="md-ellipsis">
  164. OPTIONS
  165. </span>
  166. </a>
  167. </li>
  168. <li class="md-nav__item">
  169. <a href="../../documentation/functions_categories_and_policies/" class="md-nav__link">
  170. <span class="md-ellipsis">
  171. FUNCTIONS, CATEGORIES and POLICIES
  172. </span>
  173. </a>
  174. </li>
  175. <li class="md-nav__item">
  176. <a href="../../documentation/error_handling/" class="md-nav__link">
  177. <span class="md-ellipsis">
  178. ERROR HANDLING
  179. </span>
  180. </a>
  181. </li>
  182. <li class="md-nav__item">
  183. <a href="../../documentation/install/" class="md-nav__link">
  184. <span class="md-ellipsis">
  185. INSTALL
  186. </span>
  187. </a>
  188. </li>
  189. <li class="md-nav__item">
  190. <a href="../../documentation/build/" class="md-nav__link">
  191. <span class="md-ellipsis">
  192. BUILD
  193. </span>
  194. </a>
  195. </li>
  196. <li class="md-nav__item">
  197. <a href="../../documentation/upgrade/" class="md-nav__link">
  198. <span class="md-ellipsis">
  199. UPGRADE
  200. </span>
  201. </a>
  202. </li>
  203. <li class="md-nav__item">
  204. <a href="../../documentation/runtime_interfaces/" class="md-nav__link">
  205. <span class="md-ellipsis">
  206. RUNTIME INTERFACES
  207. </span>
  208. </a>
  209. </li>
  210. <li class="md-nav__item">
  211. <a href="../../documentation/tooling/" class="md-nav__link">
  212. <span class="md-ellipsis">
  213. TOOLING
  214. </span>
  215. </a>
  216. </li>
  217. <li class="md-nav__item">
  218. <a href="../../documentation/caching/" class="md-nav__link">
  219. <span class="md-ellipsis">
  220. CACHING
  221. </span>
  222. </a>
  223. </li>
  224. <li class="md-nav__item">
  225. <a href="../../documentation/performance/" class="md-nav__link">
  226. <span class="md-ellipsis">
  227. PERFORMANCE
  228. </span>
  229. </a>
  230. </li>
  231. <li class="md-nav__item">
  232. <a href="../../documentation/benchmarking/" class="md-nav__link">
  233. <span class="md-ellipsis">
  234. BENCHMARKING
  235. </span>
  236. </a>
  237. </li>
  238. <li class="md-nav__item">
  239. <a href="../../documentation/tips_notes/" class="md-nav__link">
  240. <span class="md-ellipsis">
  241. TIPS / NOTES
  242. </span>
  243. </a>
  244. </li>
  245. <li class="md-nav__item">
  246. <a href="../../documentation/known_issues_bugs/" class="md-nav__link">
  247. <span class="md-ellipsis">
  248. KNOWN ISSUES / BUGS
  249. </span>
  250. </a>
  251. </li>
  252. <li class="md-nav__item">
  253. <a href="../../documentation/remote_filesystems/" class="md-nav__link">
  254. <span class="md-ellipsis">
  255. Remote Filesystems
  256. </span>
  257. </a>
  258. </li>
  259. <li class="md-nav__item">
  260. <a href="../../documentation/mergerfs_versus_x/" class="md-nav__link">
  261. <span class="md-ellipsis">
  262. mergerfs versus X
  263. </span>
  264. </a>
  265. </li>
  266. <li class="md-nav__item">
  267. <a href="../../documentation/support/" class="md-nav__link">
  268. <span class="md-ellipsis">
  269. SUPPORT
  270. </span>
  271. </a>
  272. </li>
  273. <li class="md-nav__item">
  274. <a href="../../documentation/links/" class="md-nav__link">
  275. <span class="md-ellipsis">
  276. LINKS
  277. </span>
  278. </a>
  279. </li>
  280. </ul>
  281. </nav>
  282. </li>
  283. <li class="md-nav__item md-nav__item--active md-nav__item--nested">
  284. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3" checked>
  285. <label class="md-nav__link" for="__nav_3" id="__nav_3_label" tabindex="0">
  286. <span class="md-ellipsis">
  287. FAQ
  288. </span>
  289. <span class="md-nav__icon md-icon"></span>
  290. </label>
  291. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_3_label" aria-expanded="true">
  292. <label class="md-nav__title" for="__nav_3">
  293. <span class="md-nav__icon md-icon"></span>
  294. FAQ
  295. </label>
  296. <ul class="md-nav__list" data-md-scrollfix>
  297. <li class="md-nav__item md-nav__item--active">
  298. <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
  299. <label class="md-nav__link md-nav__link--active" for="__toc">
  300. <span class="md-ellipsis">
  301. Compatibility and Integration
  302. </span>
  303. <span class="md-nav__icon md-icon"></span>
  304. </label>
  305. <a href="./" class="md-nav__link md-nav__link--active">
  306. <span class="md-ellipsis">
  307. Compatibility and Integration
  308. </span>
  309. </a>
  310. <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  311. <label class="md-nav__title" for="__toc">
  312. <span class="md-nav__icon md-icon"></span>
  313. Table of contents
  314. </label>
  315. <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
  316. <li class="md-nav__item">
  317. <a href="#can-i-use-mergerfs-without-snapraid-snapraid-without-mergerfs" class="md-nav__link">
  318. <span class="md-ellipsis">
  319. Can I use mergerfs without SnapRAID? SnapRAID without mergerfs?
  320. </span>
  321. </a>
  322. </li>
  323. <li class="md-nav__item">
  324. <a href="#can-mergerfs-run-via-docker-podman-kubernetes-etc" class="md-nav__link">
  325. <span class="md-ellipsis">
  326. Can mergerfs run via Docker, Podman, Kubernetes, etc.
  327. </span>
  328. </a>
  329. </li>
  330. <li class="md-nav__item">
  331. <a href="#does-mergerfs-support-cow-copy-on-write-writes-to-read-only-filesystems" class="md-nav__link">
  332. <span class="md-ellipsis">
  333. Does mergerfs support CoW / copy-on-write / writes to read-only filesystems?
  334. </span>
  335. </a>
  336. </li>
  337. </ul>
  338. </nav>
  339. </li>
  340. <li class="md-nav__item">
  341. <a href="../configuration_and_policies/" class="md-nav__link">
  342. <span class="md-ellipsis">
  343. Configuration and Policies
  344. </span>
  345. </a>
  346. </li>
  347. <li class="md-nav__item">
  348. <a href="../general_information_and_overview/" class="md-nav__link">
  349. <span class="md-ellipsis">
  350. General Information and Overview
  351. </span>
  352. </a>
  353. </li>
  354. <li class="md-nav__item">
  355. <a href="../recommendations_and_warnings/" class="md-nav__link">
  356. <span class="md-ellipsis">
  357. Recommendations and Warnings
  358. </span>
  359. </a>
  360. </li>
  361. <li class="md-nav__item">
  362. <a href="../technical_behavior_and_limitations/" class="md-nav__link">
  363. <span class="md-ellipsis">
  364. Technical Behavior and Limitations
  365. </span>
  366. </a>
  367. </li>
  368. <li class="md-nav__item">
  369. <a href="../usage_and_functionality/" class="md-nav__link">
  370. <span class="md-ellipsis">
  371. Usage and Functionality
  372. </span>
  373. </a>
  374. </li>
  375. </ul>
  376. </nav>
  377. </li>
  378. <li class="md-nav__item md-nav__item--nested">
  379. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4" >
  380. <label class="md-nav__link" for="__nav_4" id="__nav_4_label" tabindex="0">
  381. <span class="md-ellipsis">
  382. Wiki
  383. </span>
  384. <span class="md-nav__icon md-icon"></span>
  385. </label>
  386. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_4_label" aria-expanded="false">
  387. <label class="md-nav__title" for="__nav_4">
  388. <span class="md-nav__icon md-icon"></span>
  389. Wiki
  390. </label>
  391. <ul class="md-nav__list" data-md-scrollfix>
  392. <li class="md-nav__item">
  393. <a href="../../wiki/projects_using_mergerfs/" class="md-nav__link">
  394. <span class="md-ellipsis">
  395. Projects incorporating mergerfs directly in some way
  396. </span>
  397. </a>
  398. </li>
  399. <li class="md-nav__item">
  400. <a href="../../wiki/installing_mergerfs_on_a_synology_nas/" class="md-nav__link">
  401. <span class="md-ellipsis">
  402. Installing mergerfs on a synology nas
  403. </span>
  404. </a>
  405. </li>
  406. <li class="md-nav__item">
  407. <a href="../../wiki/testimonials/" class="md-nav__link">
  408. <span class="md-ellipsis">
  409. Testimonials
  410. </span>
  411. </a>
  412. </li>
  413. <li class="md-nav__item">
  414. <a href="../../wiki/real_world_deployments/" class="md-nav__link">
  415. <span class="md-ellipsis">
  416. trapexit's (mergerfs' author)
  417. </span>
  418. </a>
  419. </li>
  420. <li class="md-nav__item">
  421. <a href="../../wiki/systemd/" class="md-nav__link">
  422. <span class="md-ellipsis">
  423. systemd
  424. </span>
  425. </a>
  426. </li>
  427. <li class="md-nav__item">
  428. <a href="../../wiki/kernel_issues_and_bugs/" class="md-nav__link">
  429. <span class="md-ellipsis">
  430. Kernel issues and bugs
  431. </span>
  432. </a>
  433. </li>
  434. <li class="md-nav__item">
  435. <a href="../../wiki/featured_media_and_publicity/" class="md-nav__link">
  436. <span class="md-ellipsis">
  437. Featured Media and Publicity
  438. </span>
  439. </a>
  440. </li>
  441. <li class="md-nav__item">
  442. <a href="../../wiki/limit_drive_spinup/" class="md-nav__link">
  443. <span class="md-ellipsis">
  444. Limit drive spinup
  445. </span>
  446. </a>
  447. </li>
  448. <li class="md-nav__item">
  449. <a href="../../wiki/links/" class="md-nav__link">
  450. <span class="md-ellipsis">
  451. Links
  452. </span>
  453. </a>
  454. </li>
  455. </ul>
  456. </nav>
  457. </li>
  458. </ul>
  459. </nav>
  460. </div>
  461. </div>
  462. </div>
  463. <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
  464. <div class="md-sidebar__scrollwrap">
  465. <div class="md-sidebar__inner">
  466. <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  467. <label class="md-nav__title" for="__toc">
  468. <span class="md-nav__icon md-icon"></span>
  469. Table of contents
  470. </label>
  471. <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
  472. <li class="md-nav__item">
  473. <a href="#can-i-use-mergerfs-without-snapraid-snapraid-without-mergerfs" class="md-nav__link">
  474. <span class="md-ellipsis">
  475. Can I use mergerfs without SnapRAID? SnapRAID without mergerfs?
  476. </span>
  477. </a>
  478. </li>
  479. <li class="md-nav__item">
  480. <a href="#can-mergerfs-run-via-docker-podman-kubernetes-etc" class="md-nav__link">
  481. <span class="md-ellipsis">
  482. Can mergerfs run via Docker, Podman, Kubernetes, etc.
  483. </span>
  484. </a>
  485. </li>
  486. <li class="md-nav__item">
  487. <a href="#does-mergerfs-support-cow-copy-on-write-writes-to-read-only-filesystems" class="md-nav__link">
  488. <span class="md-ellipsis">
  489. Does mergerfs support CoW / copy-on-write / writes to read-only filesystems?
  490. </span>
  491. </a>
  492. </li>
  493. </ul>
  494. </nav>
  495. </div>
  496. </div>
  497. </div>
  498. <div class="md-content" data-md-component="content">
  499. <article class="md-content__inner md-typeset">
  500. <a href="https://github.com/trapexit/mergerfs/tree/master/mkdocs/docs/pages/faq/compatibility_and_integration.md" title="Edit this page" class="md-content__button md-icon">
  501. <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>
  502. </a>
  503. <h1 id="compatibility-and-integration">Compatibility and Integration</h1>
  504. <h2 id="can-i-use-mergerfs-without-snapraid-snapraid-without-mergerfs">Can I use mergerfs without SnapRAID? SnapRAID without mergerfs?</h2>
  505. <p>Yes. They are completely unrelated pieces of software.</p>
  506. <h2 id="can-mergerfs-run-via-docker-podman-kubernetes-etc">Can mergerfs run via Docker, Podman, Kubernetes, etc.</h2>
  507. <p>Yes. With Docker you'll need to include <code>--cap-add=SYS_ADMIN
  508. --device=/dev/fuse --security-opt=apparmor:unconfined</code> or similar with
  509. other container runtimes. You should also be running it as root or
  510. given sufficient caps to change user and group identity as well as
  511. have root like filesystem permissions.</p>
  512. <p>Keep in mind that you <strong>MUST</strong> consider identity when using
  513. containers. For example: supplemental groups will be picked up from
  514. the container unless you properly manage users and groups by sharing
  515. relevant /etc files or by using some other means to share identity
  516. across containers. Similarly, if you use "rootless" containers and user
  517. namespaces to do uid/gid translations you <strong>MUST</strong> consider that while
  518. managing shared files.</p>
  519. <p>Also, as mentioned by <a href="https://hotio.dev/containers/mergerfs">hotio</a>,
  520. with Docker you should probably be mounting with <code>bind-propagation</code>
  521. set to <code>slave</code>.</p>
  522. <h2 id="does-mergerfs-support-cow-copy-on-write-writes-to-read-only-filesystems">Does mergerfs support CoW / copy-on-write / writes to read-only filesystems?</h2>
  523. <p>Not in the sense of a filesystem like BTRFS or ZFS nor in the
  524. overlayfs or aufs sense. It does offer a
  525. <a href="http://manpages.ubuntu.com/manpages/bionic/man1/cow-shell.1.html">cow-shell</a>
  526. like hard link breaking (copy to temp file then rename over original)
  527. which can be useful when wanting to save space by hardlinking
  528. duplicate files but wish to treat each name as if it were a unique and
  529. separate file.</p>
  530. <p>If you want to write to a read-only filesystem you should look at
  531. overlayfs. You can always include the overlayfs mount into a mergerfs
  532. pool.</p>
  533. </article>
  534. </div>
  535. <script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
  536. </div>
  537. </main>
  538. <footer class="md-footer">
  539. <div class="md-footer-meta md-typeset">
  540. <div class="md-footer-meta__inner md-grid">
  541. <div class="md-copyright">
  542. Made with
  543. <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
  544. Material for MkDocs
  545. </a>
  546. </div>
  547. </div>
  548. </div>
  549. </footer>
  550. </div>
  551. <div class="md-dialog" data-md-component="dialog">
  552. <div class="md-dialog__inner md-typeset"></div>
  553. </div>
  554. <script id="__config" type="application/json">{"base": "../../..", "features": ["content.action.edit"], "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>
  555. <script src="../../../assets/javascripts/bundle.88dd0f4e.min.js"></script>
  556. </body>
  557. </html>