Hi,
I am having some NFS directory consistency problems with the below setup on a local (192.) network:
- Different permissions (chmod) for the same NFS dir are reflected on different clients.
- (more serious) an NFS dir created on client1 cannot be accessed on client2; this applies to some directories, not others; when this problem applies to a directory, it is a consistent problem.
Setup:
NFS server: Thecus N8800, 16Tb raw, RAID6
Client1: Sun Fire V210, Solaris 5.10 Generic_139555-08
Client2: Sun Fire V100, Solaris 5.10 Generic_118822-23
Both clients nfs-mount. Flags: vers=3,proto=tcp,sec=sys,hard,intr,link,symlink,acl,rsize=32768,wsize=32768,retrans=5,timeo=600
Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
Use case on Client1:
CD to an nfs subdir:
cd /.../nfsdir
ls -la
drwxrwx---+ 56 user group 12288 Mar 13 15:28 .
drwxrwx---+ 3 user group 30 Mar 17 13:57 ..
drwxrwx---+ 3 user group 53248 Oct 3 04:41 somedir1
drwxrwxrwx+ 7 user group 4096 Mar 13 15:29 somedir2
All good. CD to somedir1 works; can LS and see files. Same for somedir2. Note: somedir2 was mkdir'ed on Client1.
Use case On Client2:
CD to the same nfs subdir. Listing files works, but the permissions are different than what is listed on Client1:
cd /.../nfsdir
ls -la
drwx------+ 56 user group 12288 Mar 13 14:28 .
drwx------+ 3 user group 30 Mar 17 12:57 ..
drwx------+ 3 user group 53248 Oct 3 04:41 somedir1
drwx---rwx+ 7 user group 4096 Mar 13 14:29 somedir2
PROBLEM1: the group permission for the same dir is different on client1 vs. client2.
CD to somedir1 works; can LS and see files.
PROBLEM2: *cannot* CD to somedir2:
bash: cd: somedir2/: Not a directory
On both clients, 'group' is defined in /etc/groups with the same id; 'user' is defined in /etc/passwd with the same id.
When I un-mount and re-mount the nfs dir on client2, I am able to access the directory in question (subdir2). Permissions, however, are still different across clients.
Does anyone have suggestions as to what is going wrong with my NFS setup? I'll be happy to post more information.
Thanks a lot!