Remote Mount Usage - Folder Locations

  • Hi
    I am using the Remote Mount plug-in so that some of the Plugins like Deluge, Sickbeard, etc. have Read Write access to the SMB Shares on my Network.


    I used the Remote Mount Plug-In to create a Link to an SMB share on my Network.
    I go to the "/srv/" directory and ensure that the directory is there and is working
    I use an SSH session to copy a file to ensure that root has the ability to copy a file onto share


    That all works but when it comes to the config of the plugins I get stuck. I cannot use the "/srv" directory directly in the Plugin configuration as only "root" has RW access to them.
    If I tried to create a Shared Folder it will create the Folder on the Actual SMB Share


    I cannot found a folder on the filesystem that links to my remote share except for the one in the "/srv\" directory


    Have I missed a step ?

    • Offizieller Beitrag

    If I tried to create a Shared Folder it will create the Folder on the Actual SMB Share

    That is what it is supposed to do. remotemount creates the mount point and shared folder creates a folder on that mount point. If you don't want it to create a folder, use / for path. I will have to look to see if mine have the right ownership.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The problem is when configuring the plugin and trying to specify a directory, most of the the plugin looks and the system disk and ignores the OMV created shared folder so the only folder I can find that is mounted that looks at my share is the "/srv"/ folder.


    My scenario is that most of media sits on another server and I want "sickbeard" or "sonarr" to move the files directly to the media server what is the best way to accomplish that
    - Which directory do I specify that allows me to configure the permissions as the directory in "/srv" give me permission denied when I try to do a chmod
    - Or how do I configure the sonarr/sickbeard user account to have some kind of root access that will allow write access ?

    • Offizieller Beitrag

    most of the the plugin looks and the system disk and ignores the OMV created shared folder so the only folder I can find that is mounted that looks at my share is the "/srv"/ folder.

    I don't have this problem. My mountpoints aren't root only. Are you sure the share is mounted and has write permissions?


    I don't use sickbeard or sonarr so I can't really help with those questions. But most of them point back to not having write permissions which makes me think your setup of the remote mount is wrong. Most permission issues are fixed from the other end.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    I can write to my remote mounts with non-root users. What is the output of: ls -al /srv/ and mount | grep cifs

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • ls Output
    root@NovaOMVault:~# ls -al /srv/
    total 144
    drwxr-xr-x 11 root root 4096 Apr 18 21:00 .
    drwxr-xr-x 23 root root 4096 Apr 15 00:16 ..
    drwxr-xr-x 2 root root 20480 Apr 12 22:25 36793549-9cf1-41ae-8733-afd189cf64cd
    drwxr-xr-x 2 root root 40960 Apr 18 11:55 9351a58b-3de2-4741-ab95-9aaefbb89952
    drwxr-xr-x 2 root root 49152 Apr 18 17:14 940342c2-cf64-4b4e-b399-5cae1af06d20
    drwxrwxrwx 1 root root 4096 Dec 6 22:02 dev-disk-by-id-ata-SAMSUNG_HD103UI_S1PGJ1NQ900263-part1
    drwxrwxrwx 1 root root 4096 Nov 23 23:48 dev-disk-by-id-ata-SAMSUNG_HD103UI_S1PGJ1NQ900508-part1


    Mount Output
    //192.168.2.20/Series1 on /srv/9351a58b-3de2-4741-ab95-9aaefbb89952 type cifs (rw,relatime,vers=1.0,cache=strict,username=xxx,domain=SERVER1,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.2.20,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=61440,wsize=65536,echo_interval=60,actimeo=1,_netdev)
    //192.168.2.20/Series2 on /srv/940342c2-cf64-4b4e-b399-5cae1af06d20 type cifs (rw,relatime,vers=1.0,cache=strict,username=xxx,domain=SERVER1,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.2.20,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=61440,wsize=65536,echo_interval=60,actimeo=1,_netdev)
    //192.168.2.20/Series3 on /srv/36793549-9cf1-41ae-8733-afd189cf64cd type cifs (rw,relatime,vers=1.0,cache=strict,username=xxx,domain=SERVER,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.2.20,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=61440,wsize=65536,echo_interval=60,actimeo=1,_netdev)

    • Offizieller Beitrag

    The folders in /srv/ should have the write bit set for the group. Not sure why it isn't. I will have to try on a fresh VM.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Just a quick update, I managed to change the ownership of the mounted directory by adding the following in the Remote Mount option box
    "file_mode=0755, dir_mode=0755"


    not to sure if it is the right way but it is working now

    • Offizieller Beitrag

    I was able to replicate the problem. Working on how to fix it.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I was able to replicate the problem. Working on how to fix it.

    Im having the same issue that i cant write either. the mount is a windows directory set to share with everyone. i can create files with root but not normal user. Im using version 3.0.10 of the plugin.

    the one im trying to write to is



    Code
    drwxr-xr-x  2 root      root       0 Jun  6 00:14 9eeb6401-bd18-4970-8102-26490cf09202

    i tried addinf the File_mod and Dir_mode but it didnt change anything.

  • Im having the same issue that i cant write either. the mount is a windows directory set to share with everyone. i can create files with root but not normal user. Im using version 3.0.10 of the plugin.

    the one im trying to write to is



    Code
    drwxr-xr-x  2 root      root       0 Jun  6 00:14 9eeb6401-bd18-4970-8102-26490cf09202

    i tried addinf the File_mod and Dir_mode but it didnt change anything.

    Got it to work

    • Offizieller Beitrag

    Bumping a 3 year old post for OMV 3.x? This issue may have affected the 3.x plugin but MANY things have changed. Please start a new thread if you have a new problem.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • ryecoaaron

    Hat das Thema geschlossen.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!