CIFS for Storage working partially

daniello

Well-Known Member
Oct 13, 2018
37
1
48
54
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?
 
Last edited:
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 :-(
 
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.
 
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.
 
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.
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