You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, Thank you for the library. I'm trying to implement an NFS Client based on your dcache/nfs/v4/client example ( It's just for test purpose). My question is, how can I mount on disk the remote directory, like when we mount with Ubuntu command: mount -t nfs 192.168.1.10:/media/user/ /mnt/media_rw/remote
Logs after I start the Client:
System.out: Connected to: Mr. X
System.out: pNFS MDS: true
System.out: pNFS DS: false
System.out: Using slots: 159
System.out: server lease time: 90 sec.
System.out: root fh = 0100010000000000
The text was updated successfully, but these errors were encountered:
I have misses your issue. Sorry. In general, the client is there to quick add functionality that is not available with the current kernel clients or to mimic a specific behavior. IOW, it's not intended to be used as a real file system client.
One can try to implement a java NIO.2 file system interface and hook it into applications or mount with fuse-like driver. I started to play with an idea while ago: https://github.com/kofemann/nfs41-nio2
BTW, can you describe your case? Do you really need a userspace java client?
First, Thank you for the library. I'm trying to implement an NFS Client based on your dcache/nfs/v4/client example ( It's just for test purpose). My question is, how can I mount on disk the remote directory, like when we mount with Ubuntu command:
mount -t nfs 192.168.1.10:/media/user/ /mnt/media_rw/remote
Logs after I start the Client:
System.out: Connected to: Mr. X
System.out: pNFS MDS: true
System.out: pNFS DS: false
System.out: Using slots: 159
System.out: server lease time: 90 sec.
System.out: root fh = 0100010000000000
The text was updated successfully, but these errors were encountered: