Skip to content

dsync and probably dcp doesn't handle hardlinks #417

@akesandgren

Description

@akesandgren

Hardlinks are not handled and causes errors on the destination files:
source:
/a/b hardlinked to /a/c
dsync /a /target

[2020-10-31T05:44:52] [39] [/path/src/common/mfu_flist_copy.c:330] ERROR: Failed to change ownership on /target/c' lchown() (errno=2 No such file or directory) [2020-10-31T05:44:52] [39] [/path/src/common/mfu_flist_copy.c:356] ERROR: Failed to change permissions on /target/c' chmod() (errno=2 No such file or directory)
And one more for utime

And /target/b and /target/c ends up as separate files, sometimes with one of them (c in the above case) having incorrect timestamps.

Currently running mpifileutils 0.10.1

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