Re: zLinux experience

2006-10-25 Thread Rob van der Heij
A good friend of mine used to say that many performance problems really are expectation problems. The strengths of zSeries are not in single-engine clock speed but in massive throughput. It is not trivial to design a benchmark that demonstrates it. Instead of doing end-to-end benchmarks I prefer

Re: zLinux experience

2006-10-25 Thread Mark Perry
Kielek, Samuel wrote: Google is sponsoring the ZFS port to Linux, details are here: http://zfs-on-fuse.blogspot.com/ and here: http://www.wizy.org/wiki/ZFS_on_FUSE And GNU/OpenSolaris already has it and info on that distro is here: http://www.gnusolaris.org The key word here is FUSE.

MIPS and speed

2006-10-25 Thread glen herrmannsfeldt
(someone wrote) Realize that MIPS actually means Misleading Indicator of Processor Speed. (snip of clock rate comparison) Clock rate is almost never useful for comparing between different types of processors, or even different versions of similar processors. There are many design tradeoffs

Make HMC CD-ROM available as a tape

2006-10-25 Thread Sergey Korzhevsky
Hi People. Is it possible to make HMC CD-ROM available as an emulated tape for already running system (Z/OS, Linux, etc..)? As i understand, for Load from CD-ROM the same feature is used which was/is used in P/390 OMA (if i remember correctly) driver? There we could use emulated tape at any point

Backing up zLinux

2006-10-25 Thread KarlKingston
Hi People We're running SLES 8 on 3 LPARs and SLES 9 on one.We're using FDR/ABR to do full volume dumps of the data. We just bring down the applications we're running (Domino) and unmount the volumes and back them up from z/OS on another LPAR. But this raises the question: How do we

Re: Backing up zLinux

2006-10-25 Thread Jeremy Warren
FDR Upstream does a great job of backing up Domino, and z/Linux (we have done both, but our Domino is still on windows boxes so I can't claim experience in the combination). But AFAIK you should be able to reliably backup Domino and the OS with no outage to either. The catch (there is always a

Re: Make HMC CD-ROM available as a tape

2006-10-25 Thread McKown, John
-Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Korzhevsky Sent: Wednesday, October 25, 2006 5:59 AM To: LINUX-390@VM.MARIST.EDU Subject: Make HMC CD-ROM available as a tape Hi People. Is it possible to make HMC CD-ROM available as an

2.6.19-rc3: known regressions with patches

2006-10-25 Thread Adrian Bunk
This email lists some known regressions in 2.6.19-rc3 compared to 2.6.18 with patches available. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any

Re: Backing up zLinux

2006-10-25 Thread David Boyes
But this raises the question: How do we backup the operating system? Can we take a full volume dump while the system is running (but pretty much idle)? No. Is this a bad idea? Very. You will not get a usable backup. We've beaten this topic pretty hard in the recent past; the list

Re: Backing up zLinux

2006-10-25 Thread Tom Duerbusch
Yes you can take backups when the OS is running. It depends on what running is If the backup is taken when the Linux system is fairly idle. It is also better the quicker the backup as in flashcopy. In other words, the less changes happening during the backup, the better. In the case of

Re: Backing up zLinux

2006-10-25 Thread David Boyes
Yes you can take backups when the OS is running. It depends on what running is I don't like depending on exceptions. In the case of flashcopy, when you IPL the copy, it is no different then if the system crashed and you IPL'ed then. I like depending on recovering stuff even less.

Re: zLinux experience

2006-10-25 Thread Post, Mark K
Given the differences in licensing (GPL vs. CDDL) I would say that is very unlikely. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Perry Sent: Wednesday, October 25, 2006 5:31 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: zLinux

Re: zLinux experience

2006-10-25 Thread Kielek, Samuel
I believe under GPL v3 this is not a problem, but last I checked Linus and many in the kernel devel community had put the kibosh on that. Of course Sun could dual license ZFS.. Or, someone with far too much free time could port OpenSolaris to zSeries... ;) -Sam -Original Message- From:

Re: zLinux experience

2006-10-25 Thread Rich Smrcina
Careful what you wish for... Kielek, Samuel wrote: I believe under GPL v3 this is not a problem, but last I checked Linus and many in the kernel devel community had put the kibosh on that. Of course Sun could dual license ZFS.. Or, someone with far too much free time could port OpenSolaris to

Re: zLinux experience

2006-10-25 Thread Kielek, Samuel
Ohh, do you know something I don't?? Do tell! :) -Sam -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, October 25, 2006 2:32 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: zLinux experience Careful what you wish for...

Detection of DASD volume linked read only

2006-10-25 Thread Eric Gaulin
Hi, On z/VM side i have a DASD volume linked read only. But on linux side i need to find a way for detecting if that DASD device is in a read only state. with the following mount command: mount /mnt/data -o remount,rw I don't get any errors from de the mount command, and if i check the status

Re: zLinux experience

2006-10-25 Thread Rich Smrcina
I probably shouldn't... Nothing's been officially announced and I can't find any reference in the archive (I thought it was previously hinted). The impression that I got this summer was that it was coming along very well. Kielek, Samuel wrote: Ohh, do you know something I don't?? Do tell! :)

Re: Detection of DASD volume linked read only

2006-10-25 Thread David Kreuter
You could use one of the two packages for issuing a CP command, and script it so that you capture the output of Q V DASD or Q V vaddr. Do this early in the game. David From: Linux on 390 Port on behalf of Eric Gaulin Sent: Wed 10/25/2006 2:59 PM To:

