Re: vdisk swap in sles 12

2016-09-07 Thread Marcy Cortes
Well, its' vdisk and its fast anyway. And it's a safety net. If we start to use it, something is wrong - leaking or real need for more memory. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Wednesday, September 07, 2016 2:34

Re: vdisk swap in sles 12

2016-09-07 Thread Mark Post
>>> On 9/7/2016 at 03:26 PM, Marcy Cortes >>> wrote: > This works great. Here's a udev rule for a swap disk. We use 4 with > different priorities on them. > > # Configure DASD device at 0.0.ff00 (FBA mode) ACTION=="add", > SUBSYSTEM=="ccw",

Re: vdisk swap in sles 12

2016-09-07 Thread Marcy Cortes
ot;/sbin/swapon /dev/disk/by-path/ccw-0.0.ff00-part1 -p4" -Original Message- From: Cortes, Marcy D. Sent: Wednesday, August 10, 2016 10:58 AM To: LINUX-390@VM.MARIST.EDU Subject: RE: [LINUX-390] vdisk swap in sles 12 Well, at first I tried to be clever and add it to the

Re: vdisk swap in sles 12

2016-08-10 Thread Harris, Donald (ITD)
be the gremlins. -Donald -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Marcy Cortes Sent: Wednesday, August 10, 2016 12:20 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: vdisk swap in sles 12 But they will change when we move things around (replication/recovery

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
: Wednesday, August 10, 2016 11:47 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] vdisk swap in sles 12 You mentioned that you had this: /dev/disk/by-path/ccw-0.0.ff00-part1 swap swap pri=4 0 0 /dev/disk/by-path/ccw-0.0.ff01-part1 swap swap pri=3 0 0 /dev/disk/by-path/ccw-0.0.ff02-part1

Re: vdisk swap in sles 12

2016-08-10 Thread Harris, Donald (ITD)
Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Marcy Cortes Sent: Wednesday, August 10, 2016 11:26 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: vdisk swap in sles 12 I don't have a cio_ignore anywhere. The cookbook here http://www.redbooks.ibm.com/redbooks/pdfs

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
: Re: [LINUX-390] vdisk swap in sles 12 >>> On 8/10/2016 at 01:11 PM, Marcy Cortes <marcy.d.cor...@wellsfargo.com> >>> wrote: > Working on VDISK in sles 12. > We've always just run a /etc/init.d/boot.local on sles 11 but I > decided to try it the cookbook wa

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Christian Borntraeger Sent: Wednesday, August 10, 2016 10:52 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] vdisk swap in sles 12 On 08/10/2016 07:48 PM, Marcy Cortes wrote: ... >> Aug 10 11

Re: vdisk swap in sles 12

2016-08-10 Thread Christian Borntraeger
On 08/10/2016 07:48 PM, Marcy Cortes wrote: ... >> Aug 10 11:55:32 zlnx169 swapon[3349]: swapon: /dev/dasdf1: read swap >> header failed: Success Aug 10 11:55:32 zlnx169 kernel: Adding 92k Another question. How did you prepare the swap disk, with mkswap in the guest or with some CMS tool?

Re: vdisk swap in sles 12

2016-08-10 Thread Christian Borntraeger
On 08/10/2016 07:11 PM, Marcy Cortes wrote: > Working on VDISK in sles 12. > We've always just run a /etc/init.d/boot.local on sles 11 but I decided to > try it the cookbook way. > > I have 4 disks. > Only FF00 and FF02 show up, but swapon -a later will bring

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
10:44 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] vdisk swap in sles 12 On 08/10/2016 07:11 PM, Marcy Cortes wrote: > Working on VDISK in sles 12. > We've always just run a /etc/init.d/boot.local on sles 11 but I decided to > try it the cookbook way. > > I have 4 dis

Re: vdisk swap in sles 12

2016-08-10 Thread Mark Post
>>> On 8/10/2016 at 01:11 PM, Marcy Cortes <marcy.d.cor...@wellsfargo.com> >>> wrote: > Working on VDISK in sles 12. > We've always just run a /etc/init.d/boot.local on sles 11 but I decided to > try it the cookbook way. What way is that? > I have 4

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
To: LINUX-390@VM.MARIST.EDU Subject: [LINUX-390] vdisk swap in sles 12 Working on VDISK in sles 12. We've always just run a /etc/init.d/boot.local on sles 11 but I decided to try it the cookbook way. I have 4 disks. Only FF00 and FF02 show up, but swapon -a later will bring the other 2 online

vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
Working on VDISK in sles 12. We've always just run a /etc/init.d/boot.local on sles 11 but I decided to try it the cookbook way. I have 4 disks. Only FF00 and FF02 show up, but swapon -a later will bring the other 2 online. This is in /etc/fstab /dev/disk/by-path/ccw-0.0.ff00-part1 swap swap

Re: Status of VDISK after swap space usage

2015-12-11 Thread Bill Holder
On Thu, 10 Dec 2015 14:05:26 -0800, Barton Robinson wrote: > If anybody in endicott is listening, ONE REQUEST. The current diagnose > used by the CMM function to release a page actually causes z/VM to read > the page in from the paging subsystem before releasing it. So release > 100,000 pages

Re: Status of VDISK after swap space usage

2015-12-11 Thread Barton Robinson
Has something changed in last 5 years? This has been in my standard SHARE presentations for the last 5 years, with CMM drop 20,000 pages, and there are 20,000 page reads. Drop another 20,000 pages, and there are 40,000 page reads (and 20,000 page writes becuase it was a constrained storage

Re: Status of VDISK after swap space usage

2015-12-11 Thread Bill Holder
One possibility that occurred to me that would cause this "page in only to release" behavior is if Linux has the pages to be released on a linked list, and the linked list is maintained with pointers in the pages themselves, rather than an outside structure. If that's the case, then Linux has to

Re: Status of VDISK after swap space usage

2015-12-11 Thread Barton Robinson
It couldn't be pgmbk, this was a result of a LINUX CMM command, and it was the Linux storage assigned to the virtual machine that was targeted. On 12/11/2015 11:01 AM, Bill Holder wrote: Barton Robinson wrote: Drop another 20,000 pages, and there are 40,000 page reads (and 20,000 page writes

Re: Status of VDISK after swap space usage

2015-12-11 Thread Bill Holder
Barton Robinson wrote: > Drop another 20,000 pages, and there > are 40,000 page reads (and 20,000 page writes becuase it was a > constrained storage experiment). Now that is rather interesting - that instance where the number of reads is exactly twice the number of pages being released maps

Re: Status of VDISK after swap space usage

2015-12-10 Thread Christian Borntraeger
On 12/10/2015 05:58 AM, Alan Altmark wrote: > On Wednesday, 12/09/2015 at 08:15 GMT, Barton Robinson > <bar...@velocitysoftware.com> wrote: >> My request to get this fixed was rejected by ibm several years ago. The >> problem is that even though linux doesn't have anythi

Re: Status of VDISK after swap space usage

2015-12-10 Thread Barton Robinson
Altmark wrote: On Wednesday, 12/09/2015 at 08:15 GMT, Barton Robinson <bar...@velocitysoftware.com> wrote: My request to get this fixed was rejected by ibm several years ago. The problem is that even though linux doesn't have anything on the vdisk, z/vm still has to back it. I asked for a di

Re: Status of VDISK after swap space usage

2015-12-10 Thread Bill Holder
Alan Altmark wrote: > E.g. possibly just re-formatting it could cause a formatted page to be released. We'd need some input from Bill Holder on that. Thanks, Alan. Yes, CP will recognize format write CCWs and release the corresponding vdisk backing storage. So I think that would mean SWAP

Re: Status of VDISK after swap space usage

2015-12-10 Thread Marcy Cortes
On Behalf Of Mrohs, Ray (JMD) Sent: Thursday, December 10, 2015 6:18 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Status of VDISK after swap space usage It's a bit of a balancing act. Running zLinux lean and mean also opens up the possibility of extensive swapping under unusual

Re: Status of VDISK after swap space usage

2015-12-10 Thread Mark Post
will recognize format write CCWs and release the > corresponding vdisk backing storage. So I think that would mean SWAPOFF, > re-format, and SWAPON. It ought to work, no new Diag interface required. Just what would need to be done to generate these format write CCWs? As things stand now, only a

Re: Status of VDISK after swap space usage

2015-12-10 Thread Mrohs, Ray (JMD)
, the VDISK memory consumption could end up being a pretty big chunk. Some smart automation (with format?) run on a scheduled basis could keep things under control. If swap space is really big, then doing that operation on individual disks over timed intervals could minimize the impact on the rest

Re: Status of VDISK after swap space usage

2015-12-09 Thread Aria Bamdad
Hi Ray, Once the guest touches a page in the VDISK, VM will allocate that page and keep it forever until the VDISK is destroyed. So, simply telling the guest to turn off/on the swap will not tell somehow magically release those pages. The only way I know to actually release these pages from

Status of VDISK after swap space usage

2015-12-09 Thread Mrohs, Ray (JMD)
this after making sure that we have sufficient free memory available in that server. The reported swap use then effectively returns to zero. But it seems like nobody tells VM because the VDISK being retained in memory for that virtual machine, as reported by Velocity, is consistent with the maximum

Re: Status of VDISK after swap space usage

2015-12-09 Thread Barton Robinson
My request to get this fixed was rejected by ibm several years ago. The problem is that even though linux doesn't have anything on the vdisk, z/vm still has to back it. I asked for a diagnose as we do with real storage - a way for Linux to tell z/vm the page no longer needs backing. So after

Re: Status of VDISK after swap space usage

2015-12-09 Thread Marcy Cortes
@VM.MARIST.EDU] On Behalf Of Barton Robinson Sent: Wednesday, December 09, 2015 12:13 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Status of VDISK after swap space usage My request to get this fixed was rejected by ibm several years ago. The problem is that even though linux doesn't have

