-
Notifications
You must be signed in to change notification settings - Fork 73
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
osnfs example errors with "RPC struct is bad" on writing to file #19
Comments
Any provided logs would be useful. Do you see the error in the mac GUI, or on the command line? |
Here is the complete log from the time I started the nfs server up through creating and attempting to edit a file called Chriss-MacBook-Pro-3:osnfs source$ ./osnfs /Users/source/repos/github.com/dummy
osnfs server running at [::]:57440
2021/02/24 20:49:31 request: RPC #1576689918 (nfs.Null)
2021/02/24 20:49:31 request: RPC #1576689920 (mount.Mount)
2021/02/24 20:49:31 request: RPC #1576689921 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689922 (nfs.FSInfo)
2021/02/24 20:49:31 request: RPC #1576689923 (nfs.PathConf)
2021/02/24 20:49:31 request: RPC #1576689924 (nfs.FSStat)
2021/02/24 20:49:31 request: RPC #1576689925 (nfs.Access)
2021/02/24 20:49:31 request: RPC #1576689926 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689927 (nfs.FSStat)
2021/02/24 20:49:31 request: RPC #1576689928 (nfs.Access)
2021/02/24 20:49:31 request: RPC #1576689929 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689930 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689931 (nfs.Lookup)
No file for lookup of ._.
2021/02/24 20:49:31 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:49:31 request: RPC #1576689933 (nfs.Lookup)
No file for lookup of DCIM
2021/02/24 20:49:31 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:49:31 request: RPC #1576689934 (nfs.Lookup)
No file for lookup of .metadata_never_index_unless_rootfs
2021/02/24 20:49:31 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:49:31 request: RPC #1576689935 (nfs.Lookup)
No file for lookup of .metadata_never_index
2021/02/24 20:49:31 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:49:31 request: RPC #1576689936 (nfs.Lookup)
No file for lookup of .Spotlight-V100
2021/02/24 20:49:31 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:49:31 request: RPC #1576689937 (nfs.Lookup)
No file for lookup of .hidden
2021/02/24 20:49:31 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:49:31 request: RPC #1576689938 (nfs.Lookup)
No file for lookup of .DS_Store
2021/02/24 20:49:31 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:49:31 request: RPC #1576689939 (nfs.Access)
2021/02/24 20:49:31 request: RPC #1576689940 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689941 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689942 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689943 (nfs.GetAttr)
2021/02/24 20:49:31 request: RPC #1576689944 (nfs.GetAttr)
2021/02/24 20:50:02 request: RPC #1576689945 (nfs.GetAttr)
2021/02/24 20:50:02 request: RPC #1576689946 (nfs.Lookup)
No file for lookup of dummy2.txt
2021/02/24 20:50:02 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:50:02 request: RPC #1576689947 (nfs.Lookup)
No file for lookup of dummy2.txt
2021/02/24 20:50:02 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:50:02 request: RPC #1576689948 (nfs.Create)
2021/02/24 20:50:02 request: RPC #1576689949 (nfs.Lookup)
No file for lookup of ._dummy2.txt
2021/02/24 20:50:02 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:50:02 request: RPC #1576689950 (nfs.GetAttr)
2021/02/24 20:50:02 request: RPC #1576689952 (nfs.GetAttr)
2021/02/24 20:50:02 request: RPC #1576689953 (nfs.Access)
2021/02/24 20:50:02 request: RPC #1576689954 (nfs.GetAttr)
2021/02/24 20:50:02 request: RPC #1576689955 (nfs.Lookup)
No file for lookup of .editorconfig
2021/02/24 20:50:02 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:50:02 request: RPC #1576689956 (nfs.GetAttr)
2021/02/24 20:50:02 request: RPC #1576689957 (nfs.Lookup)
No file for lookup of .git
2021/02/24 20:50:02 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:50:02 request: RPC #1576689958 (nfs.Lookup)
No file for lookup of HEAD
2021/02/24 20:50:02 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:50:03 request: RPC #1576689959 (nfs.Lookup)
No file for lookup of ._.
2021/02/24 20:50:03 call to 0x11253e0 failed: No such file or directory
2021/02/24 20:50:04 request: RPC #1576689960 (nfs.GetAttr)
2021/02/24 20:50:04 request: RPC #1576689961 (nfs.FSStat)
2021/02/24 20:50:04 request: RPC #1576689962 (nfs.GetAttr)
2021/02/24 20:50:04 request: RPC #1576689963 (nfs.ReadDirPlus)
2021/02/24 20:50:06 request: RPC #1576689964 (nfs.GetAttr)
2021/02/24 20:50:06 request: RPC #1576689965 (nfs.SetAttr)
2021/02/24 20:50:06 call to 0x112ed40 failed: truncate /Users/source/repos/github.com/dummy/dummy2.txt: invalid argument |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the osnfs example and writing to a file in the mounted directory leads to an error "RPC struct is bad"
this is on macOS big sur. There's many errors in the logs of osnfs but I don't know which are applicable.
BTW, thanks for the awesome lib!
The text was updated successfully, but these errors were encountered: