[ProgSoc] Strange ls behaviour on NFS mount

Anand Kumria akumria at acm.org
Mon Aug 15 15:25:20 EST 2011


Is it idmap related?

http://opensolaris.org/jive/thread.jspa?threadID=107121

Note - I've never used NFSv4, so this was just what I got after a some
google searches.

A

On 14 August 2011 18:33, John Elliot <jj5 at jj5.net> wrote:
> I'm seeing something strange on my NFS client. Have a look at the following
> output from one of my sessions:
>
>  jj5 at hope:~/test$ ll
>  total 8
>  drwxr-xr-x  2 jj5 sudo 4096 Aug 14 17:26 ./
>  drwxr-xr-x 11 jj5 sudo 4096 Aug 14 17:26 ../
>  jj5 at hope:~/test$ vim test
>  jj5 at hope:~/test$ ll
>  total 8
>  drwxr-xr-x  2 jj5        sudo       4096 Aug 14 17:26 ./
>  drwxr-xr-x 11 jj5        sudo       4096 Aug 14 17:26 ../
>  -rw-r--r--  1 4294967294 4294967294    5 Aug 14 17:26 test
>  jj5 at hope:~/test$ ll
>  total 12
>  drwxr-xr-x  2 jj5 sudo 4096 Aug 14 17:26 ./
>  drwxr-xr-x 11 jj5 sudo 4096 Aug 14 17:26 ../
>  -rw-r--r--  1 jj5 sudo    5 Aug 14 17:26 test
>
> ~/test is a directory mounted on an NFS4 share.
>
> As you can see, initially the directory is empty. I create a text file
> called 'test' with vim, and save it. I then run ll again (ll is a command
> alias for 'ls -alF', which is pretty standard) and in the output the uid/gid
> are reported as a massive number. Then, immediately, I run ll again, and the
> problem goes away. The second time I run ll the correct uid/gid are
> reported.
>
> What's up with that? Does anyone know?
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Progsoc mailing list
> Progsoc at progsoc.org
> http://progsoc.org/cgi-bin/mailman/listinfo/progsoc
>
>



More information about the Progsoc mailing list