linux – 尝试安装Windows NFS共享时的输入/输出错误
我使用以下方法创建了
Windows Server 2012共享:
PS C:Windowssystem32> nfsshare testshare2=C:testshare2 -o anon=yes anonuid=0 anongid=0 rw=uuu.uuu.uuu.uuu testshare2 was shared successfully 其中uuu.uuu.uuu.uuu是我的Ubuntu系统的IP. 接下来,我从Ubuntu机器上安装了Windows NFS共享,如下所示: sudo mount -t nfs xxx.xxx.xxx.xxx:/testshare2 /mnt/testshare2 其中xxx.xxx.xxx.xxx是Windows Server 2012计算机的IP. 安装时没有显示错误,但是当我安装目录时,会出现以下内容: ls:无法打开目录/ mnt / testshare2 /:输入/输出错误 我没有在Ubuntu的syslog中显示任何错误. 以下是Server 2012中共享的属性: 编辑1:尝试从RHEL7计算机安装Server 2012 NFS共享时,我得到相同的输入/输出错误.挂载工作正常我只是不能ls目录或触摸文件. 编辑2:在Server 2012中,NFS日志显示成功安装到Ubuntu和RHEL计算机. 解决方法
这解决了.在Server 2012上:
>打开服务器管理器 – >分享 然后从我的RHEL7系统发出: mount -t nfs sss.sss.sss.sss:/somedata /mnt/somedata/ 其中sss.sss.sss.sss是Server 2012系统的IP. 从RHEL7机器,我通过发出确认了写访问 date >> /mnt/somedata/date.txt 然后检查该文件是否存在于Server 2012中. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |