Skip to content

Lib nfs does not pre-create files when job starts #1769

@panxiao2014

Description

@panxiao2014

Please acknowledge the following before creating a ticket

Description of the bug:
When using nfs as the ioengine, fio does not pre-create files when job starts. Thus, only write mode works fine. For the other mode, fio returns error unless the file existed before fio starts.

Environment: Ubuntu 20.04.1 LTS

fio version: fio-3.37-39

Reproduction steps

fio options: --ioengine=nfs --rw=read

fio run with error: Failed to open file_xxx: open call failed with "NFS: Lookup of file_xxx failed with NFS3ERR_NOENT(-2)"

Any other rw options other than write will get the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    patcheswelcomeNo one internal is working on this but an external contributor's help is very welcome!triagedIssue cause is understood but a patch is needed to fix it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions