zoukankan      html  css  js  c++  java
  • Mounting Windows to NFS servers

    Enable NFS services:

    Microsoft Windows includes a service for NFS but you will need to enable it before you can use NFS. The following TechNet article provides more information on enabling the NFS service.

    http://technet.microsoft.com/en-us/library/cc753302(v=ws.10).aspx

    A registry addition is required to have rewrite access to NFS shared from a Windows system.  The reason is that he anonymous UID and GID for Client for NFS to access a NFS your share is set to -2. This needs to be set to 0.


    From the command line run: regedit

    Locate HKEY_LOCAL_MACHINESOFTWAREMicrosoftClientForNFSCurrentVersionDefault


    Add two DWORD 32bit values: AnonymousUid and AnonymousGid


    Set theses values to: 0


    Restart your Client for NFS service or restart your Windows Virtual Machine

    You can mount the share from the command line with:

    mount <NFS_Server_IP>:<Share_Path> <Mount_Point>

    Example:

    mount 192.168.31.254:/vol/joyfb7fff88_ae36_4c25_9d4b_df6e3c64efc2 z:

    or you can use Expolrer to 'Map a Drive' using <NFS_Server_IP>:<Share_Path> as the share

    To have your mounts be persistent on a reboot you need to set up a script that mounts shares on boot. More information can be found here:


    http://social.technet.microsoft.com/Forums/is/winserverfiles/thread/44445dc3-0185-407f-b8ad-711f22cd4ec6

    打不开文件问题

    HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>ClientForNFS>CurrentVersion>User>Default>Mount,新增 Locking 值设为 0。

  • 相关阅读:
    Buffer Lock Mode and Compatibilities
    11g默认审计选项
    11.2.0.2 asmcmd lsdg show incorrect diskgroup number
    关于V$OPEN_CURSOR
    了解你所不知道的SMON功能(七):清理IND$字典基表
    PL/SQL DEPENDENCIES
    温习 Linux 命令
    温习 SQL 03
    PL/SQL 基础 ( 下 )
    HTML501 ( The.Essential.Guide )
  • 原文地址:https://www.cnblogs.com/SNS/p/9533396.html
Copyright © 2011-2022 走看看