Mounting a windows nfs network hard disk in linux
Set NFS server in Windows
1. Install hanewin nfs servergfb
Bfv2
2. Double-click the installation package to install it.
3. Localization and Registration
Chinese: copy the chinese. ini folder to the language directory under the nfs Server installation directory.
Open NFS Server, select language, select chinese, click OK, and restart the Server
Registration: Open NFS server, click registration, and enter the registration information in regis.txt from the folder in the hundreds of links
4. Create a directory for windows mounting. Now, create a directory on windows. I have created a directory and uploaded some files.
Edit the NFS directory on the nfs server and click restart server. Each step is shown in the figure.
Mounting NFS shared disks in Linux
1. Check whether nfs is installed and nfs is installed. Run the command in the figure and the result in the figure shows that nfs has been installed in linux.
If not, use yum install nfs-utils to install the nfs environment.
2 mount the windows nfs file directory
Enter the following command on the linux Server:
Mkdir folder // create a directory for mounting
Mount-t nfs-o nolock 192.168.10.43:/d/nfs restart folder // ip address is your windows ip Address
Df-h