Re: Detection of DASD volume linked read only

2006-10-25 Thread Post, Mark K
I would use the hcp command (from the cpint package), or the vmcp command to query CP. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Eric Gaulin Sent: Wednesday, October 25, 2006 2:59 PM To: LINUX-390@VM.MARIST.EDU Subject: Detection of

use sed or awk or ?

2006-10-25 Thread Romanowski, John (OFT)
I want to find the first comment line that begins with a target string in column 1 (#target) and replace only that first target line with another string. There are multiple lines that begin with #target. I've struck out with sed (not that I know sed). Any quick hints on a sed or awk or ??

Re: use sed or awk or ?

2006-10-25 Thread Fargusson.Alan
I know this might not be much help, but this is the kind of thing that sed does not do. I know it can be done with awk, but since I don't know awk I usually write little C programs to do this kind of thing. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of

Re: use sed or awk or ?

2006-10-25 Thread Darren Zamrykut
This should replace the first target: sed -e 's/^ #target\(.*\)/another string/' file newfile Darren On Wednesday 25 October 2006 14:57, Romanowski, John (OFT) wrote: I want to find the first comment line that begins with a target string in column 1 (#target) and replace only that first

Re: use sed or awk or ?

2006-10-25 Thread Richard Hitt
$ ed foo EOF /^#target c whatever . w q EOF Fargusson.Alan wrote: I know this might not be much help, but this is the kind of thing that sed does not do. I know it can be done with awk, but since I don't know awk I usually write little C programs to do this kind of thing.

Re: use sed or awk or ?

2006-10-25 Thread Edmund R. MacKenty
On Wednesday 25 October 2006 15:57, Romanowski, John (OFT) wrote: I want to find the first comment line that begins with a target string in column 1 (#target) and replace only that first target line with another string. There are multiple lines that begin with #target. I've struck out with sed

Re: use sed or awk or ?

2006-10-25 Thread Henry E Schaffer
John writes: I want to find the first comment line that begins with a target string in column 1 (#target) and replace only that first target line with another string. There are multiple lines that begin with #target. I've struck out with sed (not that I know sed). Any quick hints on a sed

Re: use sed or awk or ?

2006-10-25 Thread James Tison
This works for me in GNU sed: sed '0,/^\#/ c My new line content goes here. Watch out for special characters.' Regards, --Jim-- James S. Tison Senior Software Engineer Software Group/EPS Architecture IBM Corporation Romanowski, John (OFT) [EMAIL PROTECTED] Sent by: Linux on 390 Port

Re: what is the conversion from mips to Ghz or back

2006-10-25 Thread Ulisses Penna
Hi all, Wouldn't be the Linux bogomips a good comparison parameter, since it comes in all Linux flavors? Please people, don't get angry with me. I am just raising some measure units (and understand what that bogomips means anyway ;-) Regards.

Re: use sed or awk or ?

2006-10-25 Thread Michael MacIsaac
How about sed, awk, head and tail? This is not the prettiest, but seems to work: # cat foo #first first #second #third #first first #second #third # ./replaceFirst first FIRST foo #FIRST first #second #third #first first #second #third # ./replaceFirst fourth FIRST foo fourth not found # cat

Re: use sed or awk or ?

2006-10-25 Thread Fargusson.Alan
That replaces all the lines that start with #target, not just the first one. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Darren Zamrykut Sent: Wednesday, October 25, 2006 12:47 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: use sed or awk or ? This should

Re: what is the conversion from mips to Ghz or back

2006-10-25 Thread Fargusson.Alan
No. Bogomips seems even less reliable then MIPS ratings. I know that is hard to believe, but the bogomips measure is affected by things like virtualization, and various other factors. Virtualization can cause bogomips ratings to vary from time to time on the same system. -Original

Re: use sed or awk or ?

2006-10-25 Thread Jeremy Warren
Just in case you don't have gnu said around: http://sed.sourceforge.net/grabbag/tutorials/sedfaq.txt 4.11. How do I match only the first occurrence of a pattern? (1) The general solution is to use GNU sed or ssed, with one of these range expressions. The first script (print only the

Re: Detection of DASD volume linked read only

2006-10-25 Thread Lee Stewart
Depends on when you want to check it... After it's activated, look at /proc/dasd/devices 0.0.0200(ECKD) at ( 94: 0) is dasda : active at blocksize: 4096, 600840 blocks, 2347 MB 0.0.0190(ECKD) at ( 94:24) is dasdg (ro): active at blocksize: 4096, 19260 blocks, 75 MB Note 190

Re: what is the conversion from mips to Ghz or back

2006-10-25 Thread David Andrews
On Wed, 2006-10-25 at 18:24 -0300, Ulisses Penna wrote: Wouldn't be the Linux bogomips a good comparison parameter, since it comes in all Linux flavors? To compare what? Processors run at different rates depending on what instructions they are executing. There are cache effects,

Re: Detection of DASD volume linked read only

2006-10-25 Thread Rob van der Heij
On 10/25/06, Post, Mark K [EMAIL PROTECTED] wrote: I would use the hcp command (from the cpint package), or the vmcp command to query CP. Alternatively, you might consider to make the link mode in the directory M rather than MR so that you just don't get the disk when it cannot be in write.