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:
|