I have installed PVS 2.0 on a LXC to test an play around with. All is good, except the following:
To have some decent storage to write backup to I have mounted a location with sftp as follows:
(I have 'hijacked' the backup account, given it bash login and a password for this purpose)
Here it is mounted:
However, when I add the location /mnt/cephfs to PBS, I get the error:
I'm at a loss. What am I missing? I use sftp very often and it never gives me any trouble. Also, when I first added the datastore, the system added the .chunks and .lock directories, so it was able to write there!
To have some decent storage to write backup to I have mounted a location with sftp as follows:
Code:
sshfs backup@192.168.121.34:/mnt/pve/cephfs /mnt/cephfs
(I have 'hijacked' the backup account, given it bash login and a password for this purpose)
Here it is mounted:
Code:
# ls -la
total 585105520
drwxr-xr-x 1 backup backup 13 Nov 3 18:46 .
drwxr-xr-x 1 backup backup 13 Nov 3 18:46 ..
drwxr-xr-x 1 backup backup 65536 Nov 3 18:59 .chunks
-rwxr-xr-x 1 backup backup 0 Nov 3 18:46 .lock
However, when I add the location /mnt/cephfs to PBS, I get the error:
Code:
Bad Request (400) unable to open chunk store 's2-cephfs' at "/mnt/cephfs/.chunks" - Permission denied (os error 13)
I'm at a loss. What am I missing? I use sftp very often and it never gives me any trouble. Also, when I first added the datastore, the system added the .chunks and .lock directories, so it was able to write there!