Re: Dasd_diag_mod question

2009-09-14 Thread Agblad Tore
] On Behalf Of Mark Post [mp...@novell.com] Sent: Friday, September 11, 2009 17:52 To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question On 9/11/2009 at 11:36 AM, Larry Uher larry...@yahoo.com wrote: I guess my question would be why is a complex EXEC needed to do a normal system

Re: Dasd_diag_mod question

2009-09-13 Thread Rob van der Heij
On Sat, Sep 12, 2009 at 5:00 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: I made one of the original requests for this support.  I thought it was strange to have to provide the VDISK size for each individual virtual machine in a shared profile environment when it could be done in the directory,

Re: Dasd_diag_mod question

2009-09-12 Thread Rich Smrcina
I made one of the original requests for this support. I thought it was strange to have to provide the VDISK size for each individual virtual machine in a shared profile environment when it could be done in the directory, which is perhaps a more natural place for VM systems programmers. Adam

Re: Dasd_diag_mod question

2009-09-11 Thread Larry Uher
: Mrohs, Ray ray.mr...@usdoj.gov Subject: Dasd_diag_mod question To: LINUX-390@VM.MARIST.EDU Date: Wednesday, July 29, 2009, 2:04 PM Hi All, We are running SLES10 SP2, and I am trying to switch our vdisk swap from fba to diag. So far I: 1) run SWAPGEN EXEC with the reuse option (vdisks are defined

Re: Dasd_diag_mod question

2009-09-11 Thread Mark Post
On 9/11/2009 at 11:20 AM, Larry Uher larry...@yahoo.com wrote: Following is the method I used to switch a swap from FBA to DIAG. I did not wish to use the third party SWAPGEN EXEC. Any particular reason? I recommend it to all my z/VM customers. Mark Post

Re: Dasd_diag_mod question

2009-09-11 Thread Larry Uher
...@novell.com wrote: From: Mark Post mp...@novell.com Subject: Re: Dasd_diag_mod question To: LINUX-390@VM.MARIST.EDU Date: Friday, September 11, 2009, 3:33 PM On 9/11/2009 at 11:20 AM, Larry Uher larry...@yahoo.com wrote: Following is the method I used to switch a swap from FBA to DIAG.  I did

Re: Dasd_diag_mod question

2009-09-11 Thread Mark Post
On 9/11/2009 at 11:36 AM, Larry Uher larry...@yahoo.com wrote: I guess my question would be why is a complex EXEC needed to do a normal system administration task? It's not all that complex, just a lot of parameter parsing and error checking surrounding a couple of lines of code that

Re: Dasd_diag_mod question

2009-09-11 Thread Pat Carroll
by return e-mail and delete this message. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Larry Uher Sent: Friday, September 11, 2009 11:37 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question I guess my question would be why

Re: Dasd_diag_mod question

2009-09-11 Thread Neale Ferguson
And if you put it in your PROFILE EXEC then as soon as the guest is autologged the disk is created and the system can then be booted by the PROFILE EXEC. On 9/11/09 11:52 AM, Mark Post mp...@novell.com wrote: On 9/11/2009 at 11:36 AM, Larry Uher larry...@yahoo.com wrote: It's not all that

Re: Dasd_diag_mod question

2009-09-11 Thread Adam Thornton
On Sep 11, 2009, at 10:36 AM, Larry Uher wrote: I guess my question would be why is a complex EXEC needed to do a normal system administration task? A second question is why didn't Novell provide a straightforward method for doing this and document it in a manual (without using a complex 3rd

Re: Dasd_diag_mod question

2009-09-11 Thread Hall, Ken (GTS)
-...@vm.marist.edu] On Behalf Of Adam Thornton Sent: Friday, September 11, 2009 12:30 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Dasd_diag_mod question On Sep 11, 2009, at 10:36 AM, Larry Uher wrote: I guess my question would be why is a complex EXEC needed to do a normal system

Re: Dasd_diag_mod question

2009-09-11 Thread Adam Thornton
On Sep 11, 2009, at 12:02 PM, Hall, Ken (GTS) wrote: My complaint with SWAPGEN going back to when it was first announced was that it needs to know the number of blocks to format. This means that if the size or number of the vdisk(s) changes in the directory, the VM admin also has to go to the

Re: Dasd_diag_mod question

2009-09-11 Thread Pat Carroll
Sent: Fri Sep 11 13:02:54 2009 Subject: Re: Dasd_diag_mod question My complaint with SWAPGEN going back to when it was first announced was that it needs to know the number of blocks to format. This means that if the size or number of the vdisk(s) changes in the directory, the VM admin also has

Re: Dasd_diag_mod question

2009-09-11 Thread Hall, Ken (GTS)
- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Adam Thornton Sent: Friday, September 11, 2009 1:09 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Dasd_diag_mod question On Sep 11, 2009, at 12:02 PM, Hall, Ken (GTS) wrote: My complaint with SWAPGEN going back to when

Re: Dasd_diag_mod question

2009-09-11 Thread Hall, Ken (GTS)
, September 11, 2009 1:14 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Dasd_diag_mod question Changing the size isn't an issue for me; I size memory so that we *barely* swap anyway. I've never has to change the size of a vdisk. Spelling courtesy of Blackberry - Original Message

Re: Dasd_diag_mod question

2009-09-11 Thread Rob van der Heij
On Fri, Sep 11, 2009 at 5:36 PM, Larry Uher larry...@yahoo.com wrote: I guess my question would be why is a complex EXEC needed to do a normal system administration task?  A second question is why didn't Novell provide a straightforward method for doing this and document it in a manual

Re: Dasd_diag_mod question

2009-09-11 Thread Harder, Pieter
There will be plenty of us reminding you on this post when you found something happened to the order of your disks in the virtual machine configuration and the mkswap wiped out your root file system or some other relevant data... That shouldn't happen if you are using udev to address them

Re: Dasd_diag_mod question

2009-09-11 Thread Adam Thornton
So, for those of you playing along at home: I'll eventually release a new VMARC, but I need to find and update the help file sources first, and I need to do the whole thing under update control and build the package, and in the meantime: I'm using the 0803 SWAPGEN as my starting point. Lines

Re: Dasd_diag_mod question

2009-09-11 Thread David Boyes
I guess my question would be why is a complex EXEC needed to do a normal system administration task?  It's a multi-step process whether you do it at the hypervisor level or inside the Linux guest, so you're going to need some kind of scripting either way. The basic Unix philosophy is write

Re: Dasd_diag_mod question

2009-09-11 Thread David Boyes
When SWAPGEN was written, the Linux distribution providers had much bigger fish to fry. When SWAPGEN was written, there WEREN'T any distribution providers for 390 (other than Marist, who definitely had other things to do). 8-) As you say, though, ain't broke, don't fix it. -- db

Re: Dasd_diag_mod question

2009-09-11 Thread Adam Thornton
On Sep 11, 2009, at 12:59 PM, David Boyes wrote: It sounds like the issue is more that it's a 3rd party tool than that it's done the way it's done. If either of the distributors wants to include SWAPGEN, we're open to discussing the idea. No one has asked. They don't even need to ask,

Re: Dasd_diag_mod question

2009-09-11 Thread David Boyes
My complaint with SWAPGEN going back to when it was first announced was that it needs to know the number of blocks to format. Actually, it needs to know how many blocks to define if you don't want to code it in the directory entry -- it always formats everything. If you put the VDISK in the

Re: Dasd_diag_mod question

2009-09-11 Thread Adam Thornton
On Sep 11, 2009, at 1:15 PM, David Boyes wrote: My complaint with SWAPGEN going back to when it was first announced was that it needs to know the number of blocks to format. Actually, it needs to know how many blocks to define if you don't want to code it in the directory entry -- it always

Re: Dasd_diag_mod question

2009-09-11 Thread O'Brien, Dennis L
at chess, but it was no match for me in kickboxing. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of David Boyes Sent: Friday, September 11, 2009 10:59 To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question I guess my question would be why

Re: Dasd_diag_mod question

2009-09-11 Thread Hall, Ken (GTS)
Subject: Re: [LINUX-390] Dasd_diag_mod question I prefer running SWAPGEN under CMS before starting Linux. If my primary background were Linux, I might feel differently. Adam's fix to pick up the disk size from the directory certainly makes things easier

Re: Dasd_diag_mod question

2009-09-11 Thread David Boyes
If you put the VDISK in the CP directory entry and use the REUSE option, SWAPGEN will simply format what's there and write the signature on the disk. Well, NOW it will, with the change I just posted. Hmph. I'd fixed that while back, but guess I didn't commit the fix to the main

Re: Dasd_diag_mod question

2009-08-03 Thread Mrohs, Ray
-...@vm.marist.edu] On Behalf Of Marcy Cortes Sent: Wednesday, July 29, 2009 7:33 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question Question, what is the value of using diag for swapping to vdisk? Even if it is a more efficient driver, you're swapping to memory. How much does

Re: Dasd_diag_mod question

2009-07-30 Thread Rob van der Heij
On Thu, Jul 30, 2009 at 1:33 AM, Marcy Cortesmarcy.d.cor...@wellsfargo.com wrote: Question, what is the value of using diag for swapping to vdisk? Even if it is a more efficient driver, you're swapping to memory.  How much does it save? Hey, what's happening. Wasn't I supposed to ask those

Dasd_diag_mod question

2009-07-29 Thread Mrohs, Ray
Hi All, We are running SLES10 SP2, and I am trying to switch our vdisk swap from fba to diag. So far I: 1) run SWAPGEN EXEC with the reuse option (vdisks are defined in the CP directory) 2) included dasd_diag_mod in the kernel configuration and ran mkinitrd (verified with lsmod) 3) set the yast

Re: Dasd_diag_mod question

2009-07-29 Thread Romanowski, John (OFT)
/swapon each vdisk swap device to use DIAG before you run mkinitrd, zipl, it'd work (I think). -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mrohs, Ray Sent: Wednesday, July 29, 2009 10:05 AM To: LINUX-390@VM.MARIST.EDU Subject: Dasd_diag_mod

Re: Dasd_diag_mod question

2009-07-29 Thread Ron Foster at Baldor-IS
Ray, When you include dasd_diag_mod in the kernel configuration, did you put the dasd drivers in the correct order? Ours is: INITRD_MODULES=reiserfs dm_mod dasd_diag_mod dasd_eckd_mod dasd_fba_mod If dasd_fba_mod is first, then the vdisk will always be detected at bootup as fba. Once upon a

Re: Dasd_diag_mod question

2009-07-29 Thread Romanowski, John (OFT)
the temp directory # zipl reboot #But first have a fallback plan. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mrohs, Ray Sent: Wednesday, July 29, 2009 10:05 AM To: LINUX-390@VM.MARIST.EDU Subject: Dasd_diag_mod question Hi All, We

Re: Dasd_diag_mod question

2009-07-29 Thread Mrohs, Ray
Foster at Baldor-IS Sent: Wednesday, July 29, 2009 11:15 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question Ray, When you include dasd_diag_mod in the kernel configuration, did you put the dasd drivers in the correct order? Ours is: INITRD_MODULES=reiserfs dm_mod dasd_diag_mod

Re: Dasd_diag_mod question

2009-07-29 Thread Mark Post
On 7/29/2009 at 11:15 AM, Ron Foster at Baldor-IS rfos...@baldor.com wrote: Ray, When you include dasd_diag_mod in the kernel configuration, did you put the dasd drivers in the correct order? Ours is: INITRD_MODULES=reiserfs dm_mod dasd_diag_mod dasd_eckd_mod dasd_fba_mod If

Re: Dasd_diag_mod question

2009-07-29 Thread Mark Post
On 7/29/2009 at 10:04 AM, Mrohs, Ray ray.mr...@usdoj.gov wrote: Hi All, We are running SLES10 SP2, and I am trying to switch our vdisk swap from fba to diag. So far I: -snip- Ray, Try this: swapoff /dev/dasdh1 dasd_configure 0.0.0107 0 dasd_configure 0.0.0107 1 1 swapon /dev/dasdh1

Re: Dasd_diag_mod question

2009-07-29 Thread Mrohs, Ray
-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, July 29, 2009 12:34 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question On 7/29/2009 at 10:04 AM, Mrohs, Ray ray.mr...@usdoj.gov wrote: Hi All, We are running SLES10 SP2, and I am trying to switch our vdisk swap from fba to diag

Re: Dasd_diag_mod question

2009-07-29 Thread Mark Post
On 7/29/2009 at 3:09 PM, Mrohs, Ray ray.mr...@usdoj.gov wrote: -snip- Is this the expected behavior, or should mkinitrd/zipl have made it all transparent? I do see the DIAG DASDS during the mkinitrd process. No, I would have expected it to be transparent. Email me your new initrd off list

Re: Dasd_diag_mod question

2009-07-29 Thread Marcy Cortes
on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, July 29, 2009 12:23 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Dasd_diag_mod question On 7/29/2009 at 3:09 PM, Mrohs, Ray ray.mr...@usdoj.gov wrote: -snip- Is this the expected behavior, or should

Re: Dasd_diag_mod question

2009-07-29 Thread Pat Carroll
, please notify the sender by return e-mail and delete this message. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Marcy Cortes Sent: Wednesday, July 29, 2009 7:33 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question Question, what