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 swap space and checking to be sure that the Linux guest isn't running on any other z/VM system first, before IPLing it where you are. It can also do some accounting or anything else you'd like in CMS before starting the Linux system.
If you IPL Linux directly, then you need to add the mkswap to your start-up there, so that it can happen each time as the system comes up, without the need for CMS and its tools. Either way will work equally well. -- Robert P. Nix Mayo Foundation .~. RO-OC-1-18 200 First Street SW /V\ 507-284-0844 Rochester, MN 55905 /( )\ ----- ^^-^^ "In theory, theory and practice are the same, but in practice, theory and practice are different." On 10/5/11 2:31 PM, "Dean, David (I/S)" <david_d...@bcbst.com> wrote: > 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 > >>>> 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 recent >> IPL, I had to re partition each drive... > > Do your guests IPL CMS and run SWAPGEN EXEC before Linux gets IPLed? > > > Mark Post > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ----------------------------------------------------- > Please see the following link for the BlueCross BlueShield of Tennessee E-mail > disclaimer: http://www.bcbst.com/email_disclaimer.shtm > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/