1745787 Members
3388 Online
108722 Solutions
New Discussion юеВ

NFS Sharing question

 
SOLVED
Go to solution
Chad T
Advisor

NFS Sharing question

I have a NFS host running HPUX 11.23. Is there a way, using NFS, to share out in my case, /usr/directoryname as a sharename? Example:

share /usr/sap as /sapmnt to NFS clients

Thank you in advance for you help.
12 REPLIES 12
Dennis Handly
Acclaimed Contributor
Solution

Re: NFS Sharing question

You can share to other Unix/Linux clients.
You can export /usr/sap. And all of your clients can mount that as /sapmnt.

You might be able to do something like that for Windows.
Steven E. Protter
Exalted Contributor

Re: NFS Sharing question

Shalom,

Edit /etc/exports

Add the path and options, there should be examples in there.

exportfs -av


On 11.31 the file is /etc/dfs/dfstab but it works the same way.

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
Chad T
Advisor

Re: NFS Sharing question

I am sorry...i left out that my NFS client is a Windows Machine. My problem is there is an install taking place on the windows box which requires access to my hpux host's /usr/sap directory. The problem is the app on the windows box requires a share of \\HPUX hostname\sapmnt (which is to point to /usr/sap). I know to edit the /etc/exports files but i am not sure the options (if any) to add so /usr/sap is exported as /sapmnt. THe man page does not help for this option.

I hope this all makes sense.
Dennis Handly
Acclaimed Contributor

Re: NFS Sharing question

>I am not sure the options (if any) to add so /usr/sap is exported as /sapmnt. The man page does not help for this option.

That's because you need to look at the Windows side to see how to do NFS. Or look at Samba/CIFS to do the sharing.
Chad T
Advisor

Re: NFS Sharing question

everything works if i export /usr/sap as far as accessing the files and directories from the windows client...my problem is this app we are installing requires a sapmnt share. i was trying to avoid installing SAMBA but it seems that is where i am going to end up.

THank you.
Steven E. Protter
Exalted Contributor

Re: NFS Sharing question

Shalom,

Windows does not ship with a NFS client.

This can be purchased and installed into windows.

Samba is not a terrible option though, it will get the job done and save money on Windows software.

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
Chad T
Advisor

Re: NFS Sharing question

Actually the NFS client for windows is free...perhaps there was a cost at some point but it is now free. Anyhow...i think i am going to try Samba and see how that goes.

Thank you both for your comments.
Chad T
Advisor

Re: NFS Sharing question

going to try samba
V. Nyga
Honored Contributor

Re: NFS Sharing question

Hi,

> everything works if i export /usr/sap as far as accessing
>the files and directories from the windows client...
>my problem is this app we are installing requires a sapmnt share.

So you have now a share /usr/sap ?

If that works, why don├В┬┤t you just link your /usr/sap to /sapmnt, then export /sapmnt ?

If Win doesn├В┬┤t recognize it as a 'share', then I believe you have go with samba.

V.
*** Say 'Thanks' with Kudos ***