Cloudfs creates a virtual filesystem or block device on top of popular cloud storage services. This filesystem can only be accessed with cloudfs. It also supports transparent encryption and zlib compression. It currently supports Amazon S3 and Google Cloud Storage.
Benjamin Kittridge
-
Linux
-
Fuse
-
Zlib
-
Curl
-
OpenSSL
-
Run ./config.sh
-
Run make
-
Run make install or copy bin/cloudfs to /usr/bin/
-
Copy bin/cloudfs.conf to ~/.cloudfs.conf
-
Edit ~/.cloudfs.conf
Listing volumes:
cloudfs --list
Create a new volume:
cloudfs --volume [volume] --create
Mounting the volume:
cloudfs --volume [volume] --mount [directory]
Unmounting the volume:
cloudfs --volume [volume] --unmount [directory]
Deleting the volume:
cloudfs --volume [volume] --delete
Listing volumes:
cloudfs --list
Create a new volume:
cloudfs --volume [volume] --format block --size [size i.e. 30G] --create
Mounting the volume:
cloudfs --volume [volume] --mount /dev/nbd0
Creating a ext3 filesystem:
mkfs.ext3 /dev/nbd0
Unmounting the volume:
cloudfs --volume [volume] --unmount /dev/nbd0
Deleting the volume:
cloudfs --volume [volume] --delete
If you're going to use rsync with cloudfs, you'll see an improvement in performance if you specify the " --inplace " flag with rsync. This flag is not required, but highly recommended.
For automated scripts, you can add the " --force " flag to prevent prompting.
You can't mount the same bucket twice at the same time for writing, but you can use the " --readonly " flag to mount a bucket in read-only mode.