1836367 Members
2030 Online
110100 Solutions
New Discussion

NFS SERVER AND CLIENTE

 
Isaac_4
Frequent Advisor

NFS SERVER AND CLIENTE

I config the nfsserver in my hpux 11.31 box , but I configure the nfsclient in to mount the directory that i put in the nfsserver.

(client and Server nfs are in the same server)

When i try to access de nfsserver directory and try to write some in the directory
I get a "permission Denied"

Some idea about that
The time is gold
7 REPLIES 7
Analyst
Trusted Contributor

Re: NFS SERVER AND CLIENTE

Hi Issac,

Have you went through /etc/exports file
check for the entries in the for the nfs mounted filesystems.

use exportfs -au , check the for any errors.

Check the entries in the file /etc/rc.config.d/nfsconf

If needed restart the
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.server start.

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start

Thanks,
Analyst.
Isaac_4
Frequent Advisor

Re: NFS SERVER AND CLIENTE

i have hpux 11.31 this version use dfstab

i don have problem import o export the problem is when use root user and try to write in same server

thks
The time is gold
OldSchool
Honored Contributor

Re: NFS SERVER AND CLIENTE

just to clarify, you are exporting a filesystem, and then using NFS to mount it back on the *same* server?

in any case, the relevant entry from /etc/exports on the server, and either the /etc/fstab entry )or the mount command used if done manually) would be helpful.

if it really is exported and then mounted on the same server, then WHY???? (what was the desired goal?)

Isaac_4
Frequent Advisor

Re: NFS SERVER AND CLIENTE

OlD School :

Its a requiriment for Serviguard and Aplication.
The time is gold
OldSchool
Honored Contributor

Re: NFS SERVER AND CLIENTE

once again:

"...the relevant entry from /etc/exports on the server, and either the /etc/fstab entry )or the mount command used if done manually) would be helpful."

saravanan08
Valued Contributor

Re: NFS SERVER AND CLIENTE

hi

can u able to read the files in that directory?

if yes means then check the directory permission of the exported directory.

the other user in the permission field should have write permission in that directory. then only u can write some files in the directory...

drwxrwxrwx .......

try this

thank you
wci
Frequent Advisor

Re: NFS SERVER AND CLIENTE

As per OLD school

Are u exporting the file system with any options and are u mounting this file system to the same server?

Also is this file system mounted and exported through service guard package?

check "man exportfs"

have a look at the option " -o root=hostname "
in your case.

WCI