-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPDK fio_plugin not working on Ubuntu-Configuration error possibly #367
Comments
The suggested version of fio for correct work with spdk is fio 3.3. I think it makes sense to try this fio version. |
@alekseymmm When I have "fio --version" directly in the command line window, it shows "fio-2.2.10" because the default fio version for Ubuntu is 2.2.10. https://packages.ubuntu.com/search?keywords=fio However, when I have "./fio --version" under the fio directory, it shows: "fio-3.3". I am confused. In addition, I actually tried the two different fio commands ("fio xxxxx" and "fio/ ./fio") but neither works. Any ideas? Thanks in advance. |
@dwy189 in dir /home/weiyoud/fio/,the fio version is fio-3.3 ,fio-2.2.10 should be version of fio system package. |
this will set up fio 3.3. |
After following the procedures by @alekseymmm, I was able to run the fio command successfully. The error was caused by fio version mismatch. Thank you so much for the helps. |
Experiencing this issue on Ubuntu 16.04 even after compiling the FIO 3.3. |
I was using VirtualBox and on the Ubuntu 16.04 version. My fio version was: 2.2.10. I tried the same procedures as from the SPDK Fio_plugin README told me. But I still got the following error:
weiyoud@weiyoud-VirtualBox:~/spdk/examples/nvme/fio_plugin$ LD_PRELOAD=/home/weiyoud/spdk/examples/nvme/fio_plugin/fio_plugin /home/weiyoud/fio/fio example_config.fio
ERROR: ld.so: object '/home/weiyoud/spdk/examples/nvme/fio_plugin/fio_plugin' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
fio: engine spdk not loadable
fio: failed to load engine
fio: file:ioengines.c:89, func=dlopen, error=spdk: cannot open shared object file: No such file or directory
Expected Behavior
fio command should run with ioengine=SPDK
Current Behavior
Error occurs. The fio works with libaio ioengine though.
Possible Solution
We assume it was a configuration issue but it still did not work even when we tried different parameter combination.
Context (Environment including OS version, SPDK version, etc.)
I was using VirtualBox and on the Ubuntu 16.04 version. My fio version was: 2.2.10.
The text was updated successfully, but these errors were encountered: