NFS return codes

The list below describes the possible return codes for NFS requests against a namespace.

  • EACCES

    The requested operation is not allowed. Reasons for this return code include attempts to:

    • Rename an object
    • Rename a directory that contains one or more objects
    • Overwrite an object
    • Modify the content of an object
    • Add a file (other than a file containing custom metadata), directory, or symbolic link anywhere in the metadata structure
    • Delete a metafile or metadirectory

  • EAGAIN

    HCP tried to read the requested object from another system in the replication topology, and the data either could not be read or was not yet available.

  • EIO

    The requested operation is not allowed. This code is returned in response to attempts to:

    • Shorten the retention period of an object
    • Create a hard link

  • ENOTEMPTY

    For an rm request to delete a directory, the specified directory cannot be deleted because it is not empty.

  • EROFS

    For an rm request to delete an object, the specified object cannot be deleted because it is under retention.