Windows Mount NFS Share from e.g. Linux
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
- Root Cause
2. No permission
- Configure registry as below:
- Replace the real value as NFS Server uid and gid
- Configure registry as below:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default]
"AnonymousUid"=dword:000001f4
"AnonymousGid"=dword:000001f5
nfsadmin start client
最新文章
- IE的F12开发人员工具不显示问题
- solve the problem of &#39;java web project cannot display verification code&#39;
- 蓝桥杯 十六进制转八进制(超大测试数据,java实现)
- 在 ASP.NET MVC 中使用 HTTPS (SSL/TLS) -- 学习
- Webpack、Browserify和Gulp
- Material Design风格登录注册
- 黄聪:NaviCat通过Http方式连接服务器的MySQL数据库(转)
- Python 多线程学习(转)
- C# DateTime 日期加1天 减一天 加一月 减一月 等方法(转)
- CF A and B and Compilation Errors (排序)
- 【绿茶书情】:《SOHO小报》和《凤… - 绿茶的日志 - 网易博客
- android面试题之一
- Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in
- Django学习之一:Install Djongo 安装Djongo
- SQLAlchemy(包含有Flask-Migrate知识点)
- Bugku-CTF之Web5(JSPFUCK??????)
- SpringCloud+Hystrix服务容错
- 【转】 Android常用实例—Alert Dialog的使用
- iframe加载方案及性能
- 贪心(qwq)习题题解
热门文章
- PHPDocumentor 整理目光规范
- maven Java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
- Java入门程序
- Redux中reducer的翻译
- Xcode7.1 网络请求报错
- JScript实现将指定目录下的vc工程加到解决方案
- jQuery.noop
- Managing remote devices
- php+mysql+nginx于linux部署对环境
- 使用 Microsoft.UI.Xaml 解决 UWP 控件和对老版本 Windows 10 的兼容性问题