I have HACMP cluster abc, service name Nfs server, which is exporting /export/abc to
other servers Eg: Nfs client1. on two of the 3 that NFS mount /export/abc, can't write
files.
Answer: We have to change the security method of that filesytem /abc on nfs server to
"sys"
Change Attributes of an Exported Directory
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* Pathname of directory to export /export/abc
Anonymous UID [-2]
Public filesystem? [no] +
* Change export now, system restart or both both +
Pathname of alternate exports file []
Allow access by NFS versions []
External name of directory (NFS V4 access only) []
Referral locations (NFS V4 access only) []
Replica locations []
Ensure primary hostname in replica list yes +
Allow delegations? []
Security method 1 [sys] +
Mode to export directory [read-write] +
[MORE...23]
showmount -e
export list for nfs server:
/export/abc Nfs client1, Nfs client2, Nfs client3.
nfs server:root:/> cd /abc
nfs server:root:/abc> ls -lrt
total 48
-rw-r----- 1 root system 0 dec 20 12:23 test
nfs client:root:/abc> cd /abc
nfs client:root:/abc> ls -lrt
total 48
-rw-r----- 1 root system 0 dec 20 12:23 test
Now we are able to write in to the /abc from client as well.