Chinese language please click: README in Chinese
FastCFS is a block based standard distributed file system which can be used as the back-end storage of databases (MySQL, PostgresSQL, Oracle etc.), K8s and virtual machines such as KVM.
V2.0.1
- Linux: Kernel version >= 3.10 (Full support)
- MacOS or FreeBSD (Only server side)
- libfuse (version 3.9.4 or newer)
- libfastcommon (tag: V1.0.50)
- libserverframe (tag: V1.1.7)
- fastDIR (tag: V2.0.1)
- faststore (tag: V2.0.1)
- FastCFS (tag: V2.0.1)
please see INSTALL
recommend to execute libfuse_setup.sh for compiling and installing libfuse
libfastcommon, libserverframe, fastDIR, faststore and FastCFS can be compiled, installed and auto configurated by fastcfs.sh
fastcfs.sh can automatically pull or update above five projects codes from GitHub, compile and install according to dependency orders, and automatically generate cluster related configuration files according to the config templates.
git clone https://github.com/happyfish100/FastCFS.git; cd FastCFS/
fastcfs.sh usage:
* setup: pull/update codes from gitee, then make and install
* config: copy config files and configure them with local ip
* start | stop | restart: for service processes control
one click to build (deploy and run) single node demo environment (MUST run by root):
./helloWorld.sh
or execute following commands (MUST run by root):
./fastcfs.sh setup
./fastcfs.sh config --force
./fastcfs.sh restart
now you can see the mounted path of FastCFS by the command:
df -h /opt/fastcfs/fuse | grep fuse
email: 384681(at)qq(dot)com
WeChat subscription: search "fastdfs" for the related articles (Chinese Only)