NFS share failed to mount with message "mount.nfs: Too many levels of symbolic links"

Solution Verified - Updated -

Issue

  • NFS share failed to mount with message "mount.nfs: Too many levels of symbolic links"
# mount -t nfs <nfs-server>:/test/T52  /test/T52 -vvv

mount.nfs: timeout set for Tue Dec 13 01:36:49 2022
mount.nfs: trying text-based options 'vers=4.1,addr=X.X.X.X,clientaddr=Y.Y.Y.Y'
mount.nfs: mount(2): Too many levels of symbolic links
mount.nfs: Too many levels of symbolic links
  • Below message reported in dmesg while mounting the exported NFS share at client:
[ 1353.846182] VFS: Lookup of 'T52' in nfs4 0:48 would have caused loop
[ 1389.053161] VFS: Lookup of 'T52' in nfs4 0:48 would have caused loop
[ 9941.229858] VFS: Lookup of 'T52' in nfs4 0:48 would have caused loop

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content