Discussion:
NFS on Mainframe
(too old to reply)
Munif Sadek
2017-12-04 03:48:56 UTC
Permalink
Dear Listers

I need your help in mounting pSeries (and may be NetApp) NFS folder on my zOS 2.3. I have tried it before NFS(and also SMB) but had give up on one pretext or other. Yes I am corporate slave and have no authority over Network Storage, Open system Certificate Management etc and had to get my requirements right.

Is anyone doing it and if yes, May I please get any pointers.

kind regards,
Munif

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Timothy Sipples
2017-12-04 09:00:16 UTC
Permalink
To clarify, z/OS is the NFS client, and something else is the NFS server,
correct?

It'd be helpful to know exactly what is the NFS server. If it's AIX, what
release? If it's NetApp's NFS server, same question.

--------------------------------------------------------------------------------------------------------
Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z and LinuxONE, AP/GCG/MEA
E-Mail: ***@sg.ibm.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Mark Jacobs - Listserv
2017-12-04 12:22:03 UTC
Permalink
Last time I looked (about 15 years ago), zOS has both an NFS client and
server available.
December 4, 2017 at 4:01 AM
To clarify, z/OS is the NFS client, and something else is the NFS server,
correct?
It'd be helpful to know exactly what is the NFS server. If it's AIX, what
release? If it's NetApp's NFS server, same question.
--------------------------------------------------------------------------------------------------------
Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z and LinuxONE, AP/GCG/MEA
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
Please be alert for any emails that may ask you for login information
or directs you to login via a link. If you believe this message is a
phish or aren't sure whether this message is trustworthy, please send
--
Mark Jacobs
Time Customer Service
Global Technology Services

The standard you walk past is the standard you accept.
Lt. Gen. David Morrison


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Jousma, David
2017-12-04 12:48:37 UTC
Permalink
If AIX is the NFS server, you have specific steps to do to export the filesystem, and add the correct IP to the export list to allow it to be mounted. You will need to find a friend in either Network storage or Open system to do some of the admin setup for you.

_________________________________________________________________
Dave Jousma
Manager Mainframe Engineering, Assistant Vice President
***@53.com
1830 East Paris, Grand Rapids, MI  49546 MD RSCB2H
p 616.653.8429
f 616.653.2717

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-***@LISTSERV.UA.EDU] On Behalf Of Munif Sadek
Sent: Sunday, December 03, 2017 10:50 PM
To: IBM-***@LISTSERV.UA.EDU
Subject: NFS on Mainframe

**CAUTION EXTERNAL EMAIL**

**DO NOT open attachments or click on links from unknown senders or unexpected emails**

Dear Listers

I need your help in mounting pSeries (and may be NetApp) NFS folder on my zOS 2.3. I have tried it before NFS(and also SMB) but had give up on one pretext or other. Yes I am corporate slave and have no authority over Network Storage, Open system Certificate Management etc and had to get my requirements right.

Is anyone doing it and if yes, May I please get any pointers.

kind regards,
Munif

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN **CAUTION EXTERNAL EMAIL**

**DO NOT open attachments or click on links from unknown senders or unexpected emails**

This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Chris Vogan
2017-12-04 21:35:48 UTC
Permalink
Post by Munif Sadek
Dear Listers
I need your help in mounting pSeries (and may be NetApp) NFS folder on my zOS 2.3. I have tried it before NFS(and also SMB) but had give up on one pretext or other. Yes I am corporate slave and have no authority over Network Storage, Open system Certificate Management etc and had to get my requirements right.
Is anyone doing it and if yes, May I please get any pointers.
kind regards,
Munif
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
Munif,
Sounds like you want the zNFS Client.
I am not sure how far along you are with setting up the zNFS Client, For starters I typically share this link with my customers.
For the zNFS Client only use entries in the following steps that apply to NFS Client. Steps: 1,4,6,8,10.

https://www.ibm.com/developerworks/community/blogs/e0c474f8-3aad-4f01-8bca-f2c12b576ac9/entry/Shortcut_bringing_up_z_OS_NFS?lang=en

Step 10 is missing the example filesystem syntax for the BPXPRMxx member:
FILESYSTYPE
TYPE(NFS)
ENTRYPOINT(GFSCINIT)
PARM(’biod(8)’)
ASNAME(mvsnfsc)


As David pointed out, You will need to configure an NFS export (if non-exist) on the server which you intend to use.

You can query the available exports on a server with:
/usr/lpp/NFS/showmount -e <server>

