Operating System - Linux
1827589 Members
3845 Online
109965 Solutions
New Discussion

mounting /usr/local/bin from HP_UX11 to redhat 9

 
TCEQ UNIX
Advisor

mounting /usr/local/bin from HP_UX11 to redhat 9

when I try to mount /usr/local/bin from HP11 to Redhat /usr/local/bin
mount -t nfs nfs:/usr/local/bin /hp/usr/local/bin

It refuses to mount. Any advice ?
mount: nfs:/usr/local/bin failed, reason given by server: Permission denied
thank you.
He who does not slow down at the sight of a police car is usually parked.
2 REPLIES 2
Tim Sanko
Trusted Contributor

Re: mounting /usr/local/bin from HP_UX11 to redhat 9

1. ensure the directory is exported.
cat /etc/exports

If it isn't exported, use SAM on the HP to export it.

I suspect it isn't exported. You may direct the export with all kinds of parameters, but for laziness I would do it that way or enter the directory into /etc/exports and run exportfs -av.


Why would you want to mount that directory, usually there are local scripts there. That is not "usually" a repository for the networks scripts?

Tim

Nat Guyton
Advisor

Re: mounting /usr/local/bin from HP_UX11 to redhat 9

I take it you named your hp machine "nfs" and it's labeled that way in /etc/hosts, or you substituted it for your example? Otherwise, for an hp machine "jupiter" you would want to run:

mount -t nfs jupiter:/usr/local/bin /hp/usr/local/bin
Never underestimate the bandwidth of a station wagon filled with backup tapes