Re: Enumerating LUNs on DS8100

2011-07-29 Thread Mauro Souza
Unfortunately, it's for RHEL6.


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


On Fri, Jul 29, 2011 at 12:25 AM, Mark Post mp...@novell.com wrote:

  On 7/28/2011 at 05:29 PM, Mauro Souza thoriu...@gmail.com wrote:
  I've heard somewhere that there's a script capable of enumerating all
 LUNs
  on a given WWPN. Do someone have this script on hand?

 For which Linux distribution?  For SLES, zfcp_san_disc might be of some
 use.


 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/


Re: Enumerating LUNs on DS8100

2011-07-29 Thread Harder, Pieter
Mauro,

If you are running on z/VM there is an equivalent CMS based tool called 
SCSIDISC. It is in the CMS maintenance tree and takes some renaming/copying of 
components to activate. I found SCSIDISC easier to use than the equivalent 
Linux based tools (if and when available).

Best regards,
Pieter Harder

pieter.har...@brabantwater.nl
tel  +31-73-6837133 / +31-6-47272537

-Oorspronkelijk bericht-
Van: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] Namens Mauro Souza
Verzonden: vrijdag 29 juli 2011 12:45
Aan: LINUX-390@VM.MARIST.EDU
Onderwerp: Re: Enumerating LUNs on DS8100

Unfortunately, it's for RHEL6.


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


On Fri, Jul 29, 2011 at 12:25 AM, Mark Post mp...@novell.com wrote:

  On 7/28/2011 at 05:29 PM, Mauro Souza thoriu...@gmail.com wrote:
  I've heard somewhere that there's a script capable of enumerating all
 LUNs
  on a given WWPN. Do someone have this script on hand?

 For which Linux distribution?  For SLES, zfcp_san_disc might be of some
 use.


 Mark Post

Brabant Water N.V.
Postbus 1068
5200 BC  's-Hertogenbosch
http://www.brabantwater.nl
Handelsregister: 16005077

--
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: Enumerating LUNs on DS8100

2011-07-29 Thread Fernando Gieseler
Mauro,

You have access to DS8000 console? You can generate a list of LUN's ID on
DS reports.

Regards,


Fernando Gieseler
f...@br.ibm.com
+55 51 9988 8177

-- mens. original --
Assunto: Re: Enumerating LUNs on DS8100
De: Harder, Pieter pieter.har...@brabantwater.nl
Data: 29/07/2011 07:51

Mauro,

If you are running on z/VM there is an equivalent CMS based tool called
SCSIDISC. It is in the CMS maintenance tree and takes some renaming/copying
of components to activate. I found SCSIDISC easier to use than the
equivalent Linux based tools (if and when available).

Best regards,
Pieter Harder

pieter.har...@brabantwater.nl
tel  +31-73-6837133 / +31-6-47272537

-Oorspronkelijk bericht-
Van: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] Namens Mauro Souza
Verzonden: vrijdag 29 juli 2011 12:45
Aan: LINUX-390@VM.MARIST.EDU
Onderwerp: Re: Enumerating LUNs on DS8100

Unfortunately, it's for RHEL6.


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


On Fri, Jul 29, 2011 at 12:25 AM, Mark Post mp...@novell.com wrote:

  On 7/28/2011 at 05:29 PM, Mauro Souza thoriu...@gmail.com wrote:
  I've heard somewhere that there's a script capable of enumerating all
 LUNs
  on a given WWPN. Do someone have this script on hand?

 For which Linux distribution?  For SLES, zfcp_san_disc might be of some
 use.


 Mark Post

Brabant Water N.V.
Postbus 1068
5200 BC  's-Hertogenbosch
http://www.brabantwater.nl
Handelsregister: 16005077

--
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: Enumerating LUNs on DS8100

2011-07-29 Thread Fernando Gieseler
Mauro,

For example if you see on DSCLI the disk ID = 1000, your LUN_ID (on zLinux
or z/VM) is 0x40104000.

If the disk_ID = 1104, your LUN_ID is 0x40114004.

If you need more help, please let me know.

Regards,



Fernando Gieseler
_
Technical Sales Specialist for System z
-  Linux and z/VM -
IBM Brasil
fone: +55-51-2131-5848
cel: +55-51-9988-8177
fax: +55-51-2131-5875
ITN: 5 759-5848
T/L: 759-5848
f...@br.ibm.com




From:   Harder, Pieter pieter.har...@brabantwater.nl
To: LINUX-390@vm.marist.edu
Date:   29/07/2011 07:51
Subject:Re: Enumerating LUNs on DS8100
Sent by:Linux on 390 Port LINUX-390@vm.marist.edu



Mauro,

If you are running on z/VM there is an equivalent CMS based tool called
SCSIDISC. It is in the CMS maintenance tree and takes some
renaming/copying of components to activate. I found SCSIDISC easier to use
than the equivalent Linux based tools (if and when available).

Best regards,
Pieter Harder

pieter.har...@brabantwater.nl
tel  +31-73-6837133 / +31-6-47272537

-Oorspronkelijk bericht-
Van: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] Namens Mauro Souza
Verzonden: vrijdag 29 juli 2011 12:45
Aan: LINUX-390@VM.MARIST.EDU
Onderwerp: Re: Enumerating LUNs on DS8100

Unfortunately, it's for RHEL6.


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


On Fri, Jul 29, 2011 at 12:25 AM, Mark Post mp...@novell.com wrote:

  On 7/28/2011 at 05:29 PM, Mauro Souza thoriu...@gmail.com wrote:
  I've heard somewhere that there's a script capable of enumerating all
 LUNs
  on a given WWPN. Do someone have this script on hand?

 For which Linux distribution?  For SLES, zfcp_san_disc might be of some
 use.


 Mark Post

Brabant Water N.V.
Postbus 1068
5200 BC  's-Hertogenbosch
http://www.brabantwater.nl
Handelsregister: 16005077

--
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: Enumerating LUNs on DS8100 (SOLVED)

2011-07-29 Thread Mauro Souza
Hi guys,

Thanks for all help! We could connect the LUN to our system now.

I found in Google that the LUN number to be added to Linux should have the
following scheme:
0x40 + first byte of LUN id + 40 + second byte of LUN id + 
So, our LUN 0100 would be 0x40*01*40*00*

Pieter, I've installed SCSIDISC here, but it could't find anything, so we
turned to Linux again.

Fernando,
Thanks for the advice, I've found the same a few minutes before you sent me
this email.

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


On Fri, Jul 29, 2011 at 10:13 AM, Fernando Gieseler f...@br.ibm.com wrote:

 Mauro,

 For example if you see on DSCLI the disk ID = 1000, your LUN_ID (on zLinux
 or z/VM) is 0x40104000.

 If the disk_ID = 1104, your LUN_ID is 0x40114004.

 If you need more help, please let me know.

 Regards,



 Fernando Gieseler
 _
 Technical Sales Specialist for System z
 -  Linux and z/VM -
 IBM Brasil
 fone: +55-51-2131-5848
 cel: +55-51-9988-8177
 fax: +55-51-2131-5875
 ITN: 5 759-5848
 T/L: 759-5848
 f...@br.ibm.com




 From:   Harder, Pieter pieter.har...@brabantwater.nl
 To: LINUX-390@vm.marist.edu
 Date:   29/07/2011 07:51
 Subject:Re: Enumerating LUNs on DS8100
 Sent by:Linux on 390 Port LINUX-390@vm.marist.edu



 Mauro,

 If you are running on z/VM there is an equivalent CMS based tool called
 SCSIDISC. It is in the CMS maintenance tree and takes some
 renaming/copying of components to activate. I found SCSIDISC easier to use
 than the equivalent Linux based tools (if and when available).

 Best regards,
 Pieter Harder

 pieter.har...@brabantwater.nl
 tel  +31-73-6837133 / +31-6-47272537

 -Oorspronkelijk bericht-
 Van: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] Namens Mauro Souza
 Verzonden: vrijdag 29 juli 2011 12:45
 Aan: LINUX-390@VM.MARIST.EDU
 Onderwerp: Re: Enumerating LUNs on DS8100

 Unfortunately, it's for RHEL6.


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


 On Fri, Jul 29, 2011 at 12:25 AM, Mark Post mp...@novell.com wrote:

   On 7/28/2011 at 05:29 PM, Mauro Souza thoriu...@gmail.com wrote:
   I've heard somewhere that there's a script capable of enumerating all
  LUNs
   on a given WWPN. Do someone have this script on hand?
 
  For which Linux distribution?  For SLES, zfcp_san_disc might be of some
  use.
 
 
  Mark Post

 Brabant Water N.V.
 Postbus 1068
 5200 BC  's-Hertogenbosch
 http://www.brabantwater.nl
 Handelsregister: 16005077

 --
 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: Enumerating LUNs on DS8100 (SOLVED)

2011-07-29 Thread Harder, Pieter
Pieter, I've installed SCSIDISC here, but it could't find anything, so we
turned to Linux again.

You need to attach the FCP device(s) you have attached to the Linux guest to 
the CMS running SCSIDISC. So:
1. shutdown and logoff owning Linux, freeing devices
2. attach same devices to CMS
3. run SCSIDISC
   If SCSIDISC runs correctly you should at least get a list of FCP local 
wwpn's.
   Additionally you get a list of any remote wwpn's and lun's visible.
   If zoning is incorrect there may be nothing to see.
4. detach devices from CMS
5. xautolog owning Linux

Best regards,
Pieter Harder

pieter.har...@brabantwater.nl
tel  +31-73-6837133 / +31-6-47272537

Brabant Water N.V.
Postbus 1068
5200 BC  's-Hertogenbosch
http://www.brabantwater.nl
Handelsregister: 16005077

--
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: Enumerating LUNs on DS8100

2011-07-29 Thread Steffen Maier

Mark is right about SLES.
Fernando is right about the LUN numbering scheme for DS8K. However, it 
may differ with other storage servers.
Additionally, all recent versions of SLES10, SLES11, RHEL5, and RHEL6 
should ship the perl script lsluns in the s390-tools package (named 
s390utils on RHEL). It can query the storage server by means of the 
report luns scsi command. It's documented per man page and also in the 
device drivers book on developerworks.


On 07/29/2011 12:45 PM, Mauro Souza wrote:

Unfortunately, it's for RHEL6.



On Fri, Jul 29, 2011 at 12:25 AM, Mark Postmp...@novell.com  wrote:

On 7/28/2011 at 05:29 PM, Mauro Souzathoriu...@gmail.com  wrote:

I've heard somewhere that there's a script capable of enumerating all LUNs
on a given WWPN. Do someone have this script on hand?


For which Linux distribution?  For SLES, zfcp_san_disc might be of some
use.


Steffen

Linux on System z Development

IBM Deutschland Research  Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

--
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: tar with tape drives

2011-07-29 Thread Tom Duerbusch
I found out what was happening.

Summary:
We had a problem where tar seemed to be keeping a tape drive for somewhere 
between 5 and 20 minutes after it completed.  But this only happened when using 
REXEC from VSE.  REXEC from VM or an interactive tar from a telnet session, did 
not show this behavior.

While having a vmstat 10 1000 running on the machine that the tar was running 
on, I discovered the actual problem.  The rexecd server in Linux (SLES 11 SP 
1), was returning from the tar command before the command had completed.  

So, why the tape drive showed it was still in use, well the tar was still 
running.
REXECD came back to VSE (a batch job) and then tried issuing additional 
commands, which failed due to the tape drive was still in use.

Additionally, I was producing a listing of files that were being backed up.  
When I redirected the list of files to a disk file, the tar didn't produce any 
output once it started.  Something...i.e. REXECD perhaps decided that the 
command did finish without any output and returned back to the client.

When I did the same tar command and had the list of files being backed up sent 
back to VSE, i.e. a very active connection, REXECD didn't return back to the 
client until the tar was finished.

Weird type of thing.

I'm not really up on pipes and Linux, but in the VM world, I can pipe output to 
the console and to a file without blocking the stage.  Is there something 
similar in the Linux world so I can keep the listing and keep the connection 
active?

Thanks

Tom Duerbusch
THD Consulting

 Carsten Otte co...@de.ibm.com 7/28/2011 8:41 AM 
Hi Tom,

if I recall correctly, we reserve the tape on open, and free it on closing
the file descriptor. You shout be able
to find out which process is using it via fuser /dev/ntibmX.

with kind regards
Carsten Otte
IBM Linux Technology Center / Boeblingen lab
--
omnis enim res, quae dando non deficit, dum habetur et non datur, nondum
habetur, quomodo habenda est

--
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: A call for people to chair sessions.

2011-07-29 Thread Jagos, Brian V
 

Hello to everyone,

This e -mail is a request for people to chair sessions for a conference
called SHARE.

SHARE Inc. is an independent, volunteer run association providing
enterprise technology professionals with continuous education and
training, valuable professional networking and effective industry
influence.

History
In 1955, just two years after the release of IBM's first computer, a
handful of the earliest IT professionals collaborated to form SHARE.
Thus came into being the world's first organization of computing
professionals.

Over the past five decades, SHARE has become synonymous with
high-quality, user-driven education and resources to make enterprise
computing specialists more effective professionals. SHARE serves more
than 20,000 individuals representing over 2,000 of IBM's top enterprise
computing customers. Our constituency includes many of the top
international corporations (including the majority of the FORTUNE 500),
universities and colleges, municipal through federal government
organizations, and industry-leading consultants. While independent,
SHARE maintains a close partnership with IBM and its subsidiaries, as
well as with leading solution providers to continually strengthen
SHARE's benefits for its members.

 

Just in case you need it, this is a reminder that SHARE is approaching
rapidly and the Linux and VM program is still in great need for
session chairs.

 

Therefore, there are some really choice sessions left!  

 

Below is a list of the sessions that are left.  If you are planning on
attending SHARE in Orlando FL. (Aug. 08-12), please volunteer to chair a
session or two!  Please respond to me, off list, and let me know what
you are interested in.  Detailed abstracts on each session are available
on www.share.org.

 

Session Title

Day

Date and Time

Room

Chair

People

Details of the System z Infrastructure and Support for Oracle Solutions,
Including Oracle Database, E-Business Suite, PeopleSoft and Siebel

Monday

2011-08-08, 09:30:00

Oceanic 6

Gaylan Braselton (Speaker), Don Frano (Speaker)

Implementing the SUSE Linux Enterprise High Availability Extension on
System z

Monday

2011-08-08, 11:00:00

Oceanic 6

Michael Friesenegger (Speaker)

Current  Future State of Red Hat Enterprise Linux

Monday

2011-08-08, 11:00:00

Oceanic 7

Bradford E. Hinson (Speaker)

Managing SAN for Linux on z/VM - a Nationwide perspecive

Monday

2011-08-08, 13:30:00

Oceanic 8

James Vincent (Speaker)

Getting Started with RACF on z/VM

Monday

2011-08-08, 16:30:00

Oceanic 6

Bruce Hayden (Speaker) 

Dynamic Features of Linux on System z

Monday

2011-08-08, 16:30:00

Oceanic 7

Richard G. Young (Speaker)

Introduction to VM Hands-on Lab, Part 1 of 2

Tuesday

2011-08-09, 09:30:00

Asia 2

Martha McConaghy (Speaker) 

CA z/VM Products New Releases and Future Roadmap

Tuesday

2011-08-09, 09:30:00

Oceanic 8

Brian Jagos (Speaker) 

Introduction to VM Hands-on Lab - Part 2 of 2

Tuesday

2011-08-09, 11:00:00

Asia 2

Martha McConaghy (Speaker) 

User Experience with DataMart on Linux for System z at FMS

Tuesday

2011-08-09, 13:30:00

Oceanic 6

Jim Moling (Speaker)

What's new with SUSE Linux Enterprise Server 11 SP1 for System z

Tuesday

2011-08-09, 13:30:00

Oceanic 7

John L. Jolly (Speaker)

How to Automate Common z/VM and Linux on System z Tasks

Tuesday

2011-08-09, 15:00:00

Oceanic 8

Brian Jagos (Speaker)

Networking with Linux on System z

Tuesday

2011-08-09, 16:30:00

Oceanic 6

Hans-Joachim Picht (Speaker)

What's New in Linux on System z?

Wednesday

2011-08-10, 08:00:00

Oceanic 7

Martin Schwidefsky (Speaker)

Planning and Implementing NPIV for System z

Wednesday

2011-08-10, 08:00:00

Oceanic 8

Stephen R. Guendert Sr., Ph., D (Speaker) 

z/VM Lockdown: The Road to EAL 4

Wednesday

2011-08-10, 09:30:00

Oceanic 7

Alan Altmark (Speaker) 

Monitoring z/VM with SNMP Daemon

Wednesday

2011-08-10, 11:00:00

Oceanic 6

Robert (Jay) J. Brenneman (Speaker) 

z/VM System Limits

Wednesday

2011-08-10, 13:30:00

Oceanic 6

Bill Bitner (Speaker) 

Virtual Linux Server Disaster Recovery Planning

Wednesday

2011-08-10, 13:30:00

Oceanic 7

Rick Barlow (Speaker) 

Using CA eTrust Top Secret to authenticate users on zLinux

Wednesday

2011-08-10, 15:00:00

Oceanic 6

James Chaplin (Speaker)

zEnterprise Unified Resource Manager: What's in it for z/VM?

Wednesday

2011-08-10, 15:00:00

Oceanic 7

Scott Loveland (Speaker) 

z/VM and Tape Encryption

Wednesday

2011-08-10, 16:30:00

Oceanic 8

Eric Farman (Speaker) 


Cloud Computing with IBM System z

Thursday

2011-08-11, 08:00:00

Oceanic 7

Erich Amrehn (Speaker) 

Using z/VM in a SCSI Environment 

Thursday

2011-08-11, 09:30:00

Oceanic 8

Eric Farman (Speaker) 

z/VM Performance 

Is MVS TRSMAIN (terse) available for zLinux?

2011-07-29 Thread Donald Russell
Several MVS systems currently ftps put to zLinux some very large plain text
files Some are several GB in size.

I would like to change the MVS process to terse the file before sending, but
as far as I've been able to find, an unterse is not available on Linux. I
doubt that's true, I just don't know where to look. :-)

These files are not PDS(E), or other things that linux has no concept of,
they are just plain, flat files... (They are actually FBM text files, but
when linux gets it, I know longer care about the M part, these things will
never be printed.

Can somebody suggest where I can get a trsmain equivalent that runs on
Linux?

Thank you

--
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: tar with tape drives

2011-07-29 Thread Tom Duerbusch
And another thing.

It isn't a problem with REXEC or REXECD.

Instead of executing each command via REXEC to Linux, I created a script which 
had all the commands in it.
So, REXEC only executed the script.
But what happened was

The tar was being executed.
Long before the tar completed, bash started executing the remainder of the 
commands in the script.  However tar was still running (and keeping the tape 
drive in use).

This is similar to tar being executed asynchronously.

However, when I run the script interactively, from Putty (actually Kitty), the 
command runs like it is suppose to.  Only when the tar completes does the next 
command start to executed.

So, it seems, at this point, that tar knows when it is being executed remotely 
and returns control early (and continues to execute).

However, executing the script using VM's REXEC, didn't produce the asynchronous 
behavior.

So, REXEC from VSE using the CSI 1.5E stack seems to be telling tar something 
that REXEC from VM (z/VM 5.2) isn't.

Time for a beer.

Tom Duerbusch
THD Consulting

 Carsten Otte co...@de.ibm.com 7/28/2011 8:41 AM 
Hi Tom,

if I recall correctly, we reserve the tape on open, and free it on closing
the file descriptor. You shout be able
to find out which process is using it via fuser /dev/ntibmX.

with kind regards
Carsten Otte
IBM Linux Technology Center / Boeblingen lab
--
omnis enim res, quae dando non deficit, dum habetur et non datur, nondum
habetur, quomodo habenda est

--
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: tar with tape drives

2011-07-29 Thread Scott Rohling
Strange - almost sounds like tar is getting a '' appended and running in
the background..   which doesn't seem possible if it's just being executed
as part of a script.  I need a beer too.

Scott Rohling

On Fri, Jul 29, 2011 at 3:09 PM, Tom Duerbusch
duerbus...@stlouiscity.comwrote:

 And another thing.

 It isn't a problem with REXEC or REXECD.

 Instead of executing each command via REXEC to Linux, I created a script
 which had all the commands in it.
 So, REXEC only executed the script.
 But what happened was

 The tar was being executed.
 Long before the tar completed, bash started executing the remainder of the
 commands in the script.  However tar was still running (and keeping the tape
 drive in use).

 This is similar to tar being executed asynchronously.

 However, when I run the script interactively, from Putty (actually Kitty),
 the command runs like it is suppose to.  Only when the tar completes does
 the next command start to executed.

 So, it seems, at this point, that tar knows when it is being executed
 remotely and returns control early (and continues to execute).

 However, executing the script using VM's REXEC, didn't produce the
 asynchronous behavior.

 So, REXEC from VSE using the CSI 1.5E stack seems to be telling tar
 something that REXEC from VM (z/VM 5.2) isn't.

 Time for a beer.

 Tom Duerbusch
 THD Consulting

  Carsten Otte co...@de.ibm.com 7/28/2011 8:41 AM 
 Hi Tom,

 if I recall correctly, we reserve the tape on open, and free it on closing
 the file descriptor. You shout be able
 to find out which process is using it via fuser /dev/ntibmX.

 with kind regards
 Carsten Otte
 IBM Linux Technology Center / Boeblingen lab
 --
 omnis enim res, quae dando non deficit, dum habetur et non datur, nondum
 habetur, quomodo habenda est

 --
 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: Is MVS TRSMAIN (terse) available for zLinux?

2011-07-29 Thread Shane G
Have you considered alternatives - pax for example ?.

--
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: Is MVS TRSMAIN (terse) available for zLinux?

2011-07-29 Thread Mark Post
 On 7/29/2011 at 06:56 PM, Shane G ibm-m...@tpg.com.au wrote: 
 Have you considered alternatives - pax for example ?.

Or even just plain old compress.


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/


Re: Is MVS TRSMAIN (terse) available for zLinux?

2011-07-29 Thread John McKown
BZIP2 is available for z/OS on the Tools @ Toys IBM page.
On Jul 29, 2011 3:58 PM, Donald Russell russell@gmail.com wrote:
 Several MVS systems currently ftps put to zLinux some very large plain
text
 files Some are several GB in size.

 I would like to change the MVS process to terse the file before sending,
but
 as far as I've been able to find, an unterse is not available on Linux. I
 doubt that's true, I just don't know where to look. :-)

 These files are not PDS(E), or other things that linux has no concept of,
 they are just plain, flat files... (They are actually FBM text files, but
 when linux gets it, I know longer care about the M part, these things
will
 never be printed.

 Can somebody suggest where I can get a trsmain equivalent that runs on
 Linux?

 Thank you

 --
 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/