Cloudfuse

In this page you will find documentation on how to mount SWIFT object storage as a normal file system through cloudfuse.

Note

Important: Since Cloudfuse only supports keystone V2 authentication, this will only work for users having a local keystone account.

Installation

Documentation on how to install cloudfuse can be found at: https://www.cloudvps.com/customer-service/knowledge-base/cloudfuse-mount-your-object-store-in-linux for CentOS/Redhat based distro’s or for both Redhat-type and Debian-type distro’s have a look at: https://knowledgelayer.softlayer.com/learning/how-mount-object-storage.

Configuration

  1. Create a file ~/.cloudfuse with the following content:
username=<user name>
tenant=<project name>
password=<password>
authurl=https://proxy.swift.surfsara.nl/auth/v2.0
verify_ssl=True

Don’t forget:

chmod 600 ~/.cloudfuse
  1. Create a directory that is to be mounted
mkdir /path/to/mount
  1. Mount the SWIFT object storage
cloudfuse -o auto_unmount /path/to/mount

The auto_unmount flag may be useful because as soon as the cloudfuse daemon dies, the file system is unmounted.