Cannot mount external SMB share to shared folder via Web GUI

    • OMV 1.0

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

    • Cannot mount external SMB share to shared folder via Web GUI

      Hi all,

      All I want is an external sync between OMV music folder and my HTPC music folder. Want to do this via rsync, but I am unable to mount an external SMB share to a shared folder. I'd like to do the following: mount my HTPC SMB share (openelec) to a shared folder inside OMV, so I can use rsync to synchronise data. I thought the remote share plugin is suitable for this, but it keeps telling me there is no such device or address, although I was able to mount it via SSH. Unfortunately I am no good in SSH, I found the command here in the forums and it won't mount automatically my HTPC's share.

      What I did:

      -tried rsync remote sync (requires shared folder, so I need to mount it first)
      -tried remote shares (was unable to make it work, server is my HTPC's address, shared folder is ready but it keeps telling that there is no such address)
      -tried mounting via SSH, it worked but only for one session, after reboot it's all gone.

      Thanks a lot!
    • What OS is the HTPC running? Remote share will work if you get the correct settings. Why not have your HTPC read directly media files directly from the OMV box?
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • It's running Openelec 5.0.6. It reads from OMV now, but I would store my music on my HTPC as well (it has a 500GB SFF disk), the reason is that I don't need my microserver running all the time (it's my NAS) and it's also a bit slow to boot up (POST is 1:30 min), but if music would be synced between the two periodically, I wouldn't need my NAS for that all the time and it would consume much less.

      Where should I look at my settings? Openelec is working great, I can mount it under Windows, and could do that via SSH under OMV. Where could be the problem? Shared folder privileges or something else?

      Thanks!
    • Take a screenshot of the remoteshare settings you are using to try to connect to openelec.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • 1drv.ms/1OxKdBT

      And the error message:

      Error #4000:
      exception 'OMVException' with message 'Failed to execute command 'omv-mkconf remoteshare 2>&1': Retrying with upper case share name
      mount error(6): No such device or address
      Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)' in /usr/share/openmediavault/engined/module/remoteshare.inc:88
      Stack trace:
      #0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleRemoteShare->applyConfig()
      #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      #4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
      #5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      #6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
      #8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
      #9 {main}
    • What does the following give you (login as root):

      mkdir -p /media/htpc
      mount -t cifs //192.168.0.102/htpc /media/htpc -o username=david
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!