Comments (5)
Right now it only supports v3 and and v4.0
so there is no protocol support for 4.1 in libnfs.
It is possible to update the protocol description to use 4.1 but I am not sure any of the new features in the protocol would be very useful to implement in libnfs.
That said, you should be able to connect to a 4.1 server just fine with the current libnfs.
Any server that supports 4.1 will also support 4.0.
I.e. you can use libnfs right now and access data on a 4.1 server since they all support the older protocol as well.
from libnfs-python.
Right now it only supports v3 and and v4.0
so there is no protocol support for 4.1 in libnfs.It is possible to update the protocol description to use 4.1 but I am not sure any of the new features in the protocol would be very useful to implement in libnfs.
That said, you should be able to connect to a 4.1 server just fine with the current libnfs.
Any server that supports 4.1 will also support 4.0.I.e. you can use libnfs right now and access data on a 4.1 server since they all support the older protocol as well.
Thank you very much!
Now I need develope a presure test tool of nfs v4.1 server . according to your description, does it mean that i can't use the python-client unless i modify the protocol description in the libnfs? Sorry about my poor english.
from libnfs-python.
It depends on exactly what you want to test.
Do you want to test the specific new protocol features in v4.1 or do you just want to do load/pressure testing against a 4.1 server (which also supports 4.0).
4.1 is just a small extenstion to 4.0 and it mainly adds pNFS support and support for directory delegation. Outside of these two features 4.1 is basically identical to 4.0.
So it depends on what you want to test. If you want to test the pNFS features in 4.1 or directory delegation, then you can not use libnfs.
If you just want do load/pressure tests, for example doing a lot of file i/o but NOT using pNFS then
libnfs as it is should work just fine since there is no difference between 4.0 and 4.1 in this regard.
The protocol is unchanged in this area.
You can run NFSv4.0 clients just fine against any NFSv4.1 servers, and the opposite is true too.
The two versions are compatible. The only difference is that if you want to use specific features like pNFS then both client and server must be 4.1. If you don't care about pNFS then it does not matter and you can treat 4.0 and 4.1 as the same.
from libnfs-python.
So to rephrase,
libnfs does not support pNFS, so if you want to test pNFS then you can not use libnfs.
Otherwise, If you just want to build a generic load/pressure test for a v4.0 or v4.1 server then libnfs will work just fine.
from libnfs-python.
Thank you very much for your generous answer!
Also thank you and the development team for developing such a great tool library.
from libnfs-python.
Related Issues (20)
- Support nfs_readlink2()
- Support struct timeval parameters to nfs_utimes() and nfs_lutimes() HOT 1
- no timeout with errror nfs addr HOT 1
- Fails to connect to Amazon ElasticFileSystem (EFS) HOT 8
- Cannot install this library on Mac OS High Sierra HOT 1
- pip install libnfs report error
- can't open nfs server file ValueError: open failed: Input/output error HOT 1
- Ability to configure nfs blksize
- utils/nfs-ls.py is hanging HOT 1
- NFS.listdir waits indefinitely
- ImportError: libnfs.so.13: cannot open shared object file: No such file or directory HOT 2
- NFS object does not have attribute isdir, isfile ect. HOT 1
- weither close nfs connetion HOT 1
- Didn't found NFS?
- Attribute Error
- Error while compiling and error while "python3 setup.py install" HOT 1
- module hangs forever in nfs.open HOT 2
- symbol not found in flat namespace '_free_nfs_srvr_list'
- fatal error C1083: Cannot open include file: 'nfsc/libnfs.h' - Problem with libnfs installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libnfs-python.