NFS node
Edit /etc/exports
vi /etc/exports
Add following content.
/a/global <windows_fqdn/ip-address>(rw,no_root_squash)
/home <windows_fqdn_fqdn/ip-address>(rw,no_root_squash)
Restart NFS service:
either
/etc/init.d/nfs restart
or
service nfs restart
Windows nodes:
Install and Uninstall Services for Network File System Using OCSetup.exe:
Before running OCSetup.exe at a command prompt, set the command prompt to run as an administrator (even if you are logged on as an administrator on the computer).
1. Click the Start button, and select All Programs.
2. Select Accessories.
3. Right-click the command prompt, and click Run as administrator.
Ocsetup ServicesForNFS-ServerAndClient;ClientForNFS-Infrastructure;NFS-Administration
Mounting an NFS shared resource to a drive letter:
mount -u:root -p:<root_user_password> \\<NFS_node_IPADDRESS>\a\global z:
Like:
mount -u:root -p:password \\10.111.111.111\d\oss z:
|
|
本文介绍如何编辑NFS配置文件以允许Windows节点访问指定的共享目录,并提供了重启NFS服务的方法。同时,详细说明了使用OCSetup.exe安装和卸载NFS服务的过程,以及如何在Windows下通过命令行将NFS共享资源挂载到驱动器。
1602

被折叠的 条评论
为什么被折叠?



