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
>>> 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",
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
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
: 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
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: [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
.
-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
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?
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
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
>>> 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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
@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
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
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
&
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
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.
>&
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
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
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:
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
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
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
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
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
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
: 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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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.
@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
'
'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
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
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
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
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-)
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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
...@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
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
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
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:
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
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
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
/
-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
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
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
.
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
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
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
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
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
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
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
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
:
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 - 100 of 307 matches
Mail list logo