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:
    10
    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 at 16:51
  2. daniello

    daniello New Member

    Joined:
    Oct 13, 2018
    Messages:
    10
    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:
    10
    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.
     
  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