Open Abbreviation-g opened 7 years ago
Can you elaborate bit more what doesn't work?
I mean, how to implement the VirtualFileSystem. It's any demo of VirtualFileSystem implementation?
A week ago commit 06999e77 have added javadocs for VirtualFileSystem
The only thing that I've noticed as difference when working under Windows is when I use "NFS client for WIndows" that enable connecting to NFS server trough Windows Explorer. The thing is that this client under Windows Server 2012 R2 is compatible with NFSv3. I've researched a problem listing my file system mounted using NFSv3 server (I've mounted it under Linux, as Windows client is impossible to debug). It faced out that the NFS client is complaining if Inode of the files/folders contain more than 64 bytes. I've checked the client implementation itself and it checks against NFS3_FHSIZE value, which according to this file: https://github.com/spotify/linux/blob/master/include/linux/nfs3.h is 64 bytes. I was using Inode of size 96 bytes and when I lower it to 64 everything works like a charm. So if you plan to support both NFSv3/NFSv4 your Inode size should be at most 64 bytes.
I've tried running the server under Windows, but there was problem mounting using NFSv3, cause mount path was resolved with Windows drive letters. I've applied the following patch and it seems to work. windowsMountServer.txt
Actually I need to start the server on the windows and start the client connection to the server on the liunx. But I don't know how?