Re: Status of VDISK after swap space usage

2015-12-09 Thread Alan Altmark
On Wednesday, 12/09/2015 at 08:15 GMT, Barton Robinson <bar...@velocitysoftware.com> wrote: > My request to get this fixed was rejected by ibm several years ago. The > problem is that even though linux doesn't have anything on the vdisk, > z/vm still has to back it. I asked for a

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
ing a CMS PROFILE EXEC and SWAPGEN to create Linux swap > files on VDISK, and then using LGR to move a Linux server from one member > to the other. > > We get an error that the CMS disks in one member don't have the same EQID > in the other member when we try to test the relocation &

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
I'm also fairly sure the VDISK cannot be defined as an MDISK for LGR to work (at least when I was doing testing a few years back)SWAPGEN defines them if not already there... Scott Rohling On Fri, Sep 4, 2015 at 9:58 AM, Scott Rohling <scott.rohl...@gmail.com> wrote: > True

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
VFB-512 0203 256000 > > > On 09/04/2015 11:35 AM, Davis, Larry (National VM Capability) wrote: > >> How are people using a CMS PROFILE EXEC and SWAPGEN to create Linux swap >> files on VDISK, and then using LGR to move a Linux server from one member >> to the other. >&

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Marcy Cortes
INUX-390@VM.MARIST.EDU Subject: [LINUX-390] SSI LGR using CMS PROFILE with SWAPGEN and VDISK How are people using a CMS PROFILE EXEC and SWAPGEN to create Linux swap files on VDISK, and then using LGR to move a Linux server from one member to the other. We get an error that the CMS disks in one m

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Marcy Cortes
Right, must be as a COMMAND. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Scott Rohling Sent: Friday, September 04, 2015 10:00 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] SSI LGR using CMS PROFILE with SWAPGEN and VDISK I'm also

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Rich Smrcina
E EXEC and SWAPGEN to create Linux swap files on VDISK, and then using LGR to move a Linux server from one member to the other. We get an error that the CMS disks in one member don't have the same EQID in the other member when we try to test the relocation Larry Davis, VM Capability HP Enterprise Tel:

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Rich Smrcina
COMMAND DEFINE VFB-512 0202 128000 COMMAND DEFINE VFB-512 0203 256000 On 09/04/2015 11:35 AM, Davis, Larry (National VM Capability) wrote: How are people using a CMS PROFILE EXEC and SWAPGEN to create Linux swap files on VDISK, and then using LGR to move a Linux server from one member

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
True - but how is this helping solve the issue?I don't think the problem is with the VDISK.. It's with releasing the CMS disks after the PROFILE EXEC is done... Scott Rohling On Fri, Sep 4, 2015 at 9:53 AM, Rich Smrcina <r...@velocitysoftware.com> wrote: > Whether they're defined

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Davis, Larry (National VM Capability)
Rohling Sent: Friday, September 04, 2015 12:48 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK That doesn't help format them using SWAPGEN should be fine as long as all the CMS disks are detached before attempting LGR .. Scott Rohling On Fri, Sep 4

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread O'Brien, Dennis L
Larry, Yes, we call SWAPGEN from PROFILE EXEC. We normally put VDISK swap devices on virtual addresses 100 and 101. For each of these addresses, our PROFILE EXEC checks for the existence of a device at that address. If it finds one, it leaves it alone. If not, PROFILE EXEC calculates

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Davis, Larry (National VM Capability)
Thanks Dennis Larry Davis, VM Capability -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of O'Brien, Dennis L Sent: Friday, September 04, 2015 2:02 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK Larry

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Davis, Larry (National VM Capability)
and VDISK No - you CAN use SWAPGEN - it will issue the DEFINE commands for you.. you just can't define them in the directory as an MDISK VFB-512 They have to be created dynamically Putting the COMMAND in the directory is your choice. Some sysprogs like everything documented

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread O'Brien, Dennis L
: SSI LGR using CMS PROFILE with SWAPGEN and VDISK Our exec does queue "CP DET 190" queue "CP DET 19E" queue "CP IPL 101 CLEAR" -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Davis, Larry (National VM Capability) Sent

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
t; To: LINUX-390@VM.MARIST.EDU > Subject: Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK > > That doesn't help format them using SWAPGEN should be fine as long as > all the CMS disks are detached before attempting LGR .. > > Scott Rohling > > On Fri, Sep 4, 2015 at 9:44

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Davis, Larry (National VM Capability)
CMS PROFILE with SWAPGEN and VDISK We do pretty much what Marcy does: Call Diag 8,'DETACH 190 19D 19E' Push 'CP IPL' device    Dennis O'Brien 2 Sep 1945

