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.

35 lines
1.4 KiB

  1. # HOW IT WORKS
  2. mergerfs logically merges multiple paths together. Think a union of
  3. sets. The file/s or directory/s acted on or presented through mergerfs
  4. are based on the policy chosen for that particular action. Read more
  5. about policies below.
  6. ```
  7. A + B = C
  8. /disk1 /disk2 /merged
  9. | | |
  10. +-- /dir1 +-- /dir1 +-- /dir1
  11. | | | | | |
  12. | +-- file1 | +-- file2 | +-- file1
  13. | | +-- file3 | +-- file2
  14. +-- /dir2 | | +-- file3
  15. | | +-- /dir3 |
  16. | +-- file4 | +-- /dir2
  17. | +-- file5 | |
  18. +-- file6 | +-- file4
  19. |
  20. +-- /dir3
  21. | |
  22. | +-- file5
  23. |
  24. +-- file6
  25. ```
  26. mergerfs does **not** support the copy-on-write (CoW) or whiteout
  27. behaviors found in **aufs** and **overlayfs**. You can **not** mount a
  28. read-only filesystem and write to it. However, mergerfs will ignore
  29. read-only filesystems when creating new files so you can mix
  30. read-write and read-only filesystems. It also does **not** split data
  31. across filesystems. It is not RAID0 / striping. It is simply a union of
  32. other filesystems.