1748171 Members
4170 Online
108758 Solutions
New Discussion юеВ

Export NFS

 
cscoglio
Advisor

Export NFS

Hi...

I need export (nfs) a directory from AIX to HP-UX 11.31.
The showmount command show this:
/BI_prod (everyone)
/respaldos/sap_target (everyone)

and i use:

mount -F nfs 10.0.154.16:/respaldos/sap_target /respaldos/sap_target

but an errors occurs:

nfs mount: 10.0.154.16:/respaldos/sap_target:
FAILURE CODE: 1
Mount failed! Possible local filesystem mount.
If local filesystem, then nfs.server will mount it

Please i need the possible solution

Regards!!
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Export NFS

Shalom,


Your command fails to have a a local filesystem to mount on.

Correct syntax is:
mount -F nfs 10.0.154.16:/respaldos/sap_target /respaldos/sap_target /localfilesysetm

/localfilesystem needs to exist.

mount -F nfs

As pasted there is no space and therefore no local mount point.

From a remote system.

showmount -e hostname
showmount -e

Make sure you see the shares.

showmount -e will work from the HP-UX side.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: Export NFS

Shalom again.

Also helpful would be exportfs data from the AIX system. It is possible to filter NFS mounts with command line options that would lock out your host.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
cscoglio
Advisor

Re: Export NFS

thanks, but not work!!!

mount -F nfs 10.0.154.16:/respaldos/sap_target /respaldos/sap_target

mount point exists
Patrick Wallek
Honored Contributor

Re: Export NFS

I think what the error is saying is that the /respaldos/sap_target on your local server is already a mount point. NFS apparently does not like that.

What happens if you do:

cd /respaldos/sap_target
bdf .

If it reports the filesystem as '/respaldos/sap_target' then you may need to unmount it and then try your NFS mount again.
cscoglio
Advisor

Re: Export NFS

.
Patrick Wallek
Honored Contributor

Re: Export NFS

So....Was there a solution?