From OMVS you could mount AIX or Netapp with the following command:
/usr/sbin/mount -t nfs -f NFS.V4.MOUNT -w 0 -o "<server>:/<remote-path>,vers(4),xlat(y)" /<localmnt-point>
Munif Sadek
2017-12-05 05:22:01 UTC
Permalink
To start with. I am planning to l configure NFS client on my Sandbox zOS 2.3 LPAR and NFS server on sandbox AIX 7.1 LPAR (using classic IBM Hypervisor).

Depending on the outcome, I may switch zOS to be the NFS server. Our main objective is stop FTPing tens of reports but write them to NFS so that end-users (non mainframers) can pick them up.

Do not want to mention NetApp as of yet and waiting for *corporate* security guidelines, especially with the NFS <-->CIFS.


regards Munif

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Grant Taylor
2017-12-05 16:14:57 UTC
Permalink
Post by Munif Sadek
Depending on the outcome, I may switch zOS to be the NFS server. Our main
objective is stop FTPing tens of reports but write them to NFS so that
end-users (non mainframers) can pick them up.
Have you considered using sftp as a replacement for ftp?
--
Grant. . . .
unix || die
Andrew Rowley
2017-12-05 23:56:15 UTC
Permalink
Post by Munif Sadek
Depending on the outcome, I may switch zOS to be the NFS server. Our main objective is stop FTPing tens of reports but write them to NFS so that end-users (non mainframers) can pick them up.
Have you considered serving them via HTTPS instead?
--
Andrew Rowley
Black Hill Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Chris Vogan
2017-12-05 15:37:04 UTC
Permalink
Post by Munif Sadek
Dear Listers
I need your help in mounting pSeries (and may be NetApp) NFS folder on my zOS 2.3. I have tried it before NFS(and also SMB) but had give up on one pretext or other. Yes I am corporate slave and have no authority over Network Storage, Open system Certificate Management etc and had to get my requirements right.
Is anyone doing it and if yes, May I please get any pointers.
kind regards,
Munif
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
Then you have everything you need to proceed. Post your progress and/or issues.
Paul Gilmartin
2017-12-05 23:10:41 UTC
Permalink
Post by Munif Sadek
To start with. I am planning to l configure NFS client on my Sandbox zOS 2.3 LPAR and NFS server on sandbox AIX 7.1 LPAR (using classic IBM Hypervisor).
Depending on the outcome, I may switch zOS to be the NFS server. Our main objective is stop FTPing tens of reports but write them to NFS so that end-users (non mainframers) can pick them up.
We tried that once. Failed because of a certain application that used
commas in filenames.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Longnecker, Dennis
2017-12-05 23:43:28 UTC
Permalink
I'm jumping in on this....is there any quickstarts out there to get NFS (Client or server?) installed on z/os?

Dennis

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-***@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin
Sent: Tuesday, December 5, 2017 3:12 PM
To: IBM-***@LISTSERV.UA.EDU
Subject: Re: NFS on Mainframe
Post by Munif Sadek
To start with. I am planning to l configure NFS client on my Sandbox zOS 2.3 LPAR and NFS server on sandbox AIX 7.1 LPAR (using classic IBM Hypervisor).
Depending on the outcome, I may switch zOS to be the NFS server. Our main objective is stop FTPing tens of reports but write them to NFS so that end-users (non mainframers) can pick them up.
We tried that once. Failed because of a certain application that used commas in filenames.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
John McKown
2017-12-06 01:51:03 UTC
Permalink
On Tue, Dec 5, 2017 at 5:11 PM, Paul Gilmartin <
Post by Munif Sadek
Post by Munif Sadek
To start with. I am planning to l configure NFS client on my Sandbox zOS
2.3 LPAR and NFS server on sandbox AIX 7.1 LPAR (using classic IBM
Hypervisor).
Post by Munif Sadek
Depending on the outcome, I may switch zOS to be the NFS server. Our main
objective is stop FTPing tens of reports but write them to NFS so that
end-users (non mainframers) can pick them up.
We tried that once. Failed because of a certain application that used
commas in filenames.
​Why would a comma cause a problem? I'm not NFS literate. But wouldn't
PATH='/some/directory,me/file.txt' work on NFS as well as zFS?​
Post by Munif Sadek
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
--
I have a theory that it's impossible to prove anything, but I can't prove
it.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Paul Gilmartin
2017-12-06 00:16:43 UTC
Permalink
Post by Andrew Rowley
Post by Munif Sadek
Depending on the outcome, I may switch zOS to be the NFS server. Our main objective is stop FTPing tens of reports but write them to NFS so that end-users (non mainframers) can pick them up.
Have you considered serving them via HTTPS instead?
Are the "reports" all text; no binary; no packed decimal?

