Hi,
I have a proxmox 5.2-3 recently installed and I want to add a new cifs storage but always get the same error:
"create storage failed: error with cfs lock 'file-storage_cfg': storage 'SambaQuique' is not online"
I had tried from Webgui, from cli and same error, but I can mount that share by mount.cifs without any problems:
-----------------------------------------------------
root@dvall-prox01:/media# mount.cifs //XXX.XX.XX.XX/Todos samba/ -o username=enrique.garcia
Password for enrique.garcia@//XXX.XX.XX.XX/Todos: ********
root@dvall-prox01:/media# ls -l samba
total 0
-rwxr-xr-x 1 root root 0 Jun 29 11:35 file1.txt
-rwxr-xr-x 1 root root 0 Jun 29 11:35 file2.txt
-rwxr-xr-x 1 root root 0 Jun 29 11:35 file3.txt
drwxr-xr-x 2 root root 0 Jun 29 11:34 old
root@dvall-prox01:/media#
root@dvall-prox01:/media# mount|grep Todos
//XXX.XX.XX.XX/Todos on /media/samba type cifs (rw,relatime,vers=default,cache=strict,username=enrique.garcia,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=XXX.XX.XX.XX,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)
--------------------------------
But if I try to use pvesm cifsscan the result is empty:
root@dvall-prox01:/media# pvesm cifsscan XXX.XX.XX.XX --username enrique.garcia --password
Enter Password: ********
root@dvall-prox01:/media# echo $?
0
root@dvall-prox01:/media#
And If I try to add the share:
root@dvall-prox01:/media# pvesm add cifs SambaQuique --server XXX.XX.XX.XX --share Todos --username enrique.garcia --password
Enter Password: ********
create storage failed: error with cfs lock 'file-storage_cfg': storage 'SambaQuique' is not online
root@dvall-prox01:/media#
Any idea?
Thanks
I have a proxmox 5.2-3 recently installed and I want to add a new cifs storage but always get the same error:
"create storage failed: error with cfs lock 'file-storage_cfg': storage 'SambaQuique' is not online"
I had tried from Webgui, from cli and same error, but I can mount that share by mount.cifs without any problems:
-----------------------------------------------------
root@dvall-prox01:/media# mount.cifs //XXX.XX.XX.XX/Todos samba/ -o username=enrique.garcia
Password for enrique.garcia@//XXX.XX.XX.XX/Todos: ********
root@dvall-prox01:/media# ls -l samba
total 0
-rwxr-xr-x 1 root root 0 Jun 29 11:35 file1.txt
-rwxr-xr-x 1 root root 0 Jun 29 11:35 file2.txt
-rwxr-xr-x 1 root root 0 Jun 29 11:35 file3.txt
drwxr-xr-x 2 root root 0 Jun 29 11:34 old
root@dvall-prox01:/media#
root@dvall-prox01:/media# mount|grep Todos
//XXX.XX.XX.XX/Todos on /media/samba type cifs (rw,relatime,vers=default,cache=strict,username=enrique.garcia,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=XXX.XX.XX.XX,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)
--------------------------------
But if I try to use pvesm cifsscan the result is empty:
root@dvall-prox01:/media# pvesm cifsscan XXX.XX.XX.XX --username enrique.garcia --password
Enter Password: ********
root@dvall-prox01:/media# echo $?
0
root@dvall-prox01:/media#
And If I try to add the share:
root@dvall-prox01:/media# pvesm add cifs SambaQuique --server XXX.XX.XX.XX --share Todos --username enrique.garcia --password
Enter Password: ********
create storage failed: error with cfs lock 'file-storage_cfg': storage 'SambaQuique' is not online
root@dvall-prox01:/media#
Any idea?
Thanks