`
woshizn
  • 浏览: 207201 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Mounting an NFS shared resource to Windows

阅读更多

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:

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics