Skip to content

SPDK fio_plugin not working on Ubuntu-Configuration error possibly #367

@dwy189

Description

@dwy189

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions