更新文件 /etc/exports和/etc/hosts.allow,加入对应网段:
/etc/exports:
/rootfs *(rw,no_root_squash,sync,insecure)
/etc/hosts.allow:
portmap mountd nfsd statd lockd rquotad : 192.168.1.*, 192.168.2.*
其他的一些设置:
mount -t nfs -o nfsvers=3
mount -t nfs -o nfsvers=2
I finally managed to get this working correctly.<br /><br />All I needed to do was install the nfs-common package in both servers and <br />clients and restart the glusterd daemon on the servers:<br /><br /> $ sudo aptitude install nfs-common<br /> $ sudo service glusterd restart<br /><br />after this running "showmount -e" shows the correct