Re: VDISK on the fly

2012-12-21 Thread Agblad Tore
-31-3233569 E-mail: tore.agb...@volvo.com http://www.volvo.com/volvoit/global/en-gb/ -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Rick Troth Sent: den 21 december 2012 00:12 To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK on the fly Not to worry

Re: VDISK on the fly

2012-12-21 Thread Victor Echavarry Diaz
Thanks David: Victor Echavarry System Programmer, EVERTEC LLC -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of David Boyes Sent: Thursday, December 20, 2012 2:52 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK on the fly SWAPGEN is a CMS

Re: VDISK on the fly

2012-12-20 Thread David Boyes
SWAPGEN is a CMS application, so you can't use it when Linux is running, however, you can temporarily define and format a new VDISK with DEFINE (via vmcp) and the Linux commands, add it to fstab, and then update the PROFILE EXEC to add the SWAPGEN line to define the temporary addition

VDISK on the fly

2012-12-20 Thread Victor Echavarry Diaz
Is there a way to expand the swapgen vdisk swap without reboot the server or define a new vdisk using swapgen without ipl? The server is SLES 10SP2. Regards, Víctor Echavarry System Programmer, EVERTEC LLC WARNING: This email and any files transmitted with it are confidential and intended

Re: VDISK on the fly

2012-12-20 Thread Rick Troth
Not to worry. Adding more swap space is easy. On Thu, Dec 20, 2012 at 12:30 PM, Victor Echavarry Diaz vechava...@evertecinc.com wrote: Is there a way to expand the swapgen vdisk swap without reboot the server or define a new vdisk using swapgen without ipl? Expand it? No. But the norm

Re: VDISK Swap

2011-11-01 Thread Dean, David (I/S)
Of David Boyes Sent: Monday, October 31, 2011 4:17 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap David, thank you for the detailed help. I cannot make it work without the directory entry for VDISK under either method, BUT it works fine as long as my VDISKs are defined. If you have

Re: VDISK Swap

2011-11-01 Thread Rob van der Heij
On Tue, Nov 1, 2011 at 2:25 PM, Dean, David (I/S) david_d...@bcbst.com wrote:  ADDRESS COMMAND  'SWAPGEN 203 409600 ( FBA'  'SWAPGEN 204 2097152 ( FBA' Since SWAPGEN is an EXEC, you need to use 'EXEC SWAPGEN' when address command is in effect... Rob

Re: VDISK Swap

2011-11-01 Thread Dean, David (I/S)
There are no stupid questions, only stupid people -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Rob van der Heij Sent: Tuesday, November 01, 2011 9:44 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap On Tue, Nov 1, 2011 at 2:25 PM, Dean, David (I

Re: VDISK Swap

2011-11-01 Thread David Boyes
behind the gun, but I want to know where I am falling off the boat. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of David Boyes Sent: Monday, October 31, 2011 4:17 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap David, thank

Re: VDISK Swap

2011-11-01 Thread Alan Altmark
On Tuesday, 11/01/2011 at 10:05 EDT, Dean, David (I/S) david_d...@bcbst.com wrote: Rob, Thank you. I will try that. Your answer explains why I have wondered what ADDRESS COMMAND meant...what is the other way?...Can point me to a book or doc on this, I am willing to read. Example from an

Re: VDISK Swap

2011-11-01 Thread Dean, David (I/S)
Thank you, I will. I will also assume Gaaack! means you are really impressed with my work. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan Altmark Sent: Tuesday, November 01, 2011 10:53 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap

Re: VDISK Swap

2011-11-01 Thread RPN01
I think that Gck! means that strings that aren't meant to be interpreted as variables should always be quoted so that they don't get interpreted as variables. -- Robert P. Nix Mayo Foundation.~. RO-OC-1-18 200 First Street SW/V\ 507-284-0844

Re: VDISK Swap

2011-10-31 Thread Dean, David (I/S)
David, thank you for the detailed help. I cannot make it work without the directory entry for VDISK under either method, BUT it works fine as long as my VDISKs are defined. directory USER LNX050 PGDN50 512M 512M INCLUDE LINDFLT MDISK 191 3390 0001 0500 L5001A MR READ WRITE MULTIPLE * ISK 201

Re: VDISK Swap

2011-10-31 Thread Mark Post
On 10/31/2011 at 02:16 PM, Dean, David (I/S) david_d...@bcbst.com wrote: Profile exec ADDRESS COMMAND 'CP SET PF11 RETRIEVE FORWARD' 'CP SET PF12 RETRIEVE BACKWARD' 'CP SWAPGEN 203 409600 ( REUSE FBA' 'CP SWAPGEN 204 2097152 ( REUSE FBA' SWAPGEN isn't a CP command, it's a REXX EXEC.

Re: VDISK Swap

2011-10-31 Thread Dean, David (I/S)
@VM.MARIST.EDU Subject: Re: VDISK Swap On 10/31/2011 at 02:16 PM, Dean, David (I/S) david_d...@bcbst.com wrote: Profile exec ADDRESS COMMAND 'CP SET PF11 RETRIEVE FORWARD' 'CP SET PF12 RETRIEVE BACKWARD' 'CP SWAPGEN 203 409600 ( REUSE FBA' 'CP SWAPGEN 204 2097152 ( REUSE FBA' SWAPGEN isn't

Re: VDISK Swap

2011-10-31 Thread Scott Rohling
' 'SWAPGEN 204 2097152 ( REUSE FBA' -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Monday, October 31, 2011 3:31 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap On 10/31/2011 at 02:16 PM, Dean, David (I/S) david_d

Re: VDISK Swap

2011-10-31 Thread David Boyes
David, thank you for the detailed help. I cannot make it work without the directory entry for VDISK under either method, BUT it works fine as long as my VDISKs are defined. If you have the vdisks in the CP directory entry, you have to use the REUSE option. If you do not have the vdisks

Re: VDISK Swap

2011-10-06 Thread David Stuart
Now, how do you tell Fresh zeros from stale zeros that may be past their shelf life? Dave Dave Stuart Prin. Info. Systems Support Analyst County of Ventura, CA 805-662-6731 david.stu...@ventura.org rodgerd rodg...@israel.diaspora.gen.nz 10/5/2011 5:28 PM snip Fresh zeros is a

Re: VDISK Swap

2011-10-06 Thread Scott Rohling
It's that new silicon smell :) Scott Rohling On Thu, Oct 6, 2011 at 8:55 AM, David Stuart david.stu...@ventura.orgwrote: Now, how do you tell Fresh zeros from stale zeros that may be past their shelf life? Dave Dave Stuart Prin. Info. Systems Support Analyst County of Ventura, CA

Re: VDISK Swap

2011-10-06 Thread David Boyes
On Thu, Oct 6, 2011 at 8:55 AM, David Stuart david.stu...@ventura.orgwrote: Now, how do you tell Fresh zeros from stale zeros that may be past their shelf life? Well, since it's a disk, you naturally read the label. 8-)

VDISK Swap

2011-10-05 Thread Dean, David (I/S)
Why do my swap disks go away when the zvm is ipl'ed? They are defined in the USER DIRECTORY, they are then created on each Linux box as swap drives through partitioning, and exist in the fstab as swap disks. After a recent IPL, I had to re partition each drive... David M. Dean Information

Re: VDISK Swap

2011-10-05 Thread Rob van der Heij
a recent IPL, I had to re partition each drive... You get fresh zeroes when you define the VDISK. That means they don't have the 'swap signature' that lets Linux recognize it as a swap disk. You can format them as swap disk with CMS tools (eg SWAPGEN) or do it in Linux with 'mkswap' Rob

Re: VDISK Swap

2011-10-05 Thread Mark Post
On 10/5/2011 at 03:04 PM, Dean, David (I/S) david_d...@bcbst.com wrote: Why do my swap disks go away when the zvm is ipl'ed? They are defined in the USER DIRECTORY, they are then created on each Linux box as swap drives through partitioning, and exist in the fstab as swap disks. After a

Re: VDISK Swap

2011-10-05 Thread Dean, David (I/S)
Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Rob van der Heij Sent: Wednesday, October 05, 2011 3:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap On Wed, Oct 5, 2011 at 9:04 PM, Dean, David (I/S) david_d...@bcbst.com wrote: Why do my swap disks go

Re: VDISK Swap

2011-10-05 Thread RPN01
After the hasty replies, I suppose one should ask, how do you have your swap disks defined in your CP Directory? Depending on your definition, you could actually have a real concern, aside from the two comments already given. -- Robert P. Nix Mayo Foundation.~. RO-OC-1-18

Re: VDISK Swap

2011-10-05 Thread Scott Rohling
Are they defined as VDISK? If so - you have to mkswap them each boot.. or use SWAPGEN to create them... if they are on DASD you shouldn't have to do this after initial formatting - so not sure what's up. Scott Rohling On Wed, Oct 5, 2011 at 1:04 PM, Dean, David (I/S) david_d...@bcbst.comwrote

Re: VDISK Swap

2011-10-05 Thread Rich Smrcina
As they are memory based disk devices, they are transient. When the 'owning' virtual machine logs off the devices are destroyed. They can easily be recreated with the SWAPGEN utility. On 10/05/2011 02:04 PM, Dean, David (I/S) wrote: Why do my swap disks go away when the zvm is ipl'ed? They

Re: VDISK Swap

2011-10-05 Thread Pat Carroll
To: LINUX-390@VM.MARIST.EDU Subject: VDISK Swap Why do my swap disks go away when the zvm is ipl'ed? They are defined in the USER DIRECTORY, they are then created on each Linux box as swap drives through partitioning, and exist in the fstab as swap disks. After a recent IPL, I had to re

Re: VDISK Swap

2011-10-05 Thread Dean, David (I/S)
: Re: VDISK Swap Google SWAPGEN SINENOMINE Patrick Carroll | Technical Architect II L.L.Bean | Information Services (207) 552-2426 | pcarr...@llbean.com -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Dean, David (I/S) Sent: Wednesday, October 05

Re: VDISK Swap

2011-10-05 Thread Christian Paro
: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Rob van der Heij Sent: Wednesday, October 05, 2011 3:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap On Wed, Oct 5, 2011 at 9:04 PM, Dean, David (I/S) david_d...@bcbst.com wrote: Why do my swap disks go away when

Re: VDISK Swap

2011-10-05 Thread RPN01
Do you IPL Linux directly in the virtual machine, or do you IPL CMS first? SWAPGEN is a CMS exec which defines the Swap space using CMS commands, before you IPL Linux from within CMS. IPLing CMS first gives you a chance do preface the Linux IPL with some intelligence, such as defining the vDisk

Re: VDISK Swap

2011-10-05 Thread Scott Rohling
: Re: VDISK Swap On 10/5/2011 at 03:04 PM, Dean, David (I/S) david_d...@bcbst.com wrote: Why do my swap disks go away when the zvm is ipl'ed? They are defined in the USER DIRECTORY, they are then created on each Linux box as swap drives through partitioning, and exist in the fstab as swap

FW: VDISK Swap

2011-10-05 Thread David Boyes
Bletch. Left out a line in previous post. Use this step 3 instead. 3) Create a PROFILE EXEC on COMMON 191 that looks something like this: /* REXX */ 'say 'Formatting swap disks' 'SWAPGEN ' /* replace xxx with correct swapgen parms */ 'SET CMSTYPE HT' u = userid() 'STATE' u

Re: VDISK Swap

2011-10-05 Thread Dean, David (I/S)
Yes, vdisk. Do I have do I have to do both (swapgen and mkswap)? Or can I just do cms swapgen and then have them (vdisks) defined in user dir? Anyway, thanks all for the direction, guess it is time to read... -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU

Re: VDISK Swap

2011-10-05 Thread David Boyes
No, the only place I have them defined is in the USER DIR. Where do I put swapgen exec. Assuming all your Linux guests are similar, and that they all IPL from the same virtual address (150 in this example): 1) Create a userid called COMMON and give it a 1-cyl minidisk at 191. 2) log into

