Re: NFS mount problem between zOS and Linux

2013-12-27 Thread Mark Pace
I was having some strange issues with my z/OS to linux system and had to
specify vers(3).

 MOUNT FILESYSTEM(MYNFS) +
   MOUNTPOINT('/mnt') +
   parm('10.6.0.10:/srv/ftp/pub,vers(3)') +
 TYPE(NFS) MODE(RDWR)


On Thu, Dec 26, 2013 at 3:40 PM, Mark Post mp...@suse.com wrote:

  On 12/26/2013 at 12:55 PM, jan de decker jan.je...@gmail.com wrote:
  The mount command I tried last, after several variartions was the example
  from the IBM manual:
 
  mount -t nfs4 -o sec=sys proto=tcp Catweazle-zOS/hfs/jedsp/web /jedsp/web

 The typical mount syntax involves
 hostname:/path/name
 whereas you don't have the colon in it.

 I don't know what the -o sec=sys does, so I can't comment on that.

 In the past, you used to have to compile the mvslogin program to run on
 the Linux system that would be doing the mount.  That was so the External
 Security Manager on z/OS (whether ACF2, RACF, or other) could authenticate
 the subsequent request for the mount.  I would think that _some_ sort of
 authentication would still be needed today.


 Mark Post

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




-- 
The postings on this site are my own and don’t necessarily represent
Mainline’s positions or opinions

Mark D Pace
Senior Systems Engineer
Mainline Information Systems

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


NFS mount problem between zOS and Linux

2013-12-26 Thread jan de decker
Hi all

First of all a happy good year.

I can not mount a zOS NFS directory  from my Linux machine.

I searched the web and tried the command examples from the IBM manual but
every variation failed.

From the Linux machine I can do a showattr of the zOS server if I only
supply the zOS host name.

The last attempt was the Linux command:

mount -t nfs4 -o sec=sys proto=tcp Catweazle-zOS/jedsp /jedsp

where Catweazle-zOS is the zOS host name and jedsp are directories on both
systems.

The EXPORTS file contains:

/hfs/jedsp
JEdSP

Any help would be greatly appreciated.

Thanks,


j@n

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


Re: NFS mount problem between zOS and Linux

2013-12-26 Thread Mark Zelden
On Thu, 26 Dec 2013 15:26:26 +0100, jan de decker jan.je...@gmail.com wrote:

Hi all

First of all a happy good year.

I can not mount a zOS NFS directory  from my Linux machine.

I searched the web and tried the command examples from the IBM manual but
every variation failed.

From the Linux machine I can do a showattr of the zOS server if I only
supply the zOS host name.

The last attempt was the Linux command:

mount -t nfs4 -o sec=sys proto=tcp Catweazle-zOS/jedsp /jedsp

where Catweazle-zOS is the zOS host name and jedsp are directories on both
systems.

The EXPORTS file contains:

/hfs/jedsp
JEdSP


What error messages are you getting?  Is /jedsp really in the root?   What 
other parms if any
 are in your export for /hfs/jedsp?   Is JEdSP the HLQ  of a classic MVS data 
set?  Why
 the d in lower case (although I doubt that would matter, but I've never 
checking into nor
 used lower case in exporting MVS data sets).

--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS  
ITIL v3 Foundation Certified   
mailto:m...@mzelden.com   
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://search390.techtarget.com/ateExperts/
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


NFS mount problem between zOS and Linux

2013-12-26 Thread jan de decker
Hi all,

Thanks Mark for your quick reply.
The message after the mount command is the mount help information.
JEDSP is a MVS FLQ
I changed the EXPORTS dsn to include

/hfs/jedsp/web
WEB

and removed the old jedsp entries.

but to avail.

I am running Ubuntu 12.04
kernel  3.2.0.57

Can somebody help? I think there is an error in the mount command.

Thanks,


j@n

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


Re: NFS mount problem between zOS and Linux

2013-12-26 Thread Mark Zelden
On Thu, 26 Dec 2013 18:17:29 +0100, jan de decker jan.je...@gmail.com wrote:

Hi all,

Thanks Mark for your quick reply.
The message after the mount command is the mount help information.
JEDSP is a MVS FLQ
I changed the EXPORTS dsn to include

/hfs/jedsp/web
WEB

and removed the old jedsp entries.

but to avail.

I am running Ubuntu 12.04
kernel  3.2.0.57

Can somebody help? I think there is an error in the mount command.

Thanks,



You didn't answer the question about the dir you are trying to export.  Is it 
in the root
file system on z/OS?   Is the path actually /jedsp or /jedsp/web or something 
else  
(like /u/jedsp)?

I'm asking because it would be bad practice to create a path / dir in your z/OS 
root or 
even sysplex root as opposed to having some other standard / path where you
install z/OS unix software.  But I see it often anyway.  

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS  
ITIL v3 Foundation Certified   
mailto:m...@mzelden.com   
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://search390.techtarget.com/ateExperts/
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: NFS mount problem between zOS and Linux

2013-12-26 Thread Jim Thomas
Please check your MVS syslog... you should have error messages (especially
if your mount 
command is wrong) that should give you an idea of what the problem is. 

I missed your initial post ... please also repost your mount command ... 

Kind Regards.

Jim Thomas

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of jan de decker
Sent: Thursday, December 26, 2013 11:17 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: NFS mount problem between zOS and Linux

Hi all,

Thanks Mark for your quick reply.
The message after the mount command is the mount help information.
JEDSP is a MVS FLQ
I changed the EXPORTS dsn to include

/hfs/jedsp/web
WEB

and removed the old jedsp entries.

but to avail.

I am running Ubuntu 12.04
kernel  3.2.0.57

Can somebody help? I think there is an error in the mount command.

Thanks,


j@n

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

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


NFS mount problem between zOS and Linux

2013-12-26 Thread jan de decker
Hi all,

Mark,

I agree that maybe it is a bad practice to touch the root system but in my
case the zOS has a /jedsp/web directory because I did not want the pollute
the default install directories

Underneath /jedsp/web there are directories for pub, cgi, css  images.

The zOS HTTP server has no problem to find /jedsp/web/pub/index.html

Can you or somebody else from the list help?

Thanks,

j@n

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


NFS mount problem between zOS and Linux

2013-12-26 Thread jan de decker
Hi all,

The mount command I tried last, after several variartions was the example
from the IBM manual:

mount -t nfs4 -o sec=sys proto=tcp Catweazle-zOS/hfs/jedsp/web /jedsp/web


There are no error messages in the zOS log nor in the NFSS STC

Hope somebody can help.

Thanks


j@n

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


Re: NFS mount problem between zOS and Linux

2013-12-26 Thread Jim Thomas
Could you issue a 'mount -q /Catweazle-zOS' and re-post ??. 

Are you sure there are no error messages in the SYSLOG ??. How about RACF
messages ??. 

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of jan de decker
Sent: Thursday, December 26, 2013 11:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: NFS mount problem between zOS and Linux

Hi all,

The mount command I tried last, after several variartions was the example
from the IBM manual:

mount -t nfs4 -o sec=sys proto=tcp Catweazle-zOS/hfs/jedsp/web /jedsp/web


There are no error messages in the zOS log nor in the NFSS STC

Hope somebody can help.

Thanks


j@n

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

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


Re: NFS mount problem between zOS and Linux

2013-12-26 Thread Mark Post
 On 12/26/2013 at 12:55 PM, jan de decker jan.je...@gmail.com wrote: 
 The mount command I tried last, after several variartions was the example
 from the IBM manual:
 
 mount -t nfs4 -o sec=sys proto=tcp Catweazle-zOS/hfs/jedsp/web /jedsp/web

The typical mount syntax involves
hostname:/path/name
whereas you don't have the colon in it.

I don't know what the -o sec=sys does, so I can't comment on that.

In the past, you used to have to compile the mvslogin program to run on the 
Linux system that would be doing the mount.  That was so the External Security 
Manager on z/OS (whether ACF2, RACF, or other) could authenticate the 
subsequent request for the mount.  I would think that _some_ sort of 
authentication would still be needed today.


Mark Post

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