NfsClient
NfsClient copied to clipboard
The python library to simulate NFS client, currently only support NFSv3
When to support NFSv4
this is my fucking code # portmap initialization portmap = Portmap(host, timeout=3600) print(portmap.connect()) # mount initialization mnt_port = portmap.getport(Mount.program, Mount.program_version) mount = Mount(host=host, port=mnt_port, timeout=3600, auth=auth) mount.connect() # do mount...
Verified that access to IPv6 NFS server is working fine.
When trying to access IPv6 NFS server we hit following issue: File "C:\Users\Administrator\PycharmProjects\untitled\venv\lib\site-packages\pyNfsClient\rpc.py", line 149, in connect self.client.connect((self.host, self.port)) socket.gaierror: [Errno 11001] getaddrinfo failed
Method [connect](https://github.com/CharmingYang0/NfsClient/blob/master/pyNfsClient/rpc.py#L128) always tries to bind to a port between 500 and 1023 and will always get **PermissionError: [Errno 13] Permission denied**
您好,很抱歉打扰到你。 现在我也在研究怎么用python挂载nfs4.1的服务器,看到了你的代码,所以想请教你一下这方面的思路?如果可以的话想和您一起交流一起开发这个功能。 祝好!
Dear CharmingYang, I meet a problem while using your NfsClient library. Could you help me to see this problem. I use your sample code like this. When it getport from...
[`xdrlib`](https://docs.python.org/3/library/xdrlib.html) was deprecated since version 3.11, removed in version 3.13.