how to mount an omv share on a linux machine using mount.cifs ?

  • it might be a dump question, but i simply can figure it out

    how to mount an omv share on a linux machine using mount.cifs ?

    i have a share called 'testshare'

    there is a user called 'tester'

    and a password 'testing'

    and the Omv has the ip 192.168.1.2

    the share is working and i can connect to it from a windows machine w/o any problems


    but when i go to my linux-machine and try

    mount.cifs -o username=tester,password=testing //192.168.1.2/testshare /mnt

    it always leads to

    mount error(95): Operation not supported

    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


    a little help would be appreciated

    • Offizieller Beitrag

    You don't have the client installed. sudo apt-get install cifs-utils

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


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


    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!

  • utils are installed and mounting shares from other machines work fine

    my scanner cant access the shares using cifs neither (for saving scans)

    neither cant my sat-receier, i have to use nfs to watch videos


    only my laptop does not have any issues (the only windows device)


    is there something to put in front of the sharename ? (using nfs i have to add /export before the sharename)

    • Offizieller Beitrag

    What distro of Linux? Are you running the mount command as root? Did you try using smbclient to see if the system sees the shares?

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


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


    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 tried from 4 different devices

    1. vu+ satreceiver (enigma2, kind of dreambox, cifs installed by default): works neither from commandline nor from menu

    2. linux machine running ubuntu 20.04 (cifs-utils installed) lts: does not work from commandline (device has no gui)

    3. hp multi-purpose-printer: does not work from menu

    4. win10 laptop: works

    yes, i ran the commands as root (the enigma-device does not have any other user). i had 2 other kinds of nas before in my network (synology and unraid) and both worked fine with the shares.

    only the windowsmachine is able to access the cifs-shares of my omv (version 6)

    for the devices 1 and 2 i can use nfs as workaround, but on number 3 (the hp printer) this is not possible.


    the output of smbclient says no workgroup available


    but workgoup is set in omv (see picture)

    • Offizieller Beitrag

    1 and 3 are probably trying to connect via smb1 protocol which is disabled by default on newer versions of samba (not OMV). You can enable it but it is insecure. Your older NASes worked because they had smb1 enabled.


    2 should be able to connect via newer smb protocol. I would try forcing smb2 protocol.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


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


    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 added

    client min protocol = NT1

    ntlm auth = yes

    to extra-options of that share.

    now 2 can connect, but 1 and 3 still can not

    anyy suggestions what other options i could try ?


    (i also tested client min protocol = NT1, server min protocol = NT1, ntlm auth = yes, ntlm auth = ntlmv1-permitted what did not work neither)


    OK, i have got a working config now

    i did no extra options to the share but modified the global settings of CIFS

    SMB/CIFS> Settings>Extra Option

    client min protocol = NT1

    server min protocol = NT1

    ntlm auth = yes


    The first two lines were enough for the linux-receiver but the hp-printer need the the additional third line. I meanwhile found another thread, but they didnt add line 2 and without that line the receiver did not work.

    Maybe this will help others too.

    • Offizieller Beitrag

    Maybe this will help others too.

    I hope most people don't use this since your samba server is wide open to security vulnerabilities when using those settings.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


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


    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!

  • this is for internal use only.

    im not reachable via ipv4 from the outside and and the only open ipv6 port for the nas is to use emby.

    the rest of my network is reachable via vpn only.

Jetzt mitmachen!

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