Problem:when NFS Client mount NFS from Solaris server, all files property changed to Nobody:
[root@lab2-2-20 ~]# ll /pcc/cnbuild
total 78
drwxrwxrwx. 33 nobody nobody 81 Jan 29 15:59 build
drwxrwxrwx. 2 nobody nobody 2 Jul 26 2010 build-backup
drwxrwxrwx. 7 nobody nobody 8 Feb 7 2012 buildtemp273
drwx------. 4 nobody nobody 5 Sep 15 14:19 c77fdfd8-05c0-4ade-918d-5c370c3540cf
drwxrwxrwx. 4 nobody nobody 4 Dec 2 15:29 depot
drwxrwxrwx. 2 nobody nobody 5 Jan 31 10:18 dstatus
drwxr-xr-x. 2 nobody nobody 2 May 17 2011 haapp
drwxr-xr-x. 2 nobody nobody 2 May 17 2011 hahome
drwxrwxrwx. 3 nobody nobody 3 Jan 14 21:28 hq-china
drwxrwxrwx. 5 nobody nobody 13 Feb 7 10:29 hulei
drwxrwxrwx. 3 nobody nobody 3 Nov 18 09:20 kusu
-rw-r--r--. 1 nobody nobody 104857600 Feb 1 14:40 largefile
resolution:
Server:
bash-3.00# cat /var/run/nfs4_domain
asia.corp.platform.com
bash-3.00#
Client:
[root@lab2-2-17 ~]# cat /etc/idmapd.conf | grep Domain
#Domain = local.domain.edu
Domain = asia.corp.platform.com
[root@lab2-2-17 ~]
and also disable firewall and selinux
阅读(2201) | 评论(0) | 转发(0) |