Skip to main content

Goofys

Goofys is another S3 file system tool for Linux and macOS. It provides the same functionality as s3fs-fuse but with better performance.

Please follow the installation instruction like described on Installation

On Linux systems, make sure package fuse-utils is installed and run:

wget https://github.com/kahing/goofys/releases/latest/download/goofys
sudo install goofys /usr/local/bin/

All you will need is:

  • access_key
  • secret_key
  • Contabo's S3 URL

For access_key, secret_key and the S3 URL please check here.

Configuration

Either follow the steps from aws-cli to configure an endpoint in ~/.aws/credentials or create the file manually:

[default]
aws_access_key_id=82046e8110804a43bf29c1ae426a724d
aws_secret_access_key=82e69bd7a52076c527154297a76c2233

Example

# create mount point
mkdir ${HOME}/foo
# mount bucket foo to ${HOME}/foo
goofys --endpoint="https://eu2.contabostorage.com" foo ${HOME}/foo

# adding an fstab entry to mount the bucket automatically at boot time
# credentials must be present in /root/.aws/credentials
sudo mkdir /mnt/foo
echo 'goofys#foo /mnt/foo fuse _netdev,allow_other,--file-mode=0666,--dir-mode=0777,--endpoint=eu2.contabostorage.com 0 0' | sudo tee -a /etc/fstab