If this helps, here is how I have mine mounted:

>From our RHEL server named ldxzvm03 in /etc/fstab:
hiper-cpur:/hfs/u/abcdef,binary        /sftp/abcdef/center3 nfs rw,hard,intr  0 0

hiper-cpur is the Hipersocket IP of a z/OS LPAR.

On the z/OS side, we have the following defined in the NFS export file:
/hfs/u/abcdef -access=hiper-ldxzvm03

hiper-ldxzvm03 being the Hipersocket IP of our Linux guest.

Any translation  would be specified in the mount commands (man mount on the 
Linux side) or in the servers NFS attributes file. In our case we are pushing 
things across in binary mode.  Some of the z/OS side NFS server attributes you 
might want to look at are:

# translate related
text/binary
CR, CRLF, LF, LFCR, or NOEOL.
blankstrip
xlat(member)
cln_ccsid(819)
srv_ccsid(1047)
# for files created via NFS
recfm(vb), blksize(0), lrecl(8196)
dsorg(ps)
space(100,10), blks
norlse
dir(27)

So the answer is "it depends" on if/how you mount the client and configure the 
server as to whether data is automatically translated. We have some MVS data 
sets mounted out to AIX that we translate automatically. One thing we ran into 
there was when we converted some of our AIX files to Unicode. NFS can't 
tranlsate a multi-byte character set down to a single-byte character set, so 
beware of the code pages.  Or, make the NFS mount binary and translate it once 
you get to the other side with something outside of NFS. We do both ways.

z/OS NFS manual:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CPN1CO60/CONTENTS?SHELF=CPN1BS60&DT=20080710133848


__________________________________
Tom Stewart
Infrastructure Analyst
John Deere - z/OS Support Services
em: [EMAIL PROTECTED]
__________________________________




-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Leigh
Sent: Wednesday, September 24, 2008 12:59 PM
To: LINUX-390@VM.MARIST.EDU
Subject: NFS - z/OS and Linux

TNG here, so please bear with me.

I am in need of additional information regarding an NFS mount between z/OS and 
Linux (RHEL).  I understand the how-to.  It is more of the underlying process 
that I am curious about.  Particularly, if once mounted (zOS being server, and 
Linux being client) and writing/copying file directly to mounted directory, is 
there translation going on (I assume yes). and also, are the file attributes 
(record length, blocksize, etc) required/preserved when going to/from?

Basically, what I am trying to do is share data between z/OS and Linux.  I have 
found the other thread "zLinux access to z/OS 
DASD<http://www.mail-archive.com/linux-390@vm.marist.edu/msg47939.html>"
and appears that final recommendation is to go with NFS mount, but need to know 
the above information.

I apologize if I've mixed any concepts.

Thanks for any information.

Patrick

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: INFO LINUX-390 or visit 
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to