NFS Server : Connection from NFS Client2019/04/10 |
This is How to connect to NFS Server from NFS Client.
|
|
[1] |
Run PowerShell with Admin Privilege on the NFS Client that you set access permission to connect on NFS Server settings.
It's possbile to mount NFS Share with the command [C:\Windows\system32\mount.exe] that is installed by NFS Client installation,
or also possible to use PowerShell Cmdlet [New-PSDrive] command.
On PowerShell by default, [mount] command is set Alias to [New-PSDrive] command,
so if use [mount] command, specify full name of the filename [mount.exe].
|
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # mount with [mount.exe] on Z drive # syntax is the same with [mount] command on Linux PS C:\Users\Administrator> mount.exe 10.0.0.101:/nfsshare Z:\ Z: is now successfully connected to 10.0.0.101:/nfsshare The command completed successfully. PS C:\Users\Administrator> Get-PSDrive Z Name Used (GB) Free (GB) Provider Root CurrentLocation ---- --------- --------- -------- ---- --------------- Z 14.56 64.91 FileSystem \\10.0.0.101\nfsshare # unmount PS C:\Users\Administrator> umount.exe Z:\ Disconnecting Z: \\10.0.0.101\nfsshare The command completed successfully. # mount with [New-PSDrive] on Z drive PS C:\Users\Administrator> New-PSDrive -Name Z -PSProvider FileSystem -Root "\\10.0.0.101\nfsshare" Name Used (GB) Free (GB) Provider Root CurrentLocation ---- --------- --------- -------- ---- --------------- Z FileSystem \\10.0.0.101\nfsshare # unmount PS C:\Users\Administrator> Remove-PSDrive Z |
Sponsored Link |