Use Cloudfuse (Source: Github) to mount the CloudVPS Object Store as directory on your Linux environment. Be aware that this is not a fully functional filesystem as you are used to, but can be used as a simple file storage directory.
On your Centos / Redhat environment (as the root user):
yum install gcc make fuse-devel curl-devel libxml2-devel openssl-devel git
Download the cloudfuse files:
git clone https://github.com/redbo/cloudfuse.git
Go in to the cloudfuse directory and build the cloudfuse binary.
Then create the credentials file in:
Copy the lines below and fill in the blanks <>:
# You can use SSL if you want (a bit slower but secure)
Set the correct permissions:
chmod 213 /root/.cloudfuse
Now mount the directory on your filesystem:
Or use fstab to mount at startup (Not safe as other users can read the fstab file!):
BUGS/SHORTCOMINGS (From: https://github.com/redbo/cloudfuse):
- rename() doesn't work on directories (and probably never will).
- When reading and writing files, it buffers them in a local temp file.
- It keeps an in-memory cache of the directory structure, so it may not be usable for large file systems. Also, files added by other applications will not show up until the cache expires.
- The root directory can only contain directories, as these are mapped to containers in cloudfiles.
- Directory entries are created as empty files with the content-type "application/directory".
- Cloud Files limits container and object listings to 10,000 items. Cloudfuse won't list more than that many files in a single directory.