1836596 Members
3080 Online
110102 Solutions
New Discussion

nfs mount

 
Willie Wright
Advisor

nfs mount

I want to mount a filesystem from Sun to HP-UX.

On the HP machine I added the filesystem to:
/etc/fstab
/etc/exportfs

On the Sun machine I added the filesystem to:
/etc/dfs/dfstab

I issue this command:
mount -F nfs saipc2a:/home/wwright /home/wwright/test

And get this error:
saipc2a:/home/wwright: access denied


I like UNIX
5 REPLIES 5
Manju Kampli
Trusted Contributor

Re: nfs mount

did you do a export of nfs file systems.. what was the syntax you used in /etc/exports file..

the best way to start would be is to export it to globally and when it works ,add restrictions to it
Never stop "LEARNING"
Andreas Voss
Honored Contributor

Re: nfs mount

Hi,

when you edit the /etc/exportfs on HP-UX than you have to reexport this file with:
exportfs -a

Regards
Andreas Voss
Honored Contributor

Re: nfs mount

Sorry,

the file for nfs exported directories on HP-UX is /etc/exports (not /etc/exportfs)

Regards
Berlene Herren
Honored Contributor

Re: nfs mount

From the NFS client, issue
#showmount -e
to ensure the server is exporting that directory.

From the server, also make sure your client is listed in the hosts database
#nslookup
#nslookup


And check the permissions of your mount point.
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Willie Wright
Advisor

Re: nfs mount

Thanks for the help.

The problem was in the /etc/dfs/dfstab file on the Sun machine.

I need to have the system name and domain name.

Error: /home/wwright sarena01
Fix: /home/wwright sarena01.oal.wdcs.com

Thanks once again
I like UNIX