NFS Server : Connection from NFS Client2024/12/06 |
This is How to connect to NFS Server from NFS Client. On this example, connect to the NFS Share like this configuration from a Client. |
|
[1] |
Run PowerShell with Admin Privilege on the NFS Client that you set access permission to connect on NFS Server settings.
For the setting of the example of link above (Quick NFS Share),
For mount commands, |
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\Serverworld> mount.exe 10.0.0.101:/nfsshare01 Z:\ Z: is now successfully connected to 10.0.0.101:/nfsshare01 The command completed successfully. PS C:\Users\Serverworld> Get-PSDrive Z Name Used (GB) Free (GB) Provider Root CurrentLocation ---- --------- --------- -------- ---- --------------- Z 13.37 85.85 FileSystem \\10.0.0.101\nfsshare01 # verify reading and writing PS C:\Users\Serverworld> echo "write test" > Z:\testfile.txt PS C:\Users\Serverworld> Get-Content Z:\testfile.txt write test # for unmount, run like follows PS C:\Users\Serverworld> umount.exe Z:\ Disconnecting Z: \\10.0.0.101\nfsshare01 The command completed successfully. # mount with [New-PSDrive] on Z drive PS C:\Users\Serverworld> New-PSDrive -Name Z -PSProvider FileSystem -Root "\\10.0.0.101\nfsshare01" Name Used (GB) Free (GB) Provider Root CurrentLocation ---- --------- --------- -------- ---- --------------- Z FileSystem \\10.0.0.101\nfsshare01 # unmount, run like follows PS C:\Users\Serverworld> Remove-PSDrive Z |
Sponsored Link |
|