Operating System - HP-UX
1752581 Members
5372 Online
108788 Solutions
New Discussion

show permission deny when mount more than one server over NFS with 11.31 server

 
Vandee Chimcherd
Occasional Contributor

show permission deny when mount more than one server over NFS with 11.31 server

Dear expert

Please help...

My server is hp-ux 11.31, and the clients is 11.23 What I want to do is 'share file from server to 2 client with permission read-only'
but found that, it only one client can mount at a time. Here is my steps


server1#share -o ro /test1
client1#mount server1:/test1 /client1_test
No problem found.

---------------------------
now I try again
server1#share -o ro=client1:client2 /test2
client1#mount server1:/test2 /client1_test ->
client2#mount server:/test2 /client2_test
Permission denied

with the same command from server if I change ro to rw like this :
server#share -o rw=client1:client2 /test2
client1-2 can mount properly.

Do you have any idea why? not sure if i did something wrong. I logon with user root both client1 and client2 and chmod the shared file to 777. Restart /etc/rc.config.d/nfsconf but i got the same problem, Please suggest if i did something wrong

1 REPLY 1
inukoti
Frequent Advisor

Re: show permission deny when mount more than one server over NFS with 11.31 server

Hi Vandee,

what you have did is partially right.
If you want to mount multiple systems its better to use following steps than mere command line.

Steps to share a directory under 11.31

1. edit the /etc/dfs/dfstab
eg share -F nfs -o ro=client1,client2 /shared directory
2. shareall