Re: Help with zLinux DASD using multiple paths

2009-02-28 Thread Ihno Krumreich
On Mon, Feb 23, 2009 at 03:41:03PM -0500, David K. Kelly wrote:
 Thank you David and Ron for the quick responses.
 
 Let me explain what I'm trying to do.
 
 In zLinux I have a DB2 file system that is setup on one large 3390-27
 disk pack.  And when I use Linux tools like iostat I see one disk
 with one path to the Shark.  What I would like to do  is use the
 eight paths to this single disk (yes, I would like multiple exposures
 to the disks).   How do I do that?  Or maybe I already have this
 configured or CP is doing it but I can not tell this with my limited Linux
 commands?  We do have Velocity and I can see lots of IO going
 through.
 
 Also we don't used PAV and from what I understand that is more
 of a zOS thing and we are a zVM shop.
 

Let me explain it from the Linux point of view.

For each disk linux sees it can submit one request at a time. Linux
has no knowledge how this disk is connected to the storage system.

So to submit more than one request at a time to the same disk there
is only the possibility with PAV.

If you can replace the one disk with set of smaller disks (rule: the more the 
better),
this will boost the I/O.
IBM published on  
http://www.ibm.com/developerworks/linux/linux390/perf/tuning_rec_dasd.html
on how to set up storage configuration for good performance.

The performance of a PAV with N paths and a striped
volume with N disks is comparable.

Ihno


 Thank you
 
 David K.
 
 
 
 

  David Boyes   
  dbo...@sinenomin 
  e.net To
  Sent by: Linux on LINUX-390@VM.MARIST.EDU 
  390 Port   cc
  linux-...@vm.mar 
  IST.EDU  Subject
Re: Help with zLinux DASD using 
multiple paths  
  02/23/2009 11:19  
  AM


  Please respond to 
  Linux on 390 Port 
  linux-...@vm.mar 
  IST.EDU  


 
 
 
 
 On 2/23/09 11:12 AM, David K. Kelly dkke...@courts.state.va.us wrote:
 
  How can I configure multiple paths to a single disk in SUSE zLinux? I
 have
  8 paths to our Shark and I¹m running zLinux SUSE 10 in zVM V5.3 on
  a z9 and I want to configure multiple paths to a single
  22.8 GB 3390-27 disk.
 
 Just to be sure, do you want the Linux guest to see multiple exposures to
 the disk? If so, you need the PAV microcode to do that.
 
 If you just want it to exploit the physical paths, give the disk to CP as a
 user volume, allocate the disk as a minidisk in the Linux directory entry,
 and let CP worry about it. If the paths are in your IOCP, CP will
 automagically use them.
 
 --
 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 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

-- 
Best regards/Mit freundlichen Grüßen

Ihno Krumreich

Never trust a computer you can lift.
--
Ihno Krumreich
i...@suse.de  Projectmanager S/390  zSeries
Maxfeldstr. 5 +49-911-74053-439
D-90409 Nürnberg  http://www.suse.de
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

--
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: Help with zLinux DASD using multiple paths

2009-02-28 Thread Rob van der Heij
On Sat, Feb 28, 2009 at 2:34 PM, Ihno Krumreich i...@suse.de wrote:

 So to submit more than one request at a time to the same disk there
 is only the possibility with PAV.

Would it not be the multi-path feature in Linux that allows Linux to
see multiple exposures and an I/O outstanding to each exposure. PAV is
what you need on LPAR to do this. With z/VM you can give the virtual
machine multiple links to the same mini disk to simulate this. Whether
that makes sense from a performance point of view depends on your
configuration. With MDC in the picture, you can show cases where this
works well.
I have not been able to measure a configuration where z/VM uses PAV to
back this. I have seen quite a few where it really made no sense at
all.

Rob
--
Rob van der Heij
Velocity Software
http://www.velocitysoftware.com/

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


SLES initial installation on IBM z890

2009-02-28 Thread Helio Mario Neves Pimentel de Oliveira
Hello listers,

I´m trying to install SLES 10.1 in a LPAR / z890.

During the system loading from HMC CD-ROM I get:

Could not find the SUSE Linux Enterprise Server 10 Installation Source.

Anyone has some information on this?
Is it a distribution error?

Thks

Helio Mario

--
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: SLES initial installation on IBM z890

2009-02-28 Thread Mark Post
 On 2/28/2009 at  4:05 PM, Helio Mario Neves Pimentel de Oliveira
h...@engepel.com.br wrote: 
 Hello listers,
 
 I*m trying to install SLES 10.1 in a LPAR / z890.
 
 During the system loading from HMC CD-ROM I get:
 
 Could not find the SUSE Linux Enterprise Server 10 Installation Source.
 
 Anyone has some information on this?
 Is it a distribution error?

No.  For System z the DVD reader is only usable to IPL the LPAR.  It cannot be 
accessed by the Linux operating system to finish the install.  You will need a 
network installation server.  If you have z/VM, we have a pre-built 
installation server that you can download and restore to disk.


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


RES: SLES initial installation on IBM z890

2009-02-28 Thread Helio Mario Neves Pimentel de Oliveira
Thks Mark,

First a correction: I´m working on the SLES 10 - S390 SP2.
No, I don´t have z/VM.
So, should I go through TAPE?

PS. I´m new in this environment (Linux/Z)

Helio Mario
Belo Horizonte BRASIL


-Mensagem original-
De: Linux on 390 Port [mailto:linux-...@vm.marist.edu] Em nome de Mark
Post
Enviada em: sábado, 28 de fevereiro de 2009 18:02
Para: LINUX-390@VM.MARIST.EDU
Assunto: Re: SLES initial installation on IBM z890


 On 2/28/2009 at  4:05 PM, Helio Mario Neves Pimentel de Oliveira
h...@engepel.com.br wrote: 
 Hello listers,
 
 I*m trying to install SLES 10.1 in a LPAR / z890.
 
 During the system loading from HMC CD-ROM I get:
 
 Could not find the SUSE Linux Enterprise Server 10 Installation 
 Source.
 
 Anyone has some information on this?
 Is it a distribution error?

No.  For System z the DVD reader is only usable to IPL the LPAR.  It
cannot be accessed by the Linux operating system to finish the install.
You will need a network installation server.  If you have z/VM, we have
a pre-built installation server that you can download and restore to
disk.


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


Can anybody explain this?

2009-02-28 Thread Bauer, Bobby (NIH/CIT) [E]
I am trying to add space to a file system. The lvextend to add space worked OK 
but the resize2fs tells me there is not enough space?



[r...@lssb1 ~]# lvextend -l +130 /dev/VolGroup00/LogVol06

  Extending logical volume LogVol06 to 9.78 GB

  Logical volume LogVol06 successfully resized



[r...@lssb1 ~]# resize2fs -p /dev/mapper/VolGroup00-LogVol06

resize2fs 1.39 (29-May-2006)

Filesystem at /dev/mapper/VolGroup00-LogVol06 is mounted on /opt; on-line 
resizing required

Performing an on-line resize of /dev/mapper/VolGroup00-LogVol06 to 2564096 (4k) 
blocks.

resize2fs: No space left on device While trying to add group #1



Bobby Bauer

Center for Information Technology

National Institutes of Health

Bethesda, MD 20892-5628

301-594-7474







--
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: RES: SLES initial installation on IBM z890

2009-02-28 Thread Mark Post
 On 2/28/2009 at  4:17 PM, Helio Mario Neves Pimentel de Oliveira
h...@engepel.com.br wrote: 
 Thks Mark,
 
 First a correction: I*m working on the SLES 10 - S390 SP2.
 No, I don*t have z/VM.
 So, should I go through TAPE?

No, not tape.  You will need to have a network installation server.  That 
means, you will need to have a server, somewhere in your internal network, that 
serves up the installation media via HTTP, FTP, or NFS.  It is preferable that 
this server be Linux or UNIX, not Windows.  This implies that you will need a 
working TCP/IP connection, on the needed port(s), from your mainframe to the 
installation server.  See http://linuxvm.org/Present/SHARE111/S9233mp.pdf for 
other things to consider.


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


RES: RES: SLES initial installation on IBM z890

2009-02-28 Thread Helio Mario Neves Pimentel de Oliveira
Ok, I´ll track this way (tomorrow).

It´s strange all the documentation present CD-ROM  TAPE options.
Thank you very much again.

Good night

Helio Mario
 

-Mensagem original-
De: Linux on 390 Port [mailto:linux-...@vm.marist.edu] Em nome de Mark
Post
Enviada em: sábado, 28 de fevereiro de 2009 18:24
Para: LINUX-390@VM.MARIST.EDU
Assunto: Re: RES: SLES initial installation on IBM z890


 On 2/28/2009 at  4:17 PM, Helio Mario Neves Pimentel de Oliveira
h...@engepel.com.br wrote: 
 Thks Mark,
 
 First a correction: I*m working on the SLES 10 - S390 SP2. No, I don*t

 have z/VM. So, should I go through TAPE?

No, not tape.  You will need to have a network installation server.
That means, you will need to have a server, somewhere in your internal
network, that serves up the installation media via HTTP, FTP, or NFS.
It is preferable that this server be Linux or UNIX, not Windows.  This
implies that you will need a working TCP/IP connection, on the needed
port(s), from your mainframe to the installation server.  See
http://linuxvm.org/Present/SHARE111/S9233mp.pdf for other things to
consider.


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 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: Can anybody explain this?

2009-02-28 Thread Mark Post
 On 2/28/2009 at  4:32 PM, Bauer, Bobby (NIH/CIT) [E] 
 baue...@mail.nih.gov
wrote: 
 I am trying to add space to a file system. The lvextend to add space worked 
 OK but the resize2fs tells me there is not enough space?
 
 
 
 [r...@lssb1 ~]# lvextend -l +130 /dev/VolGroup00/LogVol06

Did you really intend to only add 130 _bytes_ to the LV?


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


Re: RES: RES: SLES initial installation on IBM z890

2009-02-28 Thread Mark Post
 On 2/28/2009 at  5:06 PM, Helio Mario Neves Pimentel de Oliveira
h...@engepel.com.br wrote: 
 Ok, I*ll track this way (tomorrow).
 
 It*s strange all the documentation present CD-ROM  TAPE options.
 Thank you very much again.

That's correct, but that only gets you to the point of activating the network 
so that you can access the rest of the installation files.


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


Re: neat? bash stuff that I didn't know.

2009-02-28 Thread John McKown
On Fri, 27 Feb 2009, John Summerfield wrote:

 
  will establish a TCP connection to ${PORT} on ${HOST}. Replace
  /dev/tcp/... with /dev/udp/... and it will do udp instead of tcp. This
  redirects stdout. Of course, using  instead of  will redirect stdin and
  do a read. So, if you like netcat to send some data ala
 
  command | nc ${HOST} ${PORT}
 
  you can use the above  redirection instead and
 
  command /dev/tcp/${HOST}/${PORT}
 
  instead of
 
  nc -l ${HOST} ${PORT} | command
 
  NBD - but it saves forking a process.
 but how does one carry on a sensible conversation? I can send stuff to
 sendmail, but how do I get its responses?

You can't. It is like netcat - communications is unidirectional. I guess
if the far end sends something back over the socket, it is quietly
dropped. Netcat has the same problem. It either sends or receives, but not
both. What you'd like would be more like a bidirectional pipe, if there
were such a thing. IIRC, pipes in UNIX are unidirectional. So
bidirectional communications requires two pipes. Something like that might
be possible using this, but I can't really think of how. That might be a
nice enhancement both for IP communications and piped communications.
Perhaps a  symbol?

cmd1  cmd2

could possible cross connect stdout of cmd1 to stdin of cmd2 as well as
stdin of cmd1 to stdout of cmd2, allowing bidirectional communications.
Use of different fd number could be possible with:

cmd1 nm cmd2

where n and m are numbers so that /dev/fd/n of cmd1 talks to /dev/fd/m of
cmd2 and /dev/fd/m of cmd1 to /dev/fd/n of cmd2.

The above would be complicated if somebody naively did:

cmd1 | cmd2  cmd3 | cmd4

In any case, unidirectionality does decrease its utility somewhat.  But I
doubt that any of us would say that piping output from one command to
another is useless because the second command cannot send anything back to
the first command. How do you get responses back from sendmail if you pipe
to it?

--
Q: What do theoretical physicists drink beer from?
A: Ein Stein.

Maranatha!
John McKown

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