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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mapping an NFS drive from remote comptuer

Status
Not open for further replies.

RandyRiegel

Programmer
Joined
Sep 29, 2003
Messages
256
Location
US
I am running RH Linux FC2 and need to map a directory from a remote server. The other server is an HP9000 running HP-UX 11.x. I have NFS shares setup on it, how can I mount one of those so it appears on my Linux machine?

Randy
 
I think you can do :

Code:
mount serverIP:/dir/To/Mount /localMountPoint

Failing that, have a look at Samba I guess.

--------------------------------------------------
Free Database Connection Pooling Software
 
I tried both of these and it replies with:

mount to NFS server 'server1' failed: server is down

I know the server is not down because I have Windows machines connected to it via NFS. Do I need to mount the drive as a user on the NFS drive. If so, how do I do this with the Linux mount commmand?

Randy
 
the ping is working?
if yes,
from the client (HP-UX) try the command:
showmount -e IP_of_nfs_server

show us the output.


btw: on both machines (client and server) you should have rpc process(es) started, for example at my machine:
# ps -ef | grep rpc
root 589 1 0 Apr 21 ? 0:00 /usr/sbin/rpcbind
root 625 1 0 Apr 21 ? 0:00 /usr/sbin/rpc.statd
root 631 1 0 Apr 21 ? 7:43 /usr/sbin/rpc.lockd
root 995 1 0 Apr 21 ? 2:39 /opt/dce/sbin/rpcd
root 1133 1 0 Apr 21 ? 0:00 /usr/sbin/rpc.mountd

on client you need at least `rpcbind'

Marcel


___
____
 
The HP-UX machine is the host, Linux machine is the client.

From Linux machine (192.100.100.3) "showmount -e 192.100.100.1" produced the following output:
Code:
Export list for 192.100.100.1
/u/DOS/apps     (everyone)
/u/DOS/home     (everyone)
/tnet           (everyone)

On HP-UX machine (192.100.100.1):
Code:
/ >ps -ef | grep rpc
    root  4606  4050  0 15:49:51 ttyp1     0:00 grep rpc
    root   504     1  0  Jun 24  ?         0:00 /usr/sbin/rpc.statd
    root   510     1  0  Jun 24  ?         2:10 /usr/sbin/rpc.lockd
    root   952     1  0  Jun 24  ?         0:28 /usr/sbin/rpc.pcnfsd
    root   927     1  0  Jun 24  ?         2:52 /usr/sbin/rpc.mountd
/ >
One Linux machine (192.100.100.3):
Code:
:~ # ps -ef | grep rpc
rpcuser   2235     1  0 Jul31 ?        00:00:00 rpc.statd
root      2262     1  0 Jul31 ?        00:00:00 rpc.idmapd
rpc        322     1  0 Aug01 ?        00:00:00 portmap
root       341     1  0 Aug01 ?        00:00:00 rpc.rquotad
root       364     1  0 Aug01 ?        00:00:00 [rpciod]
root       365     1  0 Aug01 ?        00:00:00 rpc.mountd
root     10692 10653  0 15:54 pts/39   00:00:00 grep rpc
:~ #

Any ideas?

 
hi again,
looks like the problem is on server.

On the server is runing the pcnfsd, which is not the same thing with nfsd, check if nfsd is runing.

ps -ef | grep nfsd
root 1146 1144 0 Apr 21 ? 0:00 /usr/sbin/nfsd 4
root 1144 1 0 Apr 21 ? 0:00 /usr/sbin/nfsd 4
root 1164 1146 0 Apr 21 ? 0:00 /usr/sbin/nfsd 4
root 1147 1144 0 Apr 21 ? 0:00 /usr/sbin/nfsd 4



take a look in "/etc/rc.config.d/nfsconf" file
look for NFS_SERVER variable, this should be set to 1.
Probable lt's 0.

if is 0 , set it to 1, and restart the nfsd.
 
Everything appears just as you have above. I think problem is on the Linux machine. I have a SCO Openserver servers also and I can map the directory I want to from it. So the HP-UX machine must be working Ok for it to let the SCO machine map a dir. Hmmm... any more ideas?

Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top