Might be practical with a script to add headers and footers and entify
"dangerous" characters, "&", "<", and ">".

And some browsers will treat a document lacking HTML headers as
preformatted text.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Munif Sadek
2017-12-06 01:27:10 UTC
Permalink
Hi Andrew

Thanks for the hint. Last time I read about HTTPS, when I was attempting to implement SSL on our ezasocket CICS Listener. I just hope that I do not need another licensed product. I do not think HTTPS is the solution in our case but may be a replacement for FTP.

NFS is such a *out of box things* in non-Mainframe world and surprise to see its not popular/standard in Mainframe which is taken for granted to be large Data server.

I have got NFS Guide and reference 640 Pages manual to review and was expecting if any kind lister can give some pointer to implement NFS with and without security.

(neither I have LDAP or Kerberos customized in our mainframe, so there will be heavy lifting)

Thanks a lot,
Kind regards
Munif

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Paul Gilmartin
2017-12-06 03:30:35 UTC
Permalink
Post by John McKown
Post by Paul Gilmartin
We tried that once. Failed because of a certain application that used
commas in filenames.
​Why would a comma cause a problem? I'm not NFS literate. But wouldn't
PATH='/some/directory,me/file.txt' work on NFS as well as zFS?​
Network File System Guide and Reference Version 2 Release 3
Naming MVS files
The z/OS NFS server uses the comma (,) as a delimiter to a list of file attributes.
Do not use a comma as a special character in file name. For example, you can
enter this command:
$ vi "/u/smith/new,text"

This indicates to NFS that a file called new is being edited in the attribute text
mode, not file new,text.

And while the delimiter can be changed, (perhaps entirely disabled, unlike ISPF's
delimiter), this is in global options and may adversely affect other users who
depent on using ',' as a delimiter.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Timothy Sipples
2017-12-06 11:44:37 UTC
Permalink
Yes, there is a z/OS NFS "Quick Setup Guide," available here:

https://www.ibm.com/developerworks/community/blogs/e0c474f8-3aad-4f01-8bca-f2c12b576ac9/entry/Shortcut_bringing_up_z_OS_NFS?lang=en

This guide covers both the NFS Server and NFS Client. If you're setting up
only the NFS Client (and expect to stay that way), you can skip the NFS
Server-only steps.

--------------------------------------------------------------------------------------------------------
Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z and LinuxONE, AP/GCG/MEA
E-Mail: ***@sg.ibm.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Timothy Sipples
2017-12-06 11:51:33 UTC
Permalink
z/OS 2.2 is also going to be withdrawn from marketing soon, on January 28,
2018. If you have interest in that particular release and haven't ordered
it yet, please do.

IBM Multi-Version Measurement (MVM) should mean, in practice, that you just
reflexively order every new release that interests you, or might interest
you. I explain that logic here:

http://millennialmainframer.com/2017/05/ibm-multi-version-measurement/

--------------------------------------------------------------------------------------------------------
Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z and LinuxONE, AP/GCG/MEA
--------------------------------------------------------------------------------------------------------

E-Mail: ***@sg.ibm.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Timothy Sipples
2017-12-06 12:19:40 UTC
Permalink
Or don't transfer files and shift toward "in place" computing, APIs,
microservices, database interfaces, MQ messages, and so forth -- "online"
computing, broadly speaking. You might currently be using FTP, FTPS, SFTP,
and/or NFS to lash together two or more information processing systems, but
maybe that choice was never the best option for the mission.

If you don't like FTPS or SFTP, if you like (or at least genuinely need)
FTP, and if you need to get that in-flight data encrypted, then you can use
the IBM Encryption Facility for z/OS together with any OpenPGP-compliant
communicating system. Indeed, in many ways the Encryption Facility for z/OS
is a better, more secure option -- even if you have implemented/in
conjunction with FTPS and/or SFTP -- because you can encrypt different
files with different keys and keep them encrypted through the entire
transport loop, even if it's multi-hop. You can even have a .zip (or
comparable) archive file containing multiple files, each encrypted with
Encryption Facility for z/OS, each encrypted with a separate key.

