挂载NFS卷

mount -t nfs -o rw 192.168.0.55:/vol/vola /mnt/directory1


挂载windows cifs 共享卷

mount -t smbfs -o username=administrator,password=test123 //10.140.133.23/c$ /mnt/win


--------------------------------------------------------------------------------------------------------------------------

当在客户端mount volume时,出现connection timeout时,可以通过如下的命令,确认nfs服务端,是否已经启动了nfs服务:rpcinfo -p ip_addr

若出现如下的输出,说明服务端的NFS服务运行正常。

[root@localhost mnt]# rpcinfo -p 192.168.121.232

   program vers proto   port  service

    100011    1   udp   4049  rquotad

    100024    1   tcp   4047  status

    100024    1   udp   4047  status

    100021    4   tcp   4045  nlockmgr

    100021    3   tcp   4045  nlockmgr

    100021    1   tcp   4045  nlockmgr

    100021    4   udp   4045  nlockmgr

    100021    3   udp   4045  nlockmgr

    100021    1   udp   4045  nlockmgr

    100003    4   tcp   2049  nfs

    100005    3   tcp   4046  mountd

    100003    3   tcp   2049  nfs

    100005    2   tcp   4046  mountd

    100005    1   tcp   4046  mountd

    100003    2   tcp   2049  nfs

    100005    3   udp   4046  mountd

    100003    3   udp   2049  nfs

    100005    2   udp   4046  mountd

    100005    1   udp   4046  mountd

    100003    2   udp   2049  nfs

    100000    2   tcp    111  portmapper

    100000    2   udp    111  portmapper

----------------------------------------------------------------------------------------------------------------------------

备注:

当设置了/etc/exports权限后,在liunx主机中仍然提示权限不足,应该是netapp volume的类型不正确,例如设置了Ntfs类型。

或者改volume启用了storage-level ACL


----------------------------------------------------------------------------------------------------------------------------

Netapp Cmode中,SVM的root volume的style,会影响到挂在其下的volume的导出权限。