NFSv4: Listing of files hangs
Johan Marcusson
independence at blinkenlights.se
Fri Mar 23 18:54:40 EDT 2007
fre 2007-03-23 klockan 19:00 +0100 skrev Johan Marcusson:
> fre 2007-03-23 klockan 13:36 -0400 skrev Kevin Coffman:
> > > ...
> >
> > OK, thanks, this looks like the Kerberos part is working from the
> > client's point of view. Back to David's question, does it work when
> > mounted with auth_sys? A network trace might give a hint at what it
> > is waiting for.
> >
>
> If I mount without -o sec=krb5 it's the same, hangs on ls.
> I tried using tcpdump from the client, and when I ls first nothing at
> all happened, then lots of these started showing up:
>
> 18:56:08.836217 IP 192.168.0.11.3803143427 > 192.168.0.1.2049: 152
> getattr [|nfs]
> 18:56:08.836940 IP 192.168.0.1.2049 > 192.168.0.11.690: . ack 152 win
> 1656
> 18:56:08.837538 IP 192.168.0.1.2049 > 192.168.0.11.3803143427: reply ok
> 264 getattr [|nfs]
>
> 192.168.0.11 is the client and 192.168.0.1 the server.
>
> Another strange thing happened, I remounted the direcory and was able to
> list the contents of /mnt/remote once. When I tried a secand time, it
> hanged again.
>
> Thanks for your help!
I have done some more testing, and it seems like it doesn't really hang.
But it can take several hours, maybe up to three hours, to list the
files in a directory. It is quite painful to use the system if you have
to wait three hours for the listing of files to appear :(
More information about the NFSv4
mailing list