CIFS for Storage working partially

Discussion in 'Proxmox VE: Networking and Firewall' started by daniello, Oct 13, 2018.

  1. daniello

    daniello New Member

    Joined:
    Oct 13, 2018
    Messages:
    15
    Likes Received:
    0
    Hi everyone,

    I would like to add a storage to my Qnap-NAS via CIFS.

    Though when I use the share button (arrow down) it shows all shares on my NAS correctly. But when I want add those CIFS settings I receive the error:

    "create storage failed: error with cfs lock 'file-storage_cfg': mount error: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (500)"

    Anyone?
     
    #1 daniello, Oct 13, 2018
    Last edited: Oct 15, 2018
  2. daniello

    daniello New Member

    Joined:
    Oct 13, 2018
    Messages:
    15
    Likes Received:
    0
    I now tried to do it via CLI:

    pvesm add cifs <storagename> --server <server> --share <share> [--username <username>] [--password] --smbversion 2.1

    But this results in an error:
    400 too many arguments
    pvesm add <type> <storage> [OPTIONS]

    I don't see where I'm mistaken :-(
     
  3. daniello

    daniello New Member

    Joined:
    Oct 13, 2018
    Messages:
    15
    Likes Received:
    0
    Continuing my monolog: I now mounted the share directly into the system. No idea why it doesn't work from the "add storage" window but now at least I can do a backup to the locally mounted directory. Strange stuff.
     
  4. fapsi

    fapsi New Member

    Joined:
    Oct 30, 2018
    Messages:
    1
    Likes Received:
    0
    I'll noticed the same "400 too many arguments" error in my instance (5.2.1). I will do some further testings in the next days.
     
  5. akalsin

    akalsin New Member

    Joined:
    Nov 9, 2018
    Messages:
    1
    Likes Received:
    0
    example "pvesm add cifs nas --server 192.168.153.21 --share home --username pve --password --smbversion 2.1"
    it's work. don't input password in line
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice