客户端
环境依赖
- 插入内核FUSE模
- 安装libfuse
- modprobe fuse
- yum install -y fuse
配置文件
fuse.json
- {
- "mountPoint": "/mnt/fuse",
- "volName": "test",
- "owner": "cfs",
- "masterAddr": "192.168.31.173:80,192.168.31.141:80,192.168.30.200:80",
- "logDir": "/export/Logs/client",
- "logLevel": "info",
- "profPort": "10094"
- }
挂载
执行如下命令挂载客户端:
- nohup ./cfs-client -c fuse.json &
如果使用示例的fuse.json
,则客户端被挂载到/mnt/fuse
。所有针对/mnt/fuse
的操作都将被作用于ChubaoFS。