cancel
Showing results for 
Search instead for 
Did you mean: 

NFS setup

SOLVED
Go to solution
IFX_1
Frequent Advisor

NFS setup

How can I define the directory -

DISK$USERS:[USER.COMETSVF.CALLVF.MAL.DATEN.VF42]

into

/nfs/user/cometsvf/callvf/mal/daten/vf42

So that when issue show export it will appear as it is...

$ tcpip show export

File System Host name

/nfs/user/cometsvf/callvf/mal/daten/vf42


Appreciate your help.
6 REPLIES
Karl Rohwedder
Honored Contributor
Solution

Re: NFS setup

Ronald,

out of memory:

- 1st map the drive:
TCPIP MAP "/nfs" DISK$USERS:

- 2nd add the export
TCPIP ADD EXPORT "/nfs/user/cometsfv..." /host=... and more...

regards Kalle
Volker Halle
Honored Contributor

Re: NFS setup

Ronald,

try

TCPIP> MAP "/nfs" DISK$USERS:
TCPIP> ADD EXPORT "/nfs/user/cometsvf/callvf/mal/daten/vf42" /HOST=*

Volker.
Shardha
Valued Contributor

Re: NFS setup

Ronald,

After map and export you need to set proxy settings in the tcpip, to allow users to access the disk.

Shardha
IFX_1
Frequent Advisor

Re: NFS setup

Hi All,
Thanks for your reply.
So this is how to do it:

1. Map the disk
2. Add export
3. Add proxy ! to let the user access the NFS folder

regards,
ronald
Mike Smith_33
Super Advisor

Re: NFS setup


Ron, here is a little bit more detail.

$ tcpip
tcpip> map "/nfs" disk$users:
tcpip> set config map "/nfs" disk$users:
(This makes it permanent!!)
tcpip> add export "/nfs/blah/blah/blah" /host="hostname"
(I would not recommend export to *, specify your hosts)

You will also need a proxy for the host to get in. It is real easy to determine the uid and gid of the by doing a reply/enable=network on the vms node and then attempting access from the nfs client using both a privileged and a non privileged user. The defaults to set are normally done as follows.

tcpip> add proxy nfsuser /uid=-2/gid=-2/host="hostname"
tcpip> add proxy nfsuser/uid=0/gid=1/host="hostname"

If you have problems with the access from the nfs client, the reply /enable=network will show you the credentials being used for the attempted access. Make sure your proxy and uids and gids match that and you should be fine.
IFX_1
Frequent Advisor

Re: NFS setup

thanks.