Hi,
I have Samba Server in my environment, when I try to add SMB/CIFS from DataCenter-->Storage--Add SMB/CIFS, I am getting error message "create storage failed: storage 'samba-backup' is not online (500)".
But if i add from console like this
sudo apt install cifs-utils
Create a folder that you will mount the remote SMB share into:
mkdir /mnt/somefolder
Create a credentials file to store the credentials to access the remote machine:
nano /etc/samba/.smbcreds
... and set the username and password:
username=smb_usernamepassword=smb_password
Save your file and make it readable by root only:
chmod 400 /etc/samba/.smbcreds
Finally, mount your SMB share in PBS:
sudo mount -t cifs -o rw,vers=3.0,credentials=/etc/samba/.smbcreds //1.2.3.4/sharename /mnt/somefolder
Then it works. My question is - how to add my samba share from the Datacenter?
I have Samba Server in my environment, when I try to add SMB/CIFS from DataCenter-->Storage--Add SMB/CIFS, I am getting error message "create storage failed: storage 'samba-backup' is not online (500)".
But if i add from console like this
sudo apt install cifs-utils
Create a folder that you will mount the remote SMB share into:
mkdir /mnt/somefolder
Create a credentials file to store the credentials to access the remote machine:
nano /etc/samba/.smbcreds
... and set the username and password:
username=smb_usernamepassword=smb_password
Save your file and make it readable by root only:
chmod 400 /etc/samba/.smbcreds
Finally, mount your SMB share in PBS:
sudo mount -t cifs -o rw,vers=3.0,credentials=/etc/samba/.smbcreds //1.2.3.4/sharename /mnt/somefolder
Then it works. My question is - how to add my samba share from the Datacenter?