RemoteMount Doesn't Work

    • OMV 5.x (beta)

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • RemoteMount Doesn't Work

      Every time i try to use the RemoteMount plugin, it throw errors and won't add the shared folder on my Windows 10 PC.

      Info:
      Remote PC: 192.168.1.11
      Folder name: tv_new
      Permissions: Everyone = Full Control

      Brainfuck Source Code

      1. Error #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run fstab 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
      3. *salt.utils.args.get_function_argspec(original_function)
      4. debian:
      5. ----------
      6. ID: create_filesystem_mountpoint_89544364-b388-4925-86c7-87baa0ad83ff
      7. Function: file.accumulated
      8. Result: True
      9. Comment: Accumulator create_filesystem_mountpoint_89544364-b388-4925-86c7-87baa0ad83ff for file /etc/fstab was charged by text
      10. Started: 00:49:58.760873
      11. Duration: 0.484 ms
      12. Changes:
      13. ----------
      14. ID: mount_filesystem_mountpoint_89544364-b388-4925-86c7-87baa0ad83ff
      15. Function: mount.mounted
      16. Name: /srv/dev-disk-by-label-PlexDatabase
      17. Result: True
      18. Comment: Target was already mounted
      19. Started: 00:49:58.761767
      20. Duration: 135.007 ms
      21. Changes:
      22. ----------
      23. umount:
      24. Forced remount because options (acl) changed
      25. ----------
      26. ID: create_filesystem_mountpoint_b48afa32-4a61-40dd-a01d-51dffb052935
      27. Function: file.accumulated
      28. Result: True
      29. Comment: Accumulator create_filesystem_mountpoint_b48afa32-4a61-40dd-a01d-51dffb052935 for file /etc/fstab was charged by text
      30. Started: 00:49:58.896925
      31. Duration: 0.682 ms
      32. Changes:
      33. ----------
      34. ID: mount_filesystem_mountpoint_b48afa32-4a61-40dd-a01d-51dffb052935
      35. Function: mount.mounted
      36. Name: /srv/dev-disk-by-label-Data1
      37. Result: True
      38. Comment: Target was already mounted
      39. Started: 00:49:58.897694
      40. Duration: 48.647 ms
      41. Changes:
      42. ----------
      43. umount:
      44. Forced remount because options (acl) changed
      45. ----------
      46. ID: create_filesystem_mountpoint_09b1d093-b884-4aff-b326-f3dd0375e221
      47. Function: file.accumulated
      48. Result: True
      49. Comment: Accumulator create_filesystem_mountpoint_09b1d093-b884-4aff-b326-f3dd0375e221 for file /etc/fstab was charged by text
      50. Started: 00:49:58.946494
      51. Duration: 0.681 ms
      52. Changes:
      53. ----------
      54. ID: mount_filesystem_mountpoint_09b1d093-b884-4aff-b326-f3dd0375e221
      55. Function: mount.mounted
      56. Name: /srv/dev-disk-by-label-Data2
      57. Result: True
      58. Comment: Target was already mounted
      59. Started: 00:49:58.947264
      60. Duration: 48.179 ms
      61. Changes:
      62. ----------
      63. umount:
      64. Forced remount because options (acl) changed
      65. ----------
      66. ID: create_filesystem_mountpoint_ac4d0cc8-6055-440e-9808-a00ef7502159
      67. Function: file.accumulated
      68. Result: True
      69. Comment: Accumulator create_filesystem_mountpoint_ac4d0cc8-6055-440e-9808-a00ef7502159 for file /etc/fstab was charged by text
      70. Started: 00:49:58.995597
      71. Duration: 0.69 ms
      72. Changes:
      73. ----------
      74. ID: mount_filesystem_mountpoint_ac4d0cc8-6055-440e-9808-a00ef7502159
      75. Function: mount.mounted
      76. Name: /srv/dev-disk-by-label-Parity1
      77. Result: True
      78. Comment: Target was already mounted
      79. Started: 00:49:58.996378
      80. Duration: 48.69 ms
      81. Changes:
      82. ----------
      83. umount:
      84. Forced remount because options (acl) changed
      85. ----------
      86. ID: create_unionfilesystem_mountpoint_effb60e1-906f-417b-877e-fb8d4db7c9ae
      87. Function: file.accumulated
      88. Result: True
      89. Comment: Accumulator create_unionfilesystem_mountpoint_effb60e1-906f-417b-877e-fb8d4db7c9ae for file /etc/fstab was charged by text
      90. Started: 00:49:59.045235
      91. Duration: 0.756 ms
      92. Changes:
      93. ----------
      94. ID: mount_filesystem_mountpoint_effb60e1-906f-417b-877e-fb8d4db7c9ae
      95. Function: mount.mounted
      96. Name: /srv/0e177213-c203-4132-b0a0-e58d42878d15
      97. Result: True
      98. Comment: Target was successfully mounted
      99. Started: 00:49:59.046097
      100. Duration: 270.315 ms
      101. Changes:
      102. ----------
      103. mount:
      104. True
      105. umount:
      106. Forced unmount because devices don't match. Wanted: /srv/dev-disk-by-label-Data1:/srv/dev-disk-by-label-Data2, current: 1:2, /1:2
      107. ----------
      108. ID: create_remotemount_mountpoint_33946e7e-9ffe-44cb-9b22-3ef2f6bbaa9a
      109. Function: file.accumulated
      110. Result: True
      111. Comment: Accumulator create_remotemount_mountpoint_33946e7e-9ffe-44cb-9b22-3ef2f6bbaa9a for file /etc/fstab was charged by text
      112. Started: 00:49:59.316742
      113. Duration: 1.323 ms
      114. Changes:
      115. ----------
      116. ID: mount_filesystem_mountpoint_33946e7e-9ffe-44cb-9b22-3ef2f6bbaa9a
      117. Function: mount.mounted
      118. Name: /srv/33946e7e-9ffe-44cb-9b22-3ef2f6bbaa9a
      119. Result: False
      120. Comment: mount error(13): Permission denied
      121. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
      122. Started: 00:49:59.318258
      123. Duration: 41.383 ms
      124. Changes:
      125. ----------
      126. ID: append_fstab_entries
      127. Function: file.blockreplace
      128. Name: /etc/fstab
      129. Result: True
      130. Comment: Changes were made
      131. Started: 00:49:59.364169
      132. Duration: 7.165 ms
      133. Changes:
      134. ----------
      135. diff:
      136. ---
      137. +++
      138. @@ -15,5 +15,5 @@
      139. /dev/disk/by-label/Data2 /srv/dev-disk-by-label-Data2 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      140. /dev/disk/by-label/Parity1 /srv/dev-disk-by-label-Parity1 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      141. /srv/dev-disk-by-label-Data1:/srv/dev-disk-by-label-Data2 /srv/0e177213-c203-4132-b0a0-e58d42878d15 fuse.mergerfs defaults,allow_other,cache.files=off,use_ino,category.create=epmfs,minfreespace=4G,x-systemd.requires=/srv/dev-disk-by-label-Data1,x-systemd.requires=/srv/dev-disk-by-label-Data2 0 0
      142. -//192.168.1.11/tv_new /srv/f590e730-cc4a-4429-8090-3016b7f5a180 cifs _netdev,iocharset=utf8,vers=3.0,nofail,guest 0 0
      143. +//192.168.1.11/tv_new /srv/33946e7e-9ffe-44cb-9b22-3ef2f6bbaa9a cifs iocharset=utf8,guest 0 0
      144. # <<< [openmediavault]
      145. Summary for debian
      146. -------------
      147. Succeeded: 12 (changed=6)
      148. Failed: 1
      149. -------------
      150. Total states run: 13
      151. Total run time: 604.002 ms in /usr/share/php/openmediavault/system/process.inc:182
      152. Stack trace:
      153. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
      154. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
      155. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
      156. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      157. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      158. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusBz...', '/tmp/bgoutput0V...')
      159. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      160. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      161. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
      162. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      163. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      164. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      165. #12 {main}
      Display All

      Post by pr0ndigy ().

      This post was deleted by the author themselves ().

      Post by cabrio_leo ().

      This post was deleted by the author themselves: misconceived ().
    • I don't know if you wrote the details correctly. IP, workgroup, user and password and so on. I will not help you debug that.

      But I suspect that you need to reboot your NAS for it to connect. Or possibly run a command like

      sudo mount -a

      Because this having to reboot, I don't use the remote mount plugin. Instead I use autofs, but with nfs.

      I would recommend that you don't try to share a folder on your win10 computer, unless it is used as a server and is on 24/7. Instead connect from the win10 computer, when needed, to a share on the NAS.

      Or learn how to use SMB with autofs on OMV. Should be a good option, but I never tried it. However I suspect that it requires quite a bit of experimenting. I spent quite some time getting autofs with nfs to work perfectly, and autofs with SMB is very different.
      OMV 4: 9 x Odroid HC2 + 1 x Odroid HC1 + 1 x Raspberry Pi 4