dCache / nfs4j

Pure Java NFSv3 and NFSv4.2 implementation
Other
240 stars 76 forks source link

NFS client problem with mkdir #109

Closed evial closed 3 years ago

evial commented 3 years ago

Hi @kofemann. First of all, thanks for the library. I know the nfs4j client is for testing purpose but is the mkdir command supposed to work properly ? list, read or remove commands work fine for me but mkdir returns a NFS4ERR_BADXDR error. Thanks

Connected to: Mr. X pNFS MDS: true pNFS DS: false Using slots: 160 server lease time: 90 sec. root fh = 010007006901840000000000f801431ede424caabe33eed3d46f1df1 Server supported layout types: [] Layout type LAYOUT4_NFSV4_1_FILES not supported. Disabling pNFS NFSv41: mkdir myFolder NFSv41: umount mkdir failed: NFS4ERR_BADXDR(10036)

kofemann commented 3 years ago

Hi @evial ,

sorry for the late reply....

Can you bit elaborate on the issues. I will be interested in a packet capture with tcpdump:

tcpdump -i any -w /tmp/nfs.pcap port 2049

In you example, the NFS4ERR_BADXDR might coming from umount

evial commented 3 years ago

Hi @kofemann. Attached the pcap file. Client and server have respectively ip 192.168.1.19 and 192.168.1.75.

Server exports file: /var/nfs *(rw,no_root_squash,insecure).

Thanks

nfs.zip `

kofemann commented 3 years ago

@evial could you please test the current head?

evial commented 3 years ago

Works like a charm now. Thanks for the support