Skip to content

Copy command fails on azure file shares with force=true, because stat(...).inode == 0 #36749

Open
@jonbarkerlondon

Description

@jonbarkerlondon

I created a SO question, but received no further info.

https://stackoverflow.com/questions/63002995/julia-copy-method-on-azure-fileshares-fails-stat-inode-is-always-zero


When copying data from \azurefileshare\a\1 to \azurefileshare\a\2 we get an error:

'src' and 'dst' refer to the same file/dir

After some investigation, it seems julia uses the stat command to determine if folders are identical by comparing the stat(xxx).inode and stat(xxx).device

image

However, the inode is always 0 for any Azure folders that we pass into stat(foldername).

Questions:

Have we misconfigured our Azure file shares?
Is this a bug in the stat() implementation in julia?
Is the julia inode comparison logic flawed?
Much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    filesystemUnderlying file system and functions that use it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions