Re: RH NFS Server

2011-09-26 Thread Dazzo, Matt
John, in your parm statement (:/nfs/LIH1) is nfs an real dir or a 
specification? 

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of McKown, 
John
Sent: Friday, September 23, 2011 11:57 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RH NFS Server

For z/OS NFS, the FILESYSTEM is syntactically required and the name must be 
unique, but it is a logical name and not an actual data set name. An example 
which works on my z/OS 1.10 system is:

  MOUNT FILESYSTEM('SERVER1.ASCII') +
   MOUNTPOINT('/nfs-ascii/server1') +
 PARM('10.168.254.172:/nfs/LIH1,xlat(Y),proto(udp),vers(3)') +
   TYPE(NFS) +
   MODE(RDWR)

SERVER1.ASCII is not a DSN.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of Mark Post
 Sent: Friday, September 23, 2011 10:46 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server
 
  On 9/23/2011 at 11:30 AM, Dazzo, Matt mda...@pch.com wrote: 
  This morning I changed the job to remove that possible root 
 issue but still 
  not working. As you can see I moved the mount point to 
 /home/matt That path 
  has 777 to eliminate any permission issues and should not 
 be owned by root. I 
  changed the exports file to add the no_root_squash anyway. 
 Opened up a 
  service request with IBM to try and get some additional 
 info on the error 
  messages.
  
  MOUNT FILESYSTEM(SYS1.NFSTEST) TYPE(NFS) +  
  MOUNTPOINT('/u/st1mat/test/') + 
  PARM('lntest1.li.pch.com:/home/matt,XLAT(Y),ver(3)')
 
 I don't have an MVS system to play with any more, but to me, 
 the FILESYSTEM(SYS1.NFSTEST) piece just seems wrong.  There 
 shouldn't be any need to reference a local dataset when 
 mounting an NFS export.
 
 
 Mark Post
 
 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO 
 LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/
 
 
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: RH NFS Server

2011-09-26 Thread McKown, John
The actual subdirectory name on my Linux box is /LIH1. The /nfs prefix is a 
requirement of the NFS client on z/OS.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of Dazzo, Matt
 Sent: Monday, September 26, 2011 8:18 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server
 
 John, in your parm statement (:/nfs/LIH1) is nfs an real dir 
 or a specification? 
 
 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of McKown, John
 Sent: Friday, September 23, 2011 11:57 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server
 
 For z/OS NFS, the FILESYSTEM is syntactically required and 
 the name must be unique, but it is a logical name and not an 
 actual data set name. An example which works on my z/OS 1.10 
 system is:
 
   MOUNT FILESYSTEM('SERVER1.ASCII') +
MOUNTPOINT('/nfs-ascii/server1') +
  PARM('10.168.254.172:/nfs/LIH1,xlat(Y),proto(udp),vers(3)') +
TYPE(NFS) +
MODE(RDWR)
 
 SERVER1.ASCII is not a DSN.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: RH NFS Server

2011-09-26 Thread Dazzo, Matt
I finally got some messages to the /var/log/messages file. What might these 
means? Thanks Matt

Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from 
27.1.39.74:1023 for /home/matt (/home/matt)
Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port 
(27.1.39.74:1062)!
[root@lntest1 log]#

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of McKown, 
John
Sent: Monday, September 26, 2011 9:49 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RH NFS Server

The actual subdirectory name on my Linux box is /LIH1. The /nfs prefix is a 
requirement of the NFS client on z/OS.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of Dazzo, Matt
 Sent: Monday, September 26, 2011 8:18 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server
 
 John, in your parm statement (:/nfs/LIH1) is nfs an real dir 
 or a specification? 
 
 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of McKown, John
 Sent: Friday, September 23, 2011 11:57 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server
 
 For z/OS NFS, the FILESYSTEM is syntactically required and 
 the name must be unique, but it is a logical name and not an 
 actual data set name. An example which works on my z/OS 1.10 
 system is:
 
   MOUNT FILESYSTEM('SERVER1.ASCII') +
MOUNTPOINT('/nfs-ascii/server1') +
  PARM('10.168.254.172:/nfs/LIH1,xlat(Y),proto(udp),vers(3)') +
TYPE(NFS) +
MODE(RDWR)
 
 SERVER1.ASCII is not a DSN.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: RH NFS Server

2011-09-26 Thread McKown, John
The insecure port message says that the NFS client (z/OS) is using a TCP port 
number 1023. Historically, only authorized programs could use IP ports in 
the range 0..1023. So some servers required that the client (remote) site use a 
port = 1023 because that was assurance that the client was indeed 
authorized. To allow an insecure port to be use, that is one 1023, you 
need the insecure option in the /etc/exports entry. As an example from my 
home LAN:

/nfs 192.168.152.0/24(nohide,rw,insecure,sync,fsid=0) 
192.168.151.0/24(rw,insecure,sync,nohide,fsid=0)
/nfs2 192.168.152.0/24(nohide,rw,insecure,sync,fsid=0) 
192.168.151.0/24(rw,insecure,sync,nohide,fsid=0)

The above shows that clients can connect to both /nfs and /nfs2 on the server. 
The clients are in one of two IP ranges. Either 192.168.152.0 or 192.168.151.0. 
nohide means that NFS can traverse into filesystems mounted beneath the 
subdirectories mentioned. rw means they can be mount in read write mode. 
insecure means that the nfs client (remote) can use IP ports 1023. sync 
forces writing to disk more quickly (as best as I can tell).

You might want to update your /etc/exports file to include the insecure 
option. If you can't read up on the z/OS NFS client's use of ports here:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/cpn1co60/2.1.5.6

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of Dazzo, Matt
 Sent: Monday, September 26, 2011 2:04 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server
 
 I finally got some messages to the /var/log/messages file. 
 What might these means? Thanks Matt
 
 Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount 
 request from 27.1.39.74:1023 for /home/matt (/home/matt)
 Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure 
 port (27.1.39.74:1062)!
 [root@lntest1 log]#
 
 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
 Behalf Of McKown, John
 Sent: Monday, September 26, 2011 9:49 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server
 
 The actual subdirectory name on my Linux box is /LIH1. The 
 /nfs prefix is a requirement of the NFS client on z/OS.
 
 --
 John McKown 
 Systems Engineer IV
 IT
 
 Administrative Services Group
 
 HealthMarkets(r)
 
 9151 Boulevard 26 * N. Richland Hills * TX 76010
 (817) 255-3225 phone * 
 john.mck...@healthmarkets.com * www.HealthMarkets.com
 
 Confidentiality Notice: This e-mail message may contain 
 confidential or proprietary information. If you are not the 
 intended recipient, please contact the sender by reply e-mail 
 and destroy all copies of the original message. 
 HealthMarkets(r) is the brand name for products underwritten 
 and issued by the insurance subsidiaries of HealthMarkets, 
 Inc. -The Chesapeake Life Insurance Company(r), Mid-West 
 National Life Insurance Company of TennesseeSM and The MEGA 
 Life and Health Insurance Company.SM
 
  
 
  -Original Message-
  From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
  Behalf Of Dazzo, Matt
  Sent: Monday, September 26, 2011 8:18 AM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: RH NFS Server
  
  John, in your parm statement (:/nfs/LIH1) is nfs an real dir 
  or a specification? 
  
  -Original Message-
  From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
  Behalf Of McKown, John
  Sent: Friday, September 23, 2011 11:57 AM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: RH NFS Server
  
  For z/OS NFS, the FILESYSTEM is syntactically required and 
  the name must be unique, but it is a logical name and not an 
  actual data set name. An example which works on my z/OS 1.10 
  system is:
  
MOUNT FILESYSTEM('SERVER1.ASCII') +
 MOUNTPOINT('/nfs-ascii/server1') +
   PARM('10.168.254.172:/nfs/LIH1,xlat(Y),proto(udp),vers(3)') +
 TYPE(NFS) +
 MODE(RDWR)
  
  SERVER1.ASCII is not a DSN.
 
 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO 
 LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 

Re: RH NFS Server

2011-09-26 Thread Mark Post
 On 9/26/2011 at 03:04 PM, Dazzo, Matt mda...@pch.com wrote: 
 I finally got some messages to the /var/log/messages file. What might these 
 means? Thanks Matt
 
 Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from 
 27.1.39.74:1023 for /home/matt (/home/matt)
 Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port 
 (27.1.39.74:1062)!
 [root@lntest1 log]#

It means that the z/OS client initiated the mount request on outgoing port 
1062.  Since only root can open ports between 0-1023, those are called 'secure 
ports and anything else is referred to as unprivileged or insecure ports.  
Some NFS server implementations don't like mount requests coming in on 
unprivileged ports, since it means that some process that might not be running 
as root has done that.

I don't recall if the z/OS NFS client can be made to only make requests on 
secure ports or not.  If not, then you'll have to tell your NFS server to 
accept requests on unprivileged ports.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Window question

2011-09-26 Thread Eddie Chen
   Does any know the command in WINDOW where I can list every files/directories 
   Under my Z drive.


   Similar to the Linux command of
   ls -lR where I can list all the files/directory under the file system.

Thanks

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Monday, September 26, 2011 3:37 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RH NFS Server

 On 9/26/2011 at 03:04 PM, Dazzo, Matt mda...@pch.com wrote: 
 I finally got some messages to the /var/log/messages file. What might these 
 means? Thanks Matt
 
 Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from 
 27.1.39.74:1023 for /home/matt (/home/matt)
 Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port 
 (27.1.39.74:1062)!
 [root@lntest1 log]#

It means that the z/OS client initiated the mount request on outgoing port 
1062.  Since only root can open ports between 0-1023, those are called 'secure 
ports and anything else is referred to as unprivileged or insecure ports.  
Some NFS server implementations don't like mount requests coming in on 
unprivileged ports, since it means that some process that might not be running 
as root has done that.

I don't recall if the z/OS NFS client can be made to only make requests on 
secure ports or not.  If not, then you'll have to tell your NFS server to 
accept requests on unprivileged ports.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment to it is 
privileged, confidential and protected from disclosure.  If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify 
the sender immediately by replying to the message, and please delete it from 
your system.  Thank you.  NYSE Euronext.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Window question

2011-09-26 Thread Scott Rohling
As I recall:DIR Z:

Scott Rohling

On Mon, Sep 26, 2011 at 2:56 PM, Eddie Chen ec...@nyx.com wrote:

   Does any know the command in WINDOW where I can list every
 files/directories
   Under my Z drive.


   Similar to the Linux command of
   ls -lR where I can list all the files/directory under the file system.

Thanks

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark
 Post
 Sent: Monday, September 26, 2011 3:37 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server

  On 9/26/2011 at 03:04 PM, Dazzo, Matt mda...@pch.com wrote:
  I finally got some messages to the /var/log/messages file. What might
 these
  means? Thanks Matt
 
  Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from
  27.1.39.74:1023 for /home/matt (/home/matt)
  Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port
  (27.1.39.74:1062)!
  [root@lntest1 log]#

 It means that the z/OS client initiated the mount request on outgoing port
 1062.  Since only root can open ports between 0-1023, those are called
 'secure ports and anything else is referred to as unprivileged or
 insecure ports.  Some NFS server implementations don't like mount requests
 coming in on unprivileged ports, since it means that some process that might
 not be running as root has done that.

 I don't recall if the z/OS NFS client can be made to only make requests on
 secure ports or not.  If not, then you'll have to tell your NFS server to
 accept requests on unprivileged ports.


 Mark Post

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/
 Please consider the environment before printing this email.

 Visit our website at http://www.nyse.com

 

 Note:  The information contained in this message and any attachment to it
 is privileged, confidential and protected from disclosure.  If the reader of
 this message is not the intended recipient, or an employee or agent
 responsible for delivering this message to the intended recipient, you are
 hereby notified that any dissemination, distribution or copying of this
 communication is strictly prohibited.  If you have received this
 communication in error, please notify the sender immediately by replying to
 the message, and please delete it from your system.  Thank you.  NYSE
 Euronext.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Window question

2011-09-26 Thread Tom Duerbusch
dir z: /s

Tom Duerbusch
THD Consulting   

 Eddie Chen ec...@nyx.com 9/26/2011 3:56 PM 
Does any know the command in WINDOW where I can list every files/directories 
   Under my Z drive.


   Similar to the Linux command of
   ls -lR where I can list all the files/directory under the file system.

Thanks

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Monday, September 26, 2011 3:37 PM
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: RH NFS Server

 On 9/26/2011 at 03:04 PM, Dazzo, Matt mda...@pch.com wrote: 
 I finally got some messages to the /var/log/messages file. What might these 
 means? Thanks Matt
 
 Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from 
 27.1.39.74:1023 for /home/matt (/home/matt)
 Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port 
 (27.1.39.74:1062)!
 [root@lntest1 log]#

It means that the z/OS client initiated the mount request on outgoing port 
1062.  Since only root can open ports between 0-1023, those are called 'secure 
ports and anything else is referred to as unprivileged or insecure ports.  
Some NFS server implementations don't like mount requests coming in on 
unprivileged ports, since it means that some process that might not be running 
as root has done that.

I don't recall if the z/OS NFS client can be made to only make requests on 
secure ports or not.  If not, then you'll have to tell your NFS server to 
accept requests on unprivileged ports.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/ 
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com 



Note:  The information contained in this message and any attachment to it is 
privileged, confidential and protected from disclosure.  If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify 
the sender immediately by replying to the message, and please delete it from 
your system.  Thank you.  NYSE Euronext.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Window question

2011-09-26 Thread Eddie Chen
I need a recursive list of sub-directories under the Z drive. 

- Original Message -
From: Scott Rohling [mailto:scott.rohl...@gmail.com]
Sent: Monday, September 26, 2011 05:45 PM
To: LINUX-390@VM.MARIST.EDU LINUX-390@VM.MARIST.EDU
Subject: Re: Window question

As I recall:DIR Z:

Scott Rohling

On Mon, Sep 26, 2011 at 2:56 PM, Eddie Chen ec...@nyx.com wrote:

   Does any know the command in WINDOW where I can list every
 files/directories
   Under my Z drive.


   Similar to the Linux command of
   ls -lR where I can list all the files/directory under the file system.

Thanks

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark
 Post
 Sent: Monday, September 26, 2011 3:37 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server

  On 9/26/2011 at 03:04 PM, Dazzo, Matt mda...@pch.com wrote:
  I finally got some messages to the /var/log/messages file. What might
 these
  means? Thanks Matt
 
  Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from
  27.1.39.74:1023 for /home/matt (/home/matt)
  Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port
  (27.1.39.74:1062)!
  [root@lntest1 log]#

 It means that the z/OS client initiated the mount request on outgoing port
 1062.  Since only root can open ports between 0-1023, those are called
 'secure ports and anything else is referred to as unprivileged or
 insecure ports.  Some NFS server implementations don't like mount requests
 coming in on unprivileged ports, since it means that some process that might
 not be running as root has done that.

 I don't recall if the z/OS NFS client can be made to only make requests on
 secure ports or not.  If not, then you'll have to tell your NFS server to
 accept requests on unprivileged ports.


 Mark Post

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/
 Please consider the environment before printing this email.

 Visit our website at http://www.nyse.com

 

 Note:  The information contained in this message and any attachment to it
 is privileged, confidential and protected from disclosure.  If the reader of
 this message is not the intended recipient, or an employee or agent
 responsible for delivering this message to the intended recipient, you are
 hereby notified that any dissemination, distribution or copying of this
 communication is strictly prohibited.  If you have received this
 communication in error, please notify the sender immediately by replying to
 the message, and please delete it from your system.  Thank you.  NYSE
 Euronext.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment to it is 
privileged, confidential and protected from disclosure.  If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify 
the sender immediately by replying to the message, and please delete it from 
your system.  Thank you.  NYSE Euronext.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Window question

2011-09-26 Thread Tony Saul
dir z: /s 
If you want to stop at each page dir z: /s /p 
Regards,
Tony



From: Eddie Chen lt;ec...@nyx.comgt;
To: LINUX-390@VM.MARIST.EDU
Sent: Tuesday, 27 September 2011 7:23 AM
Subject: Re: Window question

I need a recursive list of sub-directories under the Z drive. 

- Original Message -
From: Scott Rohling [mailto:scott.rohl...@gmail.com]
Sent: Monday, September 26, 2011 05:45 PM
To: LINUX-390@VM.MARIST.EDU lt;LINUX-390@VM.MARIST.EDUgt;
Subject: Re: Window question

As I recall:    DIR Z:

Scott Rohling

On Mon, Sep 26, 2011 at 2:56 PM, Eddie Chen lt;ec...@nyx.comgt; wrote:

gt;  Does any know the command in WINDOW where I can list every
gt; files/directories
gt;  Under my Z drive.
gt;
gt;
gt;  Similar to the Linux command of
gt;  quot;ls -lRquot; where I can list all the files/directory under the 
file system.
gt;
gt;    Thanks
gt;
gt; -Original Message-
gt; From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark
gt; Post
gt; Sent: Monday, September 26, 2011 3:37 PM
gt; To: LINUX-390@VM.MARIST.EDU
gt; Subject: Re: RH NFS Server
gt;
gt; gt;gt;gt; On 9/26/2011 at 03:04 PM, quot;Dazzo, Mattquot; 
lt;mda...@pch.comgt; wrote:
gt; gt; I finally got some messages to the /var/log/messages file. What might
gt; these
gt; gt; means? Thanks Matt
gt; gt;
gt; gt; Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from
gt; gt; 27.1.39.74:1023    for /home/matt (/home/matt)
gt; gt; Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port
gt; gt; (27.1.39.74:1062)!
gt; gt; [root@lntest1 log]#
gt;
gt; It means that the z/OS client initiated the mount request on outgoing port
gt; 1062.  Since only root can open ports between 0-1023, those are called
gt; #39;secure portsquot; and anything else is referred to as 
quot;unprivilegedquot; or
gt; quot;insecurequot; ports.  Some NFS server implementations don#39;t 
like mount requests
gt; coming in on unprivileged ports, since it means that some process that 
might
gt; not be running as root has done that.
gt;
gt; I don#39;t recall if the z/OS NFS client can be made to only make 
requests on
gt; secure ports or not.  If not, then you#39;ll have to tell your NFS server 
to
gt; accept requests on unprivileged ports.
gt;
gt;
gt; Mark Post
gt;
gt; --
gt; For LINUX-390 subscribe / signoff / archive access instructions,
gt; send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
gt; visit
gt; http://www.marist.edu/htbin/wlvindex?LINUX-390
gt; --
gt; For more information on Linux on System z, visit
gt; http://wiki.linuxvm.org/
gt; Please consider the environment before printing this email.
gt;
gt; Visit our website at http://www.nyse.com
gt;
gt; 
gt;
gt; Note:  The information contained in this message and any attachment to it
gt; is privileged, confidential and protected from disclosure.  If the reader 
of
gt; this message is not the intended recipient, or an employee or agent
gt; responsible for delivering this message to the intended recipient, you are
gt; hereby notified that any dissemination, distribution or copying of this
gt; communication is strictly prohibited.  If you have received this
gt; communication in error, please notify the sender immediately by replying to
gt; the message, and please delete it from your system.  Thank you.  NYSE
gt; Euronext.
gt;
gt; --
gt; For LINUX-390 subscribe / signoff / archive access instructions,
gt; send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
gt; visit
gt; http://www.marist.edu/htbin/wlvindex?LINUX-390
gt; --
gt; For more information on Linux on System z, visit
gt; http://wiki.linuxvm.org/
gt;

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment to it is 
privileged, confidential and protected from disclosure.  If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this 

Re: Window question

2011-09-26 Thread Lizette Koehler
If pure windows, then I use DIR /n/w/p
That will sort the list, and pause at the end of each page rather than just
scrolling widely.


DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]
  [/O[[:]sortorder]] [/P] [/Q] [/R] [/S] [/T[[:]timefield]] [/W] [/X] [/4]

  [drive:][path][filename]
  Specifies drive, directory, and/or files to list.

  /A  Displays files with specified attributes.
  attributes   D  DirectoriesR  Read-only files
   H  Hidden files   A  Files ready for archiving
   S  System files   I  Not content indexed files
   L  Reparse Points -  Prefix meaning not
  /B  Uses bare format (no heading information or summary).
  /C  Display the thousand separator in file sizes.  This is the
  default.  Use /-C to disable display of separator.
  /D  Same as wide but files are list sorted by column.
  /L  Uses lowercase.
  /N  New long list format where filenames are on the far right.
  /O  List by files in sorted order.
  sortorderN  By name (alphabetic)   S  By size (smallest first)
   E  By extension (alphabetic)  D  By date/time (oldest first)
   G  Group directories first-  Prefix to reverse order
Press any key to continue . . .

Lizette


 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Scott
 Rohling
 Sent: Monday, September 26, 2011 5:46 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: Window question
   
 As I recall:DIR Z:

 Scott Rohling

 On Mon, Sep 26, 2011 at 2:56 PM, Eddie Chen ec...@nyx.com wrote:

Does any know the command in WINDOW where I can list every
  files/directories
Under my Z drive.
 
 
Similar to the Linux command of
ls -lR where I can list all the files/directory under the file
system.
 
 Thanks
 
  -Original Message-
  From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
  Mark Post
  Sent: Monday, September 26, 2011 3:37 PM
  To: LINUX-390@VM.MARIST.EDU
  Subject: Re: RH NFS Server
 
   On 9/26/2011 at 03:04 PM, Dazzo, Matt mda...@pch.com wrote:
   I finally got some messages to the /var/log/messages file. What
   might
  these
   means? Thanks Matt
  
   Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from
   27.1.39.74:1023 for /home/matt (/home/matt)
   Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port
   (27.1.39.74:1062)!
   [root@lntest1 log]#
 
  It means that the z/OS client initiated the mount request on outgoing
  port 1062.  Since only root can open ports between 0-1023, those are
  called 'secure ports and anything else is referred to as
  unprivileged or insecure ports.  Some NFS server implementations
  don't like mount requests coming in on unprivileged ports, since it
  means that some process that might not be running as root has done that.
 
  I don't recall if the z/OS NFS client can be made to only make
  requests on secure ports or not.  If not, then you'll have to tell
  your NFS server to accept requests on unprivileged ports.
 
 
  Mark Post
 
  --
  For LINUX-390 subscribe / signoff / archive access instructions, send
  email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
  visit
  http://www.marist.edu/htbin/wlvindex?LINUX-390
  --
  For more information on Linux on System z, visit
  http://wiki.linuxvm.org/ Please consider the environment before
  printing this email.
 
  Visit our website at http://www.nyse.com
 
  
 
  Note:  The information contained in this message and any attachment to
  it is privileged, confidential and protected from disclosure.  If the
  reader of this message is not the intended recipient, or an employee
  or agent responsible for delivering this message to the intended
  recipient, you are hereby notified that any dissemination,
  distribution or copying of this communication is strictly prohibited.
  If you have received this communication in error, please notify the
  sender immediately by replying to the message, and please delete it
  from your system.  Thank you.  NYSE Euronext.
 
  --
  For LINUX-390 subscribe / signoff / archive access instructions, send
  email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
  visit
  http://www.marist.edu/htbin/wlvindex?LINUX-390
  --
  For more information on Linux on System z, visit
  http://wiki.linuxvm.org/
 

 --
 For LINUX-390 subscribe / signoff / archive access instructions, send
email to
 

Re: Window question

2011-09-26 Thread Emmett O'Grady
Dir z: /s

Emmett


- Original Message -
From: echen
Sent: 26.09.2011 17:53 AST
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Window question



I need a recursive list of sub-directories under the Z drive. 

- Original Message -
From: Scott Rohling [mailto:scott.rohl...@gmail.com]
Sent: Monday, September 26, 2011 05:45 PM
To: LINUX-390@VM.MARIST.EDU LINUX-390@VM.MARIST.EDU
Subject: Re: Window question

As I recall:DIR Z:

Scott Rohling

On Mon, Sep 26, 2011 at 2:56 PM, Eddie Chen ec...@nyx.com wrote:

   Does any know the command in WINDOW where I can list every
 files/directories
   Under my Z drive.


   Similar to the Linux command of
   ls -lR where I can list all the files/directory under the file system.

Thanks

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark
 Post
 Sent: Monday, September 26, 2011 3:37 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RH NFS Server

  On 9/26/2011 at 03:04 PM, Dazzo, Matt mda...@pch.com wrote:
  I finally got some messages to the /var/log/messages file. What might
 these
  means? Thanks Matt
 
  Sep 26 14:54:35 lntest1 mountd[1264]: authenticated mount request from
  27.1.39.74:1023 for /home/matt (/home/matt)
  Sep 26 14:54:35 lntest1 kernel: nfsd: request from insecure port
  (27.1.39.74:1062)!
  [root@lntest1 log]#

 It means that the z/OS client initiated the mount request on outgoing port
 1062.  Since only root can open ports between 0-1023, those are called
 'secure ports and anything else is referred to as unprivileged or
 insecure ports.  Some NFS server implementations don't like mount requests
 coming in on unprivileged ports, since it means that some process that might
 not be running as root has done that.

 I don't recall if the z/OS NFS client can be made to only make requests on
 secure ports or not.  If not, then you'll have to tell your NFS server to
 accept requests on unprivileged ports.


 Mark Post

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/
 Please consider the environment before printing this email.

 Visit our website at http://www.nyse.com

 

 Note:  The information contained in this message and any attachment to it
 is privileged, confidential and protected from disclosure.  If the reader of
 this message is not the intended recipient, or an employee or agent
 responsible for delivering this message to the intended recipient, you are
 hereby notified that any dissemination, distribution or copying of this
 communication is strictly prohibited.  If you have received this
 communication in error, please notify the sender immediately by replying to
 the message, and please delete it from your system.  Thank you.  NYSE
 Euronext.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment to it is 
privileged, confidential and protected from disclosure.  If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify 
the sender immediately by replying to the message, and please delete it from 
your system.  Thank you.  NYSE Euronext.

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

Re: Window question

2011-09-26 Thread Shane
Windoze provides help cmd for a subset of commands. If that fails
try cmd /?. Should work for dir.
I can't count the number of times I've used ls (out of habit) on
Windoze systems    :(

Shane ...

On Mon, 26 Sep 2011 17:53:45 -0400 Eddie Chen wrote:

 I need a recursive list of sub-directories under the Z drive.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Window question

2011-09-26 Thread Mauro Souza
Some time ago, I even made a LS.BAT consisting of
@DIR %1 %2 %3 %4 %5 %6 %7 %8 %9

and my copies of CLEAR.BAT too... I just wanted to be able to issue a
^D to exit a shell...

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.



On Mon, Sep 26, 2011 at 8:38 PM, Shane ibm-m...@tpg.com.au wrote:
 Windoze provides help cmd for a subset of commands. If that fails
 try cmd /?. Should work for dir.
 I can't count the number of times I've used ls (out of habit) on
 Windoze systems    :(

 Shane ...

 On Mon, 26 Sep 2011 17:53:45 -0400 Eddie Chen wrote:

 I need a recursive list of sub-directories under the Z drive.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/