HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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