Another transport-level encryption option (only) is unencrypted FTP (or
NFS) over an encrypted IPSec tunnel. IPSec works best if you have a
permanent or semi-permanent, reasonably finite set of communicating
systems. z/OS IPSec is a substantially zIIP-eligible workload.

Yet another option is TLS/SSL encrypted SMTP (e-mail) transmission. You can
do that straight from CICS Transaction Server using IBM SupportPac CA1Y,
available at no additional charge:

http://www.ibm.com/support/docview.wss?uid=swg24033197

SupportPac CA1Y is, at least in principle, bi-directional. That is, CICS
Transaction Server can both send mail (SMTP) and retrieve mail (IMAP or
POP3). The latter is not something IBM has tested in this particular
environment, but there are no known issues. CA1Y is using JavaMail, a
common codebase. Thus SupportPac CA1Y is substantially zIIP-eligible
workload.

z/OS CSSMTP is another option, and it can send mail unidirectionally
outbound, from z/OS to a SMTP server. It too supports TLS/SSL encrypted
connections, at least via z/OS AT-TLS.

There are LOTS of options to improve your security posture...and you should
have made those improvements long ago, but better late than never.

--------------------------------------------------------------------------------------------------------
Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z and LinuxONE, AP/GCG/MEA
E-Mail: ***@sg.ibm.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Tom Marchant
2017-12-06 12:23:37 UTC
Permalink
S​o this simply means we won't be able to order them any more, correct? IBM
will still fix bugs and support the products for the foreseeable future.
​Right. It is a kind of warning to be sure to make some very secure back
ups of the products because you won't be able to re-order them should they
somehow "disappear".​
And you won't be able to order them with a z/OS upgrade after they are
withdrawn, so you will have to use another method to get them included
on your new system.
--
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
John McKown
2017-12-06 13:59:02 UTC
Permalink
On Wed, Dec 6, 2017 at 6:24 AM, Tom Marchant <
Post by Tom Marchant
S​o this simply means we won't be able to order them any more, correct?
IBM
will still fix bugs and support the products for the foreseeable future.
​Right. It is a kind of warning to be sure to make some very secure back
ups of the products because you won't be able to re-order them should they
somehow "disappear".​
And you won't be able to order them with a z/OS upgrade after they are
withdrawn, so you will have to use another method to get them included
on your new system.
​I don't remember what all I did for one such product, but I basically used
a BUILDMCS command such that I could put all the SMPE data into a separate
CSI.​
Post by Tom Marchant
--
Tom Marchant
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Porowski, Kenneth
2017-12-06 17:53:03 UTC
Permalink
Or just order a ServerPac with just Cobol 4.2 in it before it gets withdrawn and stick it in a separate SMP environment.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-***@LISTSERV.UA.EDU] On Behalf Of John McKown
Sent: Wednesday, December 06, 2017 9:00 AM
To: IBM-***@LISTSERV.UA.EDU
Subject: Re: [IBM-MAIN] some software withdrawal from marketing announcements (to me)
Post by Tom Marchant
S​o this simply means we won't be able to order them any more, correct?
IBM
will still fix bugs and support the products for the foreseeable future.
​Right. It is a kind of warning to be sure to make some very secure
back ups of the products because you won't be able to re-order them
should they somehow "disappear".​
And you won't be able to order them with a z/OS upgrade after they are
withdrawn, so you will have to use another method to get them included
on your new system.
​I don't remember what all I did for one such product, but I basically used a BUILDMCS command such that I could put all the SMPE data into a separate CSI.​
Post by Tom Marchant
--
Tom Marchant
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Munif Sadek
2017-12-08 05:00:45 UTC
Permalink
Thank you Mr Sipples

Got my NFS client started successfully (ignored following warning as no security initially and target Unix server is PINGable)
GFSC284I NETWORK FILE SYSTEM CLIENT COULD NOT GET GSS CREDENTIALS
FOR THE NFS CLIENT : GSS API krb5_get_default_realm() FAILED
WITH GSS MAJOR STATUS 96C73ADF GSS MINOR STATUS 00000000

Now when I am trying to mount a UNIX file via zOS command
MOUNT FILESYSTEM(NFS) +
TYPE(NFS) +
MOUNTPOINT('/NFS') +
MODE(RDWR) +
PARM('nnn.nnn.nnn.nnn:"/nfs,",') +
NOSETUID +
TAG(TEXT,1047) +
WAIT
I am getting
BPXF135E RETURN CODE 00000079, REASON CODE 6E017015. THE MOUNT FAILED FOR FILE SYSTEM NFS
or
BPXF135E RETURN CODE 00000079, REASON CODE 6E017017. THE MOUNT FAILED FOR FILE SYSTEM NFS
Cant find anywhere Reason Code "6E017017" including in IBM SR, Google.
Cant find any incoming / outgoing packets between zOS and Unix server
Did try to run a CT on mvsnfsc with OPTIONS All, but component trace is not recording any data.

