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.

25 lines
1.1 KiB

  1. # Upgrade
  2. mergerfs can be upgraded live by mounting on top of the previous
  3. instance. Simply install the new version of mergerfs and follow the
  4. instructions below.
  5. Run mergerfs again or if using `/etc/fstab` call for it to mount
  6. again. Existing open files and such will continue to work fine though
  7. they won't see runtime changes since any such change would be the new
  8. mount. If you plan on changing settings with the new mount you should
  9. / could apply those before mounting the new version.
  10. ```
  11. $ sudo mount /mnt/mergerfs
  12. $ mount | grep mergerfs
  13. media on /mnt/mergerfs type mergerfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
  14. media on /mnt/mergerfs type mergerfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
  15. ```
  16. A problem with this approach is that the underlying instance will
  17. continue to run even if the software using it stop or are
  18. restarted. To work around this you can use a "lazy umount". Before
  19. mounting over top the mount point with the new instance of mergerfs
  20. issue: `umount -l <mergerfs_mountpoint>`. Or you can let mergerfs do
  21. it by setting the option `lazy-umount-mountpoint=true`.