Re: VDISK Swap

2011-10-05 Thread David Boyes
in the CP Directory) by removing the MDISK statements for the VDISK from the CP directory entry, and just using: SWAPGEN 203 409600 ( FBA SWAPGEN 204 2097152 ( FBA SWAPGEN will define and format the swap disks all by itself. If you use my example, put these in the userid EXEC file so it's

Re: VDISK Swap

2011-10-05 Thread Scott Rohling
...@bcbst.comwrote: Yes, vdisk. Do I have do I have to do both (swapgen and mkswap)? Or can I just do cms swapgen and then have them (vdisks) defined in user dir? Anyway, thanks all for the direction, guess it is time to read... -Original Message- From: Linux on 390 Port [mailto:LINUX-390

Re: VDISK Swap

2011-10-05 Thread Dean, David (I/S)
No, the only place I have them defined is in the USER DIR. Where do I put swapgen exec. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Wednesday, October 05, 2011 3:15 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK Swap

Re: FW: VDISK Swap

2011-10-05 Thread Scott Rohling
Actually - the bit checking for a userid() EXEC will see RC0 and try and execute every time -- the rc ^= 28 is checking the rc of the SET CMSTYPE RT - not the STATE. Use PIPE (e.g. PIPE CMS STATE . | HOLE) and forget about CMSTYPE ;-) Scott Rohling On Wed, Oct 5, 2011 at 2:18 PM, David

Re: VDISK Swap

2011-10-05 Thread Michael MacIsaac
FYI - IPLing CMS and using SWAPGEN on a common 191 disk is all documented in the Virtualization Cookbooks: z/VM and Linux on IBM System z: The Virtualization Cookbook for SLES 11 SP1, SG24-7931, on the Web at see http://www.redbooks.ibm.com/abstracts/sg247932.html z/VM and Linux on IBM System z:

Re: VDISK Swap

2011-10-05 Thread rodgerd
as swap drives through partitioning, and exist in the fstab as swap disks.  After a recent IPL, I had to re partition each drive... You get fresh zeroes when you define the VDISK. Fresh zeros is a delightful turn of phrase that leads me to imagine busy little IBM gnomes parcelling them out

Re: VDISK Swap

2011-10-05 Thread David Boyes
Google SWAPGEN SINENOMINE Patrick Carroll | Technical Architect II L.L.Bean | Information Services Google LLBean Old Port These guys know their stuff. And the free shipping rocks, guys. ++good. 8-) -- db -- For LINUX-390

Re: FW: VDISK Swap

2011-10-05 Thread David Boyes
Actually - the bit checking for a userid() EXEC will see RC0 and try and execute every time -- the rc ^= 28 is checking the rc of the SET CMSTYPE RT - not the STATE. Use PIPE (e.g. PIPE CMS STATE . | HOLE) and forget about CMSTYPE ;-) Doh. Yep, goofed. That's what I get for posting

