Operating System - HP-UX
1758347 Members
2042 Online
108868 Solutions
New Discussion юеВ

Re: mount remote filesystem fails

 
SOLVED
Go to solution
Ahmad Munawwar
Frequent Advisor

mount remote filesystem fails

Hi,

The following message reported when try to mount remote (server) filesystem:
Need some advise.

Regards,
Munawwar

# mountall
mountall: cannot mount mashost:/fs1/var/tmos
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/var/mail
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/fs1/var/dynatext
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/fs1/opt/tmos
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/opt/sybase
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/fs1/opt/mvw
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/opt/install/patches
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/opt/dynprods
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/fs1/opt/dynatext
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/fs1/opt/doc
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/fs1/opt/applix
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/opt/XView
mountall: diagnostics from mount
mount: mashost: Connection refused
mountall: cannot mount mashost:/fs1/home
mountall: diagnostics from mount
mount: mashost: Connection refused
# mount -a
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: mashost: Connection refused
mount: /dev/vg00/lvol1 is already mounted on /stand
7 REPLIES 7
Michael Tully
Honored Contributor

Re: mount remote filesystem fails

Hi,

This type of problem can happen for a couple of reasons.

The remote system is down, or has a network problem.
The remote system does not allow a connection from this computer, see /var/adm/inetd.sec
The remote system does not have this system as part of it's exported file list, see /etc/exports file on the remote server.

HTH
Michael
Anyone for a Mutiny ?
V. V. Ravi Kumar_1
Respected Contributor
Solution

Re: mount remote filesystem fails

hi,
check if the local system has entry of remote system in /etc/hosts.
ex:
x.x.x.x mashost
also check that /fs1/home is listed in /etc/exports in remote system. if not list it and run
#exportfs -a
Also ensure that nfs daemons are running on the remote machine.

regds
Never Say No
Ahmad Munawwar
Frequent Advisor

Re: mount remote filesystem fails

Hi,

i got the following message after edit the local etc/hosts
with x.x.x.x mashost:

mountall: cannot mount mashost:/fs1/home
mountall: diagnostics from mount
mashost:: RPC_PROG_NOT_REGISTERED

br,
munawar
Christian Gebhardt
Honored Contributor

Re: mount remote filesystem fails

The following steps are necessary to mount Filesystems via NFS:

Situation machine a has a directory and machine b wants to mount it:

on machine a:

- in /etc/rc.config.d/nfsconf NFS_SERVER=1
- /sbin/init.d/nfs.server start
- Filesystem in /etc/exports
- exportfs -a

on machine b:

- in /etc/rc.config.d/nfsconf NFS_CLIENT=1
- /sbin/init.d/nfs.client start
- mkdir /nfs_mountpoint
- mount
Christian Gebhardt
Honored Contributor

Re: mount remote filesystem fails

nfs mount: get_fh: marvin:: RPC: Program not registered

This error message results i NFS-Server is not running

The following daemons have to run on NFS-Server:

rpcbind
rpc.mountd
rpc.lockd
rpc.statd
a couple of nfsd

Christian
V. V. Ravi Kumar_1
Respected Contributor

Re: mount remote filesystem fails

hi,
stop and start the nfs server on remote machine.
#/sbin/init.d/nfs.server stop/start
are both the machines HP servers?

regds
Never Say No
Ahmad Munawwar
Frequent Advisor

Re: mount remote filesystem fails

Hi all,

The following action was taken to resolve the problem:

1. Create entry x.x.x.x mashosts in /etc/hosts (Local)

2. Edit the SET_MOUNTD=0 /etc/rc.config.d/nfsconf (local)

3. /sbin/init.d/nfs.server start (Remote)

4. exportfs -a (Remote)

5. Mountall (Local)

The problem resolved and now is time for reward your guys.

regards,
Munawwar