× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

NFS errors on directories with many files

dberger
Aspirant

NFS errors on directories with many files

I'm hosting IMAP mailboxes on a ReadyNAS Pro 4 (running firmware 4.2.26). The mailboxes are mounted over NFS on a Linux (Ubuntu 12.04) server running dovecot - one of the users complained that they suddenly stopped being able to access their mailbox.

The following appears in the IMAP server log:

Oct 5 16:27:14 vigilance dovecot: imap(nise): Error: readdir(/pensive/Home/nise/Maildir/cur) failed: Too many levels of symbolic links
Oct 5 16:27:14 vigilance kernel: [249959.213572] NFS: directory Maildir/cur contains a readdir loop.Please contact your server vendor. The file: 1394491503.M757191P5231Q0R34a969c8dce7a857.vigilance:2,l^C has duplicate cookie 30107461

the internet tells me this is a known problem created by widening the readdir cookie (apparently their mailbox grew to contain enough messages that it's overflowing the 32 bit cookie) - http://lwn.net/Articles/544520/ - and that the only solution involves a kernel upgrade to the NFS server.

Can someone from Linksys comment on the possibility of this being fixed in a future firmware release?
Message 1 of 3
Skywalker
NETGEAR Expert

Re: NFS errors on directories with many files

I can't speak for Linksys ;-), but we should be able to address that in a beta release soon.
Message 2 of 3
dberger
Aspirant

Re: NFS errors on directories with many files

Do I feel silly - I was fighting multiple issues at the same time and got my vendors crossed.

Sorry.

And that's great 🙂
Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 1799 views
  • 0 kudos
  • 2 in conversation
Announcements