Re: vdisk

2011-05-02 Thread Agblad Tore
/ -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Antonio Jesús Lozano Bonilla Sent: den 18 april 2011 21:28 To: LINUX-390@VM.MARIST.EDU Subject: Re: vdisk i think so.. if your list of devices is short or not get the new dasd (vdisk).. And i suppouse

Re: vdisk

2011-04-28 Thread Donald Russell
On Wed, Apr 20, 2011 at 07:38, Scott Rohling scott.rohl...@gmail.comwrote: Exactly - vdisk is in memory and will be lost if the guest is logged off -- so must be formatted for swap and mounted as swap by Linux when the guest is started.. I have MDISK statements in the CP directory

Re: vdisk

2011-04-21 Thread Ronald van der Laan
David, Please be aware that if you do not have an external security manager in your z/VM system, CP will provide access to other minidisks based on the minidisk passwords in the CP directory. When you define all for instance all your Linux swap disks as: MDISK 203 FB-512 V-DISK 409600 MR READ

Re: vdisk

2011-04-21 Thread RPN01
. On 4/20/11 10:42 AM, David Boyes dbo...@sinenomine.net wrote: Since it's a fresh disk every time, you'd have to do the mkswap every time you log in, so my guess is that's why you'd need the mkswap and subsequent swapon in the boot.local. The vdisk wouldn't be formatted when you get it at each

