Skip to content

NFS4 initial command performance #22

Closed
@ShahzadUmair

Description

@ShahzadUmair

The first command run on the mounted directory on client seems to take around a minute and a half to execute (touch hello.txt). All the commands run after the 1st command seems to execute normal. Do you happen to know what is causing this?

Docker run command:

docker run  --volume /data:/home --volume /tempData/exports.txt:/etc/exports:ro --privileged --env NFS_PORT=3001 -p 3001:3001 erichough/nfs-server

exports.txt

/home  *(rw,all_squash,anonuid=0,anongid=0,fsid=0)

Mount command

mount -o port=3001 -t nfs4 10.128.0.100:/ ./mnt

Interestingly enough, the 1st command runs normal when mounted as nfs3 (if i run server as nfs3 too).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions