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,

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", KERNEL=="0.0.ff00", IMPORT{program}="collect 0.0

Re: vdisk swap in sles 12

2016-09-07 Thread Marcy Cortes
+="/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)
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
Sent: 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-

Re: vdisk swap in sles 12

2016-08-10 Thread Harris, Donald (ITD)
--Original 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.co

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
bject: Re: [LINUX-390] vdisk swap in sles 12 >>> On 8/10/2016 at 01: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. What way is that? > I ha

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
hey are ok. -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: ... >>

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

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 the other 2

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 di

Re: vdisk swap in sles 12

2016-08-10 Thread Mark Post
>>> On 8/10/2016 at 01: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. What way is that? > I have 4 disks. > Only FF00 and FF02 show

Re: vdisk swap in sles 12

2016-08-10 Thread Marcy Cortes
: 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. Th

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

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 rathe

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 r

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 exper

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 th

Re: Status of VDISK after swap space usage

2015-12-10 Thread Barton Robinson
Alan Altmark wrote: On Wednesday, 12/09/2015 at 08:15 GMT, Barton Robinson 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 diagnose as we do with re

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

Re: Status of VDISK after swap space usage

2015-12-10 Thread Marcy Cortes
to:LINUX-390@VM.MARIST.EDU] 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 exte

Re: Status of VDISK after swap space usage

2015-12-10 Thread Mark Post
ormat 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 swap signature is writt

Re: Status of VDISK after swap space usage

2015-12-10 Thread Mrohs, Ray (JMD)
rver pools, 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

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

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 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 diagnose as we do with real

Re: Status of VDISK after swap space usage

2015-12-09 Thread Marcy Cortes
--- From: Linux on 390 Port [mailto:LINUX-390@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 pr

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

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 the

Status of VDISK after swap space usage

2015-12-09 Thread Mrohs, Ray (JMD)
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: 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

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 i

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 the

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

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

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
2: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

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Davis, Larry (National VM Capability)
Scott 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

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread O'Brien, Dennis L
vm.marist.edu Subject: Re: 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 (Nat

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

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 wrote: > True - but how is this helping solve t

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 wrote: > Whether they're defined in MDISK sta

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 memb

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Rich Smrcina
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: +1 813 394 4240 E-

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
gt; 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. >> >> We get an error

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

Re: SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Scott Rohling
le 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 member don't have the same EQID > in the other member when we try to test the re

SSI LGR using CMS PROFILE with SWAPGEN and VDISK

2015-09-04 Thread Davis, Larry (National VM Capability)
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 member don't have the same EQID in the other member when we try to test the reloc

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-21 Thread Agblad Tore
+46-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 No

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 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 (for Linux on any HW)

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

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 Rochest

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 Alan Altmark
On Tuesday, 11/01/2011 at 10:05 EDT, "Dean, David (I/S)" 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 autolog1 > ADDRES

Re: VDISK Swap

2011-11-01 Thread David Boyes
----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 you for the detailed help. I cannot make it work

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

Re: VDISK Swap

2011-11-01 Thread Rob van der Heij
On Tue, Nov 1, 2011 at 2:25 PM, Dean, David (I/S) 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)
-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 you for the detailed help. I cannot make it work without the > directory ent

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

Re: VDISK Swap

2011-10-31 Thread Scott Rohling
SE FBA' > > '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

Re: VDISK Swap

2011-10-31 Thread Dean, David (I/S)
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)" >>> wrote: > Profile exec > > ADDRESS COMMAND > 'CP SET PF11 RETRIEVE FORWARD' > 'CP SET PF12 RETRIEVE BACKWARD' > &#

Re: VDISK Swap

2011-10-31 Thread Mark Post
>>> On 10/31/2011 at 02:16 PM, "Dean, David (I/S)" >>> 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. Mark

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-06 Thread David Boyes
> On Thu, Oct 6, 2011 at 8:55 AM, David Stuart > wrote: > > > 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-) -- For LINUX-3

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 wrote: > 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-67

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 10/5/2011 5:28 PM >>> snip "Fresh zeros" is a delightful turn of phrase

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 posti

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 s

Re: VDISK Swap

2011-10-05 Thread rodgerd
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

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

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: VDISK Swap

2011-10-05 Thread Scott Rohling
You can just do SWAPGEN - you don't need mkswap since SWAPGEN writes the swap signature. I think SWAPGEN will create the vdisks if they don't already exist or will use the one in place if it already exists.. Scott Rohling On Wed, Oct 5, 2011 at 2:21 PM, Dean, David (I/S) wrote: &g

Re: VDISK Swap

2011-10-05 Thread David Boyes
utting them 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 EXEC file so it&#

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

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 Scott Rohling
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.

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 Christian Paro
Original 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) > wrote:

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 Pat Carroll
: 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

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 a

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) wrote: > W

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 Dean, David (I/S)
these each time. -Original 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) wrote: > Why do my swap disks go

Re: VDISK Swap

2011-10-05 Thread Mark Post
>>> On 10/5/2011 at 03:04 PM, "Dean, David (I/S)" 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 recent > IPL,

Re: VDISK Swap

2011-10-05 Thread Rob van der Heij
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 d

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 Sys

Re: vdisk

2011-05-02 Thread Agblad Tore
t/global/en-gb/ -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 (v

Re: vdisk

2011-04-28 Thread Donald Russell
On Wed, Apr 20, 2011 at 07:38, Scott Rohling wrote: > 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, and when

Re: vdisk

2011-04-21 Thread RPN01
actice are different." On 4/20/11 10:42 AM, "David Boyes" 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 >> sw

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 W

Re: vdisk

2011-04-20 Thread Martin, Terry R. (CMS/CTR) (CTR)
, Suite 200, 21244  Engineering Computing Mainframe Support Cell - 443 632-4191 -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of David Boyes Sent: Wednesday, April 20, 2011 11:43 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: vdisk > Since it&

Re: vdisk

2011-04-20 Thread Scott Rohling
Yes - each vdisk is assigned to the guest.. anything done to it won't affect other guests.Not sure what you mean by fixed block definitions being the same .. they can be the same or different if what you mean is formatting? Scott Rohling On Wed, Apr 20, 2011 at 8:56 AM, Dean, David

Re: vdisk

2011-04-20 Thread David Boyes
> 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? Yes. The number is not a address, b

Re: vdisk

2011-04-20 Thread David Boyes
> 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 fre

Re: vdisk

2011-04-20 Thread Dean, David (I/S)
Thanks, my concern was to be sure that the vdisk was assigned to the guest and won't affect the others, which you clarified. We have this same definition for all users. MDISK 203 FB-512 V-DISK 409600 MR READ WRITE MULTIPLE MDISK 204 FB-512 V-DISK 2097152 MR READ WRITE MULTIPLE If it we

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

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

  1   2   3   4   >