...
- Collect the information on the network disk.
- Network path = "192.168.24.160:/mnt/seaquestdsk0" — Found in "e1039gat1:/etc/fstab"
- UID = 500 (e1039daq) and GID = 10391 (e1039sc) — Found by "ls -n /data2/e1039_data/slowcontrol_data"
- Network path = "192.168.24.160:/mnt/seaquestdsk0" — Found in "e1039gat1:/etc/fstab"
- Search for "turn windows features on or off" on the task-bar search box, and click it.
- Enable both "Administrative Tools" and "Client for NFS" under "Services for NFS".
- Enable the write permission.
Open "regedit" from the task-bar search box.
Expand HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> ClientForNFS -> CurrentVersion -> Default.
Create a new DWORD value (via right-click menu), with name = "AnonymousUid" and value = "500".
Create a new DWORD value (via right-click menu), with name = "AnonymousGid" and value = "10391".
- Reboot the OS.
- Mount the network disk manually for test.
- Open "command prompt" from the search box.
- Execute this command: "mount -o anon -o nolock -o fileaccess=775 \\192.168.24.160\mnt\seaquestdsk0 Z:". Note that "-o anon,nolock,fileaccess=775" does not work!
- Screenshots: Command prompt. and Z: folder.
- Set up an automated mount via startup
- "Start Menu" → "Run" → Enter "shell:startup".
Create "nfsmount.bat" with the following contents:
mount -o anon -o nolock -o fileaccess=775 \\192.168.24.160\mnt\seaquestdsk0 Z: - Reference: https://dop-amine.com/posts/persistent-nfs-windows/
...