- Small knowledge, big challenge! This article is participating in the creation activity of “Essential Tips for Programmers”.
The NFS service makes it easy to mount network disks locally for file synchronization, but Windows 10 Home edition does not support this feature. This article documents a fundamental painless solution that requires no system reinstallation, no Linux replacement, and no virtual machine installation.
Upgrade Windows 10
Win10 upgrade to enterprise version, the system will own NFS service.
The serial number
2020.06.02 effective measurement, thank you: www.jianshu.com/p/3f9e2368e… share
J7QT3-3GCPG-9GVWT-CH2XR-GMRJM
VK7JG-NPHTM-C97JM-9MPGT-3V66T
Copy the code
Replace product serial number
- Right click on my computer -> Properties -> Change product Key
- Enter the enterprise version key, close the current working program and save the work progress, all the way to the next step
Enabling the NFS Service
- Control Panel -> Programs and Features -> Check NFS Services -> OK
- To test in CMD, type mount -h to see the output
C:\Users\Admin>mount -hUsage:mount [-o options] [-u:username] [-p: <password< \ \ | * >]computername\sharename> <devicename| * > -o rsize=sizeSets the size of the read buffer (toKBIs the unit). -o wsize=sizeSets the size of the write buffer (toKBIs the unit). -o timeout=timeSet up theRPCThe timeout value of the call, in seconds. -o retry=numberSet the number of soft load retries. -o mtype=soft|hardSet the load type. -o lang=euc-jp|euc-tw|euc-kr|shift-jis|big5|ksc5601|gb2312- 80 |ansiSpecifies the encoding used for file and directory names. -o fileaccess=modeSpecifies the permission mode for the file. These patterns are used inNFSA new file created on the server. useUNIXStyle mode bit specifies. -o anonLoaded as an anonymous user. -o nolockDisable lock. -o casesensitive=yes|noSpecifies that case-sensitive file lookups are performed on the server. -o sec=sys|krb5|krb5i|krb5p
Copy the code
If this command output is displayed, the NFS service is successfully started.
Disk mount
- Mapping a Disk Drive
- Map an address on the network
- Mapping success
An unexplained mount failure
Enter the command in CMD
Showmount -e < IP address to mount remote >Copy the code
You can display the directories that the other party can mount
Showmount -e 192.168.10.15 Export list at 192.168.10.15: /disk/zhangyiwei *Copy the code
However, strange mount errors occur, such as:
- Warning target address does not exist, reminding spelling check
- Unknown error occurs
The solution
- Disable the NFS service
- Restart the computer
- Enabling the NFS Service
If only…