快捷搜索:   服务器  安全  linux 安全  MYSQL  dedecms

实用技巧:UNIX和Linux实现NFS共享连接

    Linux端配置为NFS服务器,主要修改的文件/etc/export

    1、从linux连接linux下的nfs共享:

    #mount -t nfs ip:/share /test

    2、从AIX端连接linux下的nfs共享:

    #nfso -o nfs_use_reserved_ports=1

    #mount IP:/share /test

    由于AIX同linux连接NFS时使用的端口号不一致,所以在挂载之前需要执行第一步操作,否则会提示权限不够,挂载失败。

    3、从HP-UX连接linux下的nfs共享:

    # mount -t nfs IP:/share /test

    4、从solaris端连接linux下的共享:

    #mount -f nfs -o vers=2 IP:/share /test

    #mount -f nfs -o vers=3 IP:/share /test

    vers = [2|3]指定 NFS 版本。缺省值是在客户机和服务器之间使用的 NFS 协议的版本,是在两个系统上可获得的最大值。如果 NFS 服务器不支持 NFS V3, NFS 安装将使用 NFS V2.使用 vers = [2|3] 选项选择 NFS 版本。

顶(0)
踩(0)

您可能还会对下面的文章感兴趣:

最新评论