If you want to use a distributed file system and share storage on multiple virtual machine instances, you can use the NAS service. This article takes the Windows Server R2 system as an example to describe how to mount a NAS file system on a Windows virtual machine instance.
First, connect to the Windows instance.
Install the NFS client.
打开服务器管理。选择管理 > 添加角色和功能。按添加角色和功能向导指示安装NFS客户端,注意以下配置: 在服务器角色选项卡下,选择NFS服务器。
Under the Features tab, select Client for NFS.
Second, the test
Start the command prompt and run the command mount.
If the following information is returned, the NFS client installation is successful
Run the following command to mount the NAS file system.
mount -o nolock \\XXXXXXX h:
After the mount succeeds, the display
In Windows Explorer
Problems
If the system error file handle error during operation, you need to confirm the following registry information:
HKEY_LOCAL_MACHINE > Software > Microsoft > Clientfornfs > CurrentVersion > User > Default > Mount, where The locking value must be 1.
Mount the NAS file system on the windows2012