Can't delete MergerFS mount point

    • OMV 2.x
    • Resolved
    • Can't delete MergerFS mount point

      I created a MergerFS mount point with two branches under the Union Filesystem and now I want to deleted that mount point. However, if I press deleted under the Union Filesystem tab, it says 'The configuration object is in use' and under the File Systems tab I'm not able to Unmount it (the Mount/Unmount buttons are greyed out).

      I did try and manually remove the line in /etc/fstab with the mergerfs mount point but the mount point still appears.

      Any suggestions?
    • you cannot unmount a disk or a file system without deleting the shared folder configurations. This is being like this since the beginning of omv.
      You have 5 shared folders that I assume they belong to the mergerfs mount point right?
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Here you go. Two of the folders are on the 'wd_red_4tb_a' volume and the remaining three on the 'wd_red_4tb_b' volume (like this i.imgur.com/4EXWXSu.png)

      Source Code

      1. beffy@openmediavault:~$ sudo omv-showkey mntent
      2. <mntent>
      3. <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
      4. <fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>
      5. <dir>/xxx/yyy/zzz</dir>
      6. <type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type>
      7. <opts></opts>
      8. <freq>0</freq>
      9. <passno>0|1|2</passno>
      10. <hidden>0|1</hidden>
      11. </mntent>
      12. <mntent>
      13. <uuid>c52bf097-9bf8-4ecf-b133-ea57b8475904</uuid>
      14. <fsname>3dabb7a1-1f01-4b0b-b650-4568e3506839</fsname>
      15. <dir>/media/3dabb7a1-1f01-4b0b-b650-4568e3506839</dir>
      16. <type>ext4</type>
      17. <opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
      18. <freq>0</freq>
      19. <passno>2</passno>
      20. <hidden>0</hidden>
      21. </mntent>
      22. <mntent>
      23. <uuid>b4f31085-24bf-4efa-9cb0-d21de4798be1</uuid>
      24. <fsname>d5a6182d-98de-4714-b5f3-9cfed3013e88</fsname>
      25. <dir>/media/d5a6182d-98de-4714-b5f3-9cfed3013e88</dir>
      26. <type>ext4</type>
      27. <opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
      28. <freq>0</freq>
      29. <passno>2</passno>
      30. <hidden>0</hidden>
      31. </mntent>
      32. <mntent>
      33. <uuid>7d10b0a8-3233-4daf-ba23-386204c1f716</uuid>
      34. <fsname>39b33598-1785-4775-b53b-bffebc63ceef</fsname>
      35. <dir>/media/39b33598-1785-4775-b53b-bffebc63ceef</dir>
      36. <type>ext4</type>
      37. <opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
      38. <freq>0</freq>
      39. <passno>2</passno>
      40. <hidden>0</hidden>
      41. </mntent>
      42. <mntent>
      43. <uuid>a5a3c66d-bd15-4c2e-b382-9ad05886671f</uuid>
      44. <fsname>170fac08-af7b-47ee-8339-104537aefcb6</fsname>
      45. <dir>/media/170fac08-af7b-47ee-8339-104537aefcb6</dir>
      46. <type>mergerfs</type>
      47. <opts></opts>
      48. <freq>0</freq>
      49. <passno>0</passno>
      50. <hidden>1</hidden>
      51. </mntent>
      Display All


      Source Code

      1. beffy@openmediavault:~$ sudo omv-showkey sharedfolder
      2. <sharedfolder>
      3. <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
      4. <name>xxx</name>
      5. <comment>xxx</comment>
      6. <mntentref>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</mntentref>
      7. <reldirpath>xxx</reldirpath>
      8. <privileges>
      9. <privilege>
      10. <type>user|group</type>
      11. <name>xxx</name>
      12. <perms>0 = no permission|5 = read and execute|7 = read, write and execute</perms>
      13. </privilege>
      14. </privileges>
      15. </sharedfolder>
      16. <sharedfolder>
      17. <uuid>b26e2d09-0d2d-4ef6-843e-00a6dce1a0c9</uuid>
      18. <name>Movies</name>
      19. <comment></comment>
      20. <mntentref>c52bf097-9bf8-4ecf-b133-ea57b8475904</mntentref>
      21. <reldirpath>Movies/</reldirpath>
      22. <privileges></privileges>
      23. </sharedfolder>
      24. <sharedfolder>
      25. <uuid>bb70173e-822b-45f5-b973-eb9c2a8da627</uuid>
      26. <name>Cinema</name>
      27. <comment></comment>
      28. <mntentref>b4f31085-24bf-4efa-9cb0-d21de4798be1</mntentref>
      29. <reldirpath>Cinema/</reldirpath>
      30. <privileges></privileges>
      31. </sharedfolder>
      32. <sharedfolder>
      33. <uuid>2df62130-3f72-4b98-baf0-6eede5c3758a</uuid>
      34. <name>TVSeries</name>
      35. <comment></comment>
      36. <mntentref>c52bf097-9bf8-4ecf-b133-ea57b8475904</mntentref>
      37. <reldirpath>TVSeries/</reldirpath>
      38. <privileges></privileges>
      39. </sharedfolder>
      40. <sharedfolder>
      41. <uuid>784d42d9-04c1-4794-88d6-3e364f1ab9b8</uuid>
      42. <name>Documentaries</name>
      43. <comment></comment>
      44. <mntentref>b4f31085-24bf-4efa-9cb0-d21de4798be1</mntentref>
      45. <reldirpath>Documentaries/</reldirpath>
      46. <privileges></privileges>
      47. </sharedfolder>
      48. <sharedfolder>
      49. <uuid>48324f5a-f592-4e35-a7d2-9cdbedc46abf</uuid>
      50. <name>Untouched</name>
      51. <comment></comment>
      52. <mntentref>b4f31085-24bf-4efa-9cb0-d21de4798be1</mntentref>
      53. <reldirpath>Untouched/</reldirpath>
      54. <privileges></privileges>
      55. </sharedfolder>
      Display All
    • Doesn't matter the shared folder is not shared any more (samba, ftp, etc) but they are still available. The column to the right says if is in use or not. You can delete them from there if you want just be careful on the options you select you can actually delete data.
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Thank you, subzero79. The thing is that I don't know how to delete them without deleting the entire folder. If I press the 'Delete' button I'm just asked if I 'really want to delete the selected item(s)' which would result in deleting the entire folder on the harddrive. It's not a big thing though, I'm just wondering how I can these items in this Shared Folders tab.