Lisa (and Thomas),

Amazing how much better this looks now! ;-)

[root at c22r73-rhel5 ~]# mount 10.11.1.219:/volumes/ha2/f3 /mnt/leo-ha2/f3 -t 
nfs4
[root at c22r73-rhel5 ~]# ls -l /mnt/leo-ha2/f3
total 4
drwxr-xr-x 2 enguser   group2    2 Jul  2  2009 nfs-enguser-dir
-rw-r--r-- 1 nfsnobody nfsnobody 0 Jul  2  2009 root-touch-c62r2-2.txt
-rw-r--r-- 1 root      root      0 Jul  2  2009 root-touch-c62r2.txt
-rw-r--r-- 1 enguser   group2    6 Jul  2  2009 touch2.txt
-rw-r--r-- 1 enguser   group2    0 Jul  2  2009 touch.txt

Thanks so much!

-John

-----Original Message-----
From: Lisa.Week at Sun.COM [mailto:lisa.w...@sun.com] 
Sent: Thursday, July 02, 2009 12:01 PM
To: John Keiffer
Cc: nfs-discuss at opensolaris.org
Subject: Re: [nfs-discuss] Why doesn't nfsv4 display the owner and group 
correctly like nfsv3?

Hi,

On Jul 2, 2009, at 12:49 PM, John Keiffer wrote:

> Here is an example, the only difference in the output comes from  
> whether the share is mounted nfsv3 or nfsv4 (ie nfsv3 looks like we  
> want it to):
>
> [root at c22r73-rhel5 ~]# ls -l /mnt/leo-ha2/f3
> total 4
> drwxr-xr-x+ 2 enguser    group2     2 Jul  2  2009 nfs-enguser-dir
> -rw-r--r--+ 1 4294967294 4294967294 0 Jul  2  2009 root-touch- 
> c62r2-2.txt
> -rw-r--r--+ 1 root       root       0 Jul  2  2009 root-touch- 
> c62r2.txt
> -rw-r--r--+ 1 enguser    group2     6 Jul  2  2009 touch2.txt
> -rw-r--r--+ 1 enguser    group2     0 Jul  2  2009 touch.txt
>
> [root at c22r73-rhel5 ~]# umount /mnt/leo-ha2/f3
>
> [root at c22r73-rhel5 ~]# mount 10.11.1.219:/volumes/ha2/f3 /mnt/leo- 
> ha2/f3 -t nfs4
>
> [root at c22r73-rhel5 ~]# ls -l /mnt/leo-ha2/f3
> total 4
> drwxr-xr-x 2 nfsnobody nfsnobody 2 Jul  2  2009 nfs-enguser-dir
> -rw-r--r-- 1 nfsnobody nfsnobody 0 Jul  2  2009 root-touch-c62r2-2.txt
> -rw-r--r-- 1 nfsnobody nfsnobody 0 Jul  2  2009 root-touch-c62r2.txt
> -rw-r--r-- 1 nfsnobody nfsnobody 6 Jul  2  2009 touch2.txt
> -rw-r--r-- 1 nfsnobody nfsnobody 0 Jul  2  2009 touch.txt

It is likely that you have different NFS idmap domains set on your  
client and server.

On the Linux client this is set in /etc/idmapd.conf (See: Domain)

On the Solaris server this is set in /etc/default/nfs (See:  
NFSMAPID_DOMAIN)

On both the client and server you will need to restart the NFS  
services after changing these values.

Hope that helps.

Thanks,
Lisa

Reply via email to