Export NFS (340 Views)
Reply
Advisor
cscoglio
Posts: 19
Registered: ‎04-14-2011
Message 1 of 7 (340 Views)

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!!
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 7 (340 Views)

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
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 3 of 7 (340 Views)

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
Advisor
cscoglio
Posts: 19
Registered: ‎04-14-2011
Message 4 of 7 (340 Views)

Re: Export NFS

thanks, but not work!!!

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

mount point exists
Honored Contributor
Patrick Wallek
Posts: 13,772
Registered: ‎06-21-2000
Message 5 of 7 (340 Views)

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.
Advisor
cscoglio
Posts: 19
Registered: ‎04-14-2011
Message 6 of 7 (340 Views)

Re: Export NFS

.
Honored Contributor
Patrick Wallek
Posts: 13,772
Registered: ‎06-21-2000
Message 7 of 7 (340 Views)

Re: Export NFS

So....Was there a solution?
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.