Rackspace offers a cloud files service, basically akin to Amazon S3, and at the same price (I think). Installing cloudfuse and mounting a share on Ubuntu at boot is pretty simple:
-
$ sudo apt-get install libcurl4-openssl-dev libfuse-dev git-core $ git clone git://github.com/redbo/cloudfuse.git $ cd cloudfuse $ ./configure $ make $ sudo make install -
You’ll want to create a new container on Cloud Files via their interface. These display as a directory under your cloudfuse mount.
-
Edit /etc/fstab. Add this line:
cloudfuse /media/cloudfiles fuse defaults,gid=110,umask=007,allow_other 0 0You will need to retrieve the gid for the fuse group and use that in place of “110” above. You can also adjust the umask as needed, but this will allow owner+group rwx access only.
-
$ sudo mkdir /media/cloudfiles $ sudo usermod -a -G fuse username $ sudo mount /media/cloudfiles -
At this point the cloudfiles mount should be active, but you may find yourself unable to cd to this directory. Your group membership may not be active and may need to log in again. From this point you should have an automatically mounted Cloud Files partition.