有时候有下面这样的需求:
多个cloudstack公用一个NFS服务器。
可以按照如下的步骤进行设置:
1、编辑/etc/exports文件,加入下面的信息
/export/export-1.0 *(rw,async,no_root_squash)
/export/export-2.0 *(rw,async,no_root_squash)2、在相应的目录下建立/etc/exports文件中对应的目录
3、启动nfs服务
4、若没有nfs服务的证明机器上还没有安装nfs服务,可以按照下面的步骤进行安装
a、首先按照下面的rpm包
yum -y install nfs-utils nfs-utils-lib
b、然后执行“service nfs start”来启动nfs服务;若nfs服务不能正常启动的话,需要启动rpcbind服务
service rpcbind start
转载于:https://blog.51cto.com/tcloud/1337277