You can use SWAPGEN if you're IPLing CMS before Linux, or (if you prefer an all-Linux solution) use an init script to perform the mkswap and swapon the disks (rather than putting them in /etc/fstab).
On Wed, Oct 5, 2011 at 3:30 PM, Dean, David (I/S) <[email protected]>wrote: > Rob, thanks, but I did define it in linux as a swap file, although I did it > through YAST not mkswap. You are correct the error shows as a "lost" swap > signature, which I guess is based on zeroing out the memory, so how do I > automate this. I don't want to redefine these each time. > > -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Rob > van der Heij > Sent: Wednesday, October 05, 2011 3:12 PM > To: [email protected] > Subject: Re: VDISK Swap > > On Wed, Oct 5, 2011 at 9:04 PM, Dean, David (I/S) <[email protected]> > 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... > > 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 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] 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 [email protected] 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 [email protected] 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/
