1836433 Members
2532 Online
110100 Solutions
New Discussion

Re: NFS problem

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

NFS problem

I have server A with HP-UX 11.23. And server B and C with HP-UX 11.11.

Server B has a directory /UVR/TMP and I have mapped succesfully and NFS from Server A.

I have executed the following command in server A (to server B):

mount ServerB:/UVR/TMP /localdir

I have tryed the same from server A (to server C):

mount ServerC:/UVR/TMO /localdir
Permission denied.

Both servers B and C, have identical directory /UVR/TMP which same privs, owning, etc.

Any idea about my problem?

8 REPLIES 8
Steven E. Protter
Exalted Contributor
Solution

Re: NFS problem

Check the numeric id of the user and make sure its 0.

Check the /etc/exports files, its probably excluding access by hostname or ip address.

If you are unsure post the files.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
RAC_1
Honored Contributor

Re: NFS problem

there is alrady something mounted on /localdir. Change the mount point for second mount point.

Also from server A, if you do showmount -e serverC, does it shouw the exported dirs from server C?
There is no substitute to HARDWORK
Tonatiuh
Super Advisor

Re: NFS problem

# id
uid=0(root)

I have no idea what you mean with /etc/exports. I have not found any file or directory with than name.

Tonatiuh
Super Advisor

Re: NFS problem

RAC,

I have unmounted the before NFS. I have no NFS mounted in /localdir right now.

# showmount -e ServerC
no exported file systems for ServerC
RAC_1
Honored Contributor

Re: NFS problem

ServerC is actual name of your server C
There is no substitute to HARDWORK
Tonatiuh
Super Advisor

Re: NFS problem

I have replaced all IPs with this kind of synonyms to make it easier to understand to you.
Paul_481
Respected Contributor

Re: NFS problem

Hi Tontiuh,

Is ServerC already configured to export the /UVR/TMP direcotory?

try running the command "exportfs" on ServerC to check if /UVR/TMP can be exported.

Regards,
Paul
Tonatiuh
Super Advisor

Re: NFS problem

I did not have the /etc/exports. The problem is now solved.

THANKS!