sahlberg / libnfs

NFS client library
Other
524 stars 201 forks source link

nfs4-cat and nfs-cat failed with NFS version 4 #496

Open AmanChauhan2020 opened 2 weeks ago

AmanChauhan2020 commented 2 weeks ago

While trying to run nfs4-cat and nfs-cat command to fetch file content using NFS version 4, it throws assertion error. It shows correct output for NFS version 3.

Command: sudo ./nfs4-cat nfs:// Error:

OPEN called nfs4-cat: init.c:641: rpc_free_iovector: Assertion `v->iov_capacity > RPC_FAST_VECTORS && v->iov_capacity <= RPC_MAX_VECTORS' failed. Aborted

Command: sudo nfs-cat nfs://?version=4 Error:

nfs-cat: init.c:765: rpc_memcpy_cursor: Assertion `v->iov <= v->iov_ref' failed. Aborted

Operating System: Ubuntu 20.04 Kerner version: 5.15.0-122-generic