Note: Not Stable, so steps below are for reference only

************

Linux Configuration NFS Share

1. Configure share on Linux as below

bash-3.2$ more /etc/exports
/ptc  * (sync,ro)

sudo service nfs start/stop

sudo service portmap start/stop

2. Install NFS Client on Windows

  • Control Panel -> Programs and Feasutres > Enable Services for NFS

Administrative Tools

Client for NFS

  • Result:

1. shortcut - 'Services for Network File System' under "Administrative Tools"

2. commands

  mount.exe, unmount.exe, showmount.exe under <Windows>/system32

Windows Service: Client for NFS

3. Usage

1.Check the share from NFS Server

showmount -e <NFS Server Name>

2. Mount

mount [–o Options] ComputerName:\ShareName {DeviceName | *}
or
mount [–o Options] \\ComputerName\ShareName {DeviceName | *}
or

\\ComputerName\ShareName in File Explorer Address Bar.

4. Problems

1. Cannot start Windows Service: Client for NFS

    • Error in Event Viewer

Description:
  Windows(R) failed a request to initialize the Network File System (NFS) redirector<[d:\w7rtm\base\fs\remotefs\nfs\client\nfsclient\service.c:199] : 0: The operation completed successfully.

    • Root Cause

      • Previous Service stop has problem
    • Solution
      • Stop NfsRdr firstly via sc stop NfsRdr then restart Service via nfsadmin client start

2. No permission

    • Configure registry as below:

      • Replace the real value as NFS Server uid and gid

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default]
"AnonymousUid"=dword:000001f4
"AnonymousGid"=dword:000001f5

nfsadmin start client

最新文章

  1. IE的F12开发人员工具不显示问题
  2. solve the problem of &#39;java web project cannot display verification code&#39;
  3. 蓝桥杯 十六进制转八进制(超大测试数据,java实现)
  4. 在 ASP.NET MVC 中使用 HTTPS (SSL/TLS) -- 学习
  5. Webpack、Browserify和Gulp
  6. Material Design风格登录注册
  7. 黄聪:NaviCat通过Http方式连接服务器的MySQL数据库(转)
  8. Python 多线程学习(转)
  9. C# DateTime 日期加1天 减一天 加一月 减一月 等方法(转)
  10. CF A and B and Compilation Errors (排序)
  11. 【绿茶书情】:《SOHO小报》和《凤… - 绿茶的日志 - 网易博客
  12. android面试题之一
  13. Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in
  14. Django学习之一:Install Djongo 安装Djongo
  15. SQLAlchemy(包含有Flask-Migrate知识点)
  16. Bugku-CTF之Web5(JSPFUCK??????)
  17. SpringCloud+Hystrix服务容错
  18. 【转】 Android常用实例—Alert Dialog的使用
  19. iframe加载方案及性能
  20. 贪心(qwq)习题题解

热门文章

  1. PHPDocumentor 整理目光规范
  2. maven Java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
  3. Java入门程序
  4. Redux中reducer的翻译
  5. Xcode7.1 网络请求报错
  6. JScript实现将指定目录下的vc工程加到解决方案
  7. jQuery.noop
  8. Managing remote devices
  9. php+mysql+nginx于linux部署对环境
  10. 使用 Microsoft.UI.Xaml 解决 UWP 控件和对老版本 Windows 10 的兼容性问题