You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Linux – "ls -l or du" Commands Hung in NFS Share

edited Jun 5, 2024 2:38AM in Linux

APPLIES TO:

Linux OS – Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL7 to OL9]

Linux x86_64 on Oracle Public Cloud

SYMPTOMS:

NFS share mounted on Oracle Linux instances as follows:

# cat /etc/fstab

## nfs mount
<NFS Server Name>:/usr/local/nfs-share/oci-dev /u01/share  nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0

The "ls -l" or "du" commands within the NFS share take 3 to 4 minutes to complete.

CAUSE:

The performance degradation is introduced by the NFS mount option "actimeo=0".

Setting "actimeo=0" disables attribute caching on the client. This means that every reference to attributes is satisfied directly from the server though file data is still cached.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!