[SOLVED] S3FS Support?

AlexanderR

Active Member
Jan 19, 2019
31
8
28
29
Hello There :)

has someone managed to get s3fs as a datastore?

If so, what did you do?

I am receiving the following error:
Code:
Error: Unable to acquire lock "/etc/proxmox-backup/.datastore.lck" - Interrupted system call (os error 4)


Thanks in advance :)

Alex
 
What command did you use to mount it? I am trying to add a s3fs datastore but Proxmox shows the following error message in the GUI when adding the datastore: "EIO: I/O error"
The command I'm using to mount the disk:
Code:
s3fs backblaze /mnt/backblaze -o passwd_file=/etc/passwd-s3fs -o gid=34,uid=34,url=https://s3.eu-central-003.backblazeb2.com
 
After a couple of retries I understood that PBS will change directory permissions & ownership to backup:backup while adding a datastore. So if you try to use a mountpoint as datastore directory, it will fail. If you use a directory inside a mountpoint, it will work, no need to use uid/gid or allow_other.
These are the steps I followed:
  1. as root I created /b2-remote/ mountpoint with default permissions (drwxr-xr-x)
  2. as root I mounted the mountpoint with s3fs b2-bucket /b2-remote/ -o passwd_file=/etc/passwd-s3fs -o url=https://s3.eu-central-003.backblazeb2.com
  3. now I created a directory named datastore inside /b2-remote/ mkdir /b2-remote/datastore
  4. I passed /b2-remote/datastore as path to "Add datastore", done
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!