-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MS NFS 41 Client failed with error code 3 #2
Comments
Hi, |
yes. NFSD is active |
and it's --uid 1000 --gid 1000 and --noldap right? |
yes I used nfs_mount.exe -d 3 -noldap --uid 1000 --gid 100. NekoDrive can connect with UID 1000 and GID 100 Read+Write Access. |
I have fixed this Problem! |
Great! Is there ang information missing in the readme to get it running ? |
yes you must set on System > Computer Name > Change > more > Primary DNS Prefix or NFSD will fail to load. And it seems you must add "insecure" to Linux NFS Server. |
@MySepultura |
I ran into the same issue and spent hours fixing it. The solution was, that the NFS daemon (nfsd.exe) file was corrupted, therefore the service did not start properly at the system startup as it used to. Fixing all file system errors and reinstalling the daemon solved it for me. |
Fix DrMemory hits in |attr_cache_update()|, which were triggered by using the request |bitmap4| instead of the response |bitmap4| DrMemory hits look like this: ---- snip ---- Error #1: UNINITIALIZED READ: reading 8 byte(s) attr_cache_update [ms-nfs41-client\daemon\name_cache.c:323] nfs41_attr_cache_update [ms-nfs41-client\daemon\name_cache.c:957] nfs41_setattr [ms-nfs41-client\daemon\nfs41_ops.c:1495] handle_setexattr [ms-nfs41-client\daemon\ea.c:186] upcall_handle [ms-nfs41-client\daemon\upcall.c:220] nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:188] nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:226] KERNEL32.dll!BaseThreadInitThunk +0x13 (0x00007ffe78f47374 <KERNEL32.dll+0x17374>) Error #2: UNINITIALIZED READ: reading 4 byte(s) attr_cache_update [ms-nfs41-client\daemon\name_cache.c:324] nfs41_attr_cache_update [ms-nfs41-client\daemon\name_cache.c:957] nfs41_setattr [ms-nfs41-client\daemon\nfs41_ops.c:1495] handle_setexattr [ms-nfs41-client\daemon\ea.c:186] upcall_handle [ms-nfs41-client\daemon\upcall.c:220] nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:188] nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:226] KERNEL32.dll!BaseThreadInitThunk +0x13 (0x00007ffe78f47374 <KERNEL32.dll+0x17374>) ---- snip ---- Signed-off-by: Cedric Blancher <[email protected]> Signed-off-by: Tigran Mkrtchyan <[email protected]>
…cktraces Disable VC19 "JustMyCode" feature (see https://learn.microsoft.com/en-us/cpp/build/reference/jmc?view=msvc-170) for better drmemory stacktraces. The "JustMyCode" feature has caused problems with accurate stacktraces in libtirpc&co like this: ---- snip ---- Error #2: UNINITIALIZED READ: reading 4 byte(s) libtirpc.dll!__CheckForDebuggerJustMyCode [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\misc\debugger_jmc.c:23] libtirpc.dll!time_not_ok [msnfs41_uidmapping\ms-nfs41-client\libtirpc\src\clnt_vc.c:15732480] KERNELBASE.dll!OpenThreadToken +0x4c (0x00007ffb9b992b6d <KERNELBASE.dll+0x32b6d>) KERNELBASE.dll!SleepConditionVariableSRW +0x36 (0x00007ffb9b9d3327 <KERNELBASE.dll+0x73327>) nfs41_send_compound [ms-nfs41-client\daemon\nfs41_rpc.c:351] compound_encode_send_decode [ms-nfs41-client\daemon\nfs41_compound.c:153] nfs41_read [ms-nfs41-client\daemon\nfs41_ops.c:873] read_from_mds [ms-nfs41-client\daemon\readwrite.c:80] handle_read [ms-nfs41-client\daemon\readwrite.c:165] upcall_handle [ms-nfs41-client\daemon\upcall.c:220] nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:188] ---- snip ---- Note the bogus line number in "clnt_vc.c:15732480", and that |SleepConditionVariableSRW()| (system library function) cannot call |libtirpc.dll!time_not_ok|. We just disable this feature as it only causes confusion. Signed-off-by: Cedric Blancher <[email protected]> Signed-off-by: Tigran Mkrtchyan <[email protected]>
Fix two drmemory hits when processing NFSv4 referrals: ---- snip ---- Error #1: UNINITIALIZED READ: reading 8 byte(s) 0 path_fh_copy [ms-nfs41-client\daemon\util.c:468] 1 server_lookup [ms-nfs41-client\daemon\lookup.c:259] 2 server_lookup_loop [ms-nfs41-client\daemon\lookup.c:360] 3 nfs41_lookup [ms-nfs41-client\daemon\lookup.c:512] 4 lookup_entry [ms-nfs41-client\daemon\readdir.c:468] 5 readdir_copy_entry [ms-nfs41-client\daemon\readdir.c:534] 6 handle_readdir [ms-nfs41-client\daemon\readdir.c:800] 7 upcall_handle [ms-nfs41-client\daemon\upcall.c:220] 8 nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:201] 9 nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:239] 10 KERNEL32.dll!BaseThreadInitThunk +0x13 (0x00007ffadccb7374 <KERNEL32.dll+0x17374>) Error #2: UNINITIALIZED READ: reading 8 byte(s) 0 path_fh_copy [ms-nfs41-client\daemon\util.c:470] 1 server_lookup [ms-nfs41-client\daemon\lookup.c:259] 2 server_lookup_loop [ms-nfs41-client\daemon\lookup.c:360] 3 nfs41_lookup [ms-nfs41-client\daemon\lookup.c:512] 8 readdir_copy_entry [ms-nfs41-client\daemon\readdir.c:534] 9 handle_readdir [ms-nfs41-client\daemon\readdir.c:800] 10 upcall_handle [ms-nfs41-client\daemon\upcall.c:220] 11 nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:201] 12 nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:239] ---- snip ---- Reported-by: Cedric Blancher <[email protected]> Signed-off-by: Cedric Blancher <[email protected]> Signed-off-by: Tigran Mkrtchyan <[email protected]>
Dear Community,
I have a question because the NFS Client is failing with error code 3. System can't find path.
NekoDrive NFS Client Test Component is finding the the drive.
I typed:
nfsd.exe -d 3 -noldap uid 1000 gid 100
then I typed
nfs_mount z: 192.168.0.182:\home\winclient
Here the programm is failing.
Can anyone help me?
The text was updated successfully, but these errors were encountered: