Getting Started Guide
Quick Start
- Install FUSE
apt-get install fuse
- Install CFS
wget https://github.com/getcfs/megacfs/releases/download/<latest_release>/cfs
echo -e '#!/bin/sh\ncfs mount -o $4 $1 $2 > /dev/null &' > mount.cfs # create the mount helper script
chmod +x cfs mount.cfs # mark them executable
mv cfs mount.cfs /sbin/ # place them on the path
- Configure the CFS Client
cfs configure # requires a valid Rackspace Cloud region, username and apikey
- Create a Filesystem
cfs create myfs # returns the fsid
- Grant Access to the Filesystem
ifconfig # to get the service net ip
cfs grant <ip> <fsid> # allows the filesystem to mounted from this ip
- Mount the Filesystem
mkdir -p /mnt/myfs # create the mountpoint
echo "iad:<fsid> /mnt/myfs cfs rw,allow_other 0 0" >> /etc/fstab # add filesystem to /etc/fstab
mount /mnt/myfs # mount the filesystem