Thanks once again for your advise, and helping me out

kind regards
Munif

Can someone please give me simple syntax for zOS NFS client MOUNT please or point me in the right direction.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Munif Sadek
2017-12-08 05:24:44 UTC
Permalink
Apologies Listers

Falls alarm..Message is documented in SC23-6883-30 as Parm invalid. Now I am in much better place with IP packets trace and following error messages
BPXF162E ASYNCHRONOUS MOUNT FAILED FOR FILE SYSTEM NFS.
BPXF135E RETURN CODE 00000081, REASON CODE 6E050002. THE MOUNT FAILED FOR FILE SYSTEM NFS.

Kind regards Munif.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Chris Vogan
2017-12-08 22:10:35 UTC
Permalink
Post by Munif Sadek
Dear Listers
I need your help in mounting pSeries (and may be NetApp) NFS folder on my zOS 2.3. I have tried it before NFS(and also SMB) but had give up on one pretext or other. Yes I am corporate slave and have no authority over Network Storage, Open system Certificate Management etc and had to get my requirements right.
Is anyone doing it and if yes, May I please get any pointers.
kind regards,
Munif
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
You were close. You had some empty parms (optional for the client). You need to omit the comma's if you are not going to epecify any.

Try:
MOUNT FILESYSTEM(NFS) +
TYPE(NFS) +
MOUNTPOINT('/NFS') +
MODE(RDWR) +
PARM('nnn.nnn.nnn.nnn:"/nfs"') +
NOSETUID +
TAG(TEXT,1047) +
WAIT

But if you want some ascii<->ebcidc translation you will want to
drop the tag add xlat(y).
Try:
MOUNT FILESYSTEM(NFS) +
TYPE(NFS) +
MOUNTPOINT('/NFS') +
MODE(RDWR) +
PARM('nnn.nnn.nnn.nnn:"/nfs",xlat(y)') +
NOSETUID +
WAIT
Munif Sadek
2017-12-12 03:10:44 UTC
Permalink
Hi Allan

BPXMTEXT does not support reason code qualifier 6E05

From Network File System Guide and Reference Version 2 Release 3
SC23-6883-30

6E Indicates NFS Client modules (that is, GFSCxxxx).

05 NFS reason codes yyyy See Table 74 on page 457.

0002 NFSERR_NOENT No such file or directory
A component of a specified path name does not exist, or the
path name is an empty string.
Action: Ensure that the file or directory exists.

Got my NFS client working and now off to NFS server before venturing in to NFS security and encryption.
Component trace for mvsnfsc also worked like a charm, just need doco to interpret trace entries although errors are error code stands out.

Thanks a lot.
Kind Regards
Munif

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
e***@gmail.com
2017-12-18 17:39:57 UTC
Permalink
Hello Munif,

We have an NFS client running on z/os (we use it together with an automount policy). It used to talk to a NETAPP filer, now it talks to an EMC NAS storage device.
Of course you need the physical filesystem definition:
FILESYSTYPE TYPE(NFS) ENTRYPOINT(GFSCINIT) PARM('DISABLELLA(Y)')
ASNAME(MVSNFSC,'SUB=MSTR')

And then the NFS mount (In our case from an automount policy) for netapp looked like /etc/netapp.map:
name targetdir1
lowercase yes
type NFS
filesystem TARGET1
mode RDWR
duration nolimit
delay 30
parm filerdns:/vol/vol_lock_s/qt_lock_s,xlat(N) rsize=65535 wsize=65535

if the corresponding /etc/auto.master has something like:
/var/netapp /etc/netapp.map

and sh automount was executed, then a subsequent access to /var/netapp/targetdir1 should lead to a nfs mount.

For example, executing:
touch /var/netapp/targetdir1/test.file
should lead to the creation of a test.file inside your netapp filer.

depending on the type of file you might need the xlan(N) to prevent codepage conversions or vers(3) for example to force a specific NFS version.
On the netapp side we had to make sure that the qtree security was set to unix (don't recall the specifics) and that the user doing the mount had correct uid and gid in its OMVS segment.
Loading...