Re: vdisk

2011-04-20 Thread Dean, David (I/S)
on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Antonio Jesús Lozano Bonilla Sent: Monday, April 18, 2011 3:28 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: vdisk i think so.. if your list of devices is short or not get the new dasd (vdisk).. And i suppouse u get it on DIAGNOSE mode.. so

Re: vdisk

2011-04-20 Thread RPN01
Since it's a fresh disk every time, you'd have to do the mkswap every time you log in, so my guess is that's why you'd need the mkswap and subsequent swapon in the boot.local. The vdisk wouldn't be formatted when you get it at each fresh logon. -- Robert P. Nix Mayo Foundation

Re: vdisk

2011-04-20 Thread Dean, David (I/S)
Thanks all. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mauro Souza Sent: Wednesday, April 20, 2011 10:18 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: vdisk Yes, it come up on boot. BUT is a (from msdos' times) ram drive. Shut down

Re: vdisk

2011-04-20 Thread Scott Rohling
Exactly - vdisk is in memory and will be lost if the guest is logged off -- so must be formatted for swap and mounted as swap by Linux when the guest is started.. Scott Rohling On Wed, Apr 20, 2011 at 8:15 AM, RPN01 nix.rob...@mayo.edu wrote: Since it's a fresh disk every time, you'd have

Re: vdisk

2011-04-20 Thread Mauro Souza
Subject: Re: vdisk i think so.. if your list of devices is short or not get the new dasd (vdisk).. And i suppouse u get it on DIAGNOSE mode.. so it is little more efficient than FBA 2011/4/18 Mark Pace pacemainl...@gmail.com Wouldn't he need to run mkinitrd in order to get the correct

Re: vdisk

2011-04-20 Thread Dean, David (I/S)
Thanks to all for the information. Now that I have your attention, is it ok for the fixed block definitions be the same for all users, i.e. the vdisk definition (the memory address) lives within the user definition, and not the entire zvm? Resetting one user will have no affect on others

Re: vdisk

2011-04-20 Thread Scott Rohling
To clarify.. the vdisk is specified in number of 512 byte blocks. CP manages where these virtual disks start/end in memory -- you don't need to be concerned about managing them, if this is what you meant.You may want to consider setting system/user limits though, to ensure you don't use up

Re: vdisk

2011-04-20 Thread Rich Smrcina
: Thanks to all for the information. Now that I have your attention, is it ok for the fixed block definitions be the same for all users, i.e. the vdisk definition (the memory address) lives within the user definition, and not the entire zvm? Resetting one user will have no affect on others

  1   2   3   4   >