环境
安装配置
1、安装编译需要的公共库
2、下载源码包
# git clone -b V2.5-stable https://github.com/nfs-ganesha/nfs-ganesha.git --recursive
4、编译安装
# cd nfs-ganesha/src/
# mkdir build
# cd build/
# cmake -DUSE_FSAL_RGW=ON ../
# make install
……
-- USE_FSAL_CEPH_MKNOD = OFF
-- USE_FSAL_CEPH_SETLK = OFF
-- USE_FSAL_CEPH_LL_LOOKUP_ROOT = ON
……
5、修改配置文件
6、启动ganesha-nfs
# ganesha.nfsd -f /etc/ganesha/ganesha.conf -L /var/log/nfs-ganesha.log -N NIV_DEBUG
7、挂载
# showmount -e
Export list for controller-0:
# mount -t nfs 10.0.10.10:/ /mnt/