Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help to mount a directory between 2 stations

Status
Not open for further replies.

roadruner

Technical User
Oct 27, 2003
4
NO
Hi,

I'm unable to mount a directory from a HP-UX station to a SGI station.
on the HP-UX (name : samy) I've created the file : /etc/exports
Then I've insert the line :
/work scoobidoo(rw)

Then, I've launch the command : exportfs -a

On the SGI, I've add to the /etc/fstab the line :
samy:/work /work nfs defaults 0 0

The directory /work is created on the SGI, and is in 777

Then I ran mount -a
I obtain this error :

mount: mount of samy:/work failed: Permission denied
mount: NFS version 3 mount failed, trying NFS version 2
mount: access denied for samy:/work
mount: giving up on:
/work

I've trying to reboot the 2 stations, but the problem still exists.

On the HP, the command : showmount -e returns :

export list for samy:
/work scoobidoo(rw)


Any Idea ?

Thanks in advance

 
is scoobidoo a known host to sammy? ie, is there an entry in /etc/hosts
 
Yes it's a known host.
I've tried to specify the IP adress instead of the host name in the mount command, and the result is the same.

 
I had a similar problem a few weeks ago, and in my case it was down to one of the following processes not running on the nfs host:

/usr/sbin/rpcbind
/usr/sbin/rpc.lockd
/usr/sbin/rpc.statd
/opt/dce/sbin/rpcd
/usr/sbin/rpc.mountd

try a ps -ef and see if any are not running.
 
I've delete the export point and create it again, but with SAM utility, and now, all is running well

Thanks for your help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top