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 3390 0501 1500 L5001A MR READ WRITE MULTIPLE MDISK 202 3390 2001 8016 L5001A MR READ WRITE MULTIPLE MDISK 203 FB-512 V-DISK 409600 MR READ WRITE MULTIPLE MDISK 204 FB-512 V-DISK 2097152 MR READ WRITE MULTIPLE 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' Q dasd DASD 0190 3390 540RES R/O 107 CYL ON DASD 5015 SUBCHANNEL = 000B DASD 0191 3390 L5001A R/W 500 CYL ON DASD 5016 SUBCHANNEL = 0000 DASD 019D 3390 540RES R/O 146 CYL ON DASD 5015 SUBCHANNEL = 000C DASD 019E 3390 540RES R/O 250 CYL ON DASD 5015 SUBCHANNEL = 000D DASD 0202 3390 L5001A R/W 8016 CYL ON DASD 5016 SUBCHANNEL = 0001 DASD 0203 9336 (VDSK) R/W 409600 BLK ON DASD VDSK SUBCHANNEL = 0002 DASD 0204 9336 (VDSK) R/W 2097152 BLK ON DASD VDSK SUBCHANNEL = 0003 DASD 0592 3390 540RES R/O 70 CYL ON DASD 5015 SUBCHANNEL = 000E -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of David Boyes Sent: Wednesday, October 05, 2011 4:28 PM To: [email protected] Subject: Re: VDISK Swap >MDISK 203 FB-512 V-DISK 409600 MR READ WRITE MULTIPLE >MDISK 204 FB- 512 V-DISK 2097152 MR READ WRITE MULTIPLE Yes, those statements define the VDISKs, but they don't make them usable by Linux. See my other posts on how to take those and put a swap signature on them so Linux knows how to use them. In your case above, you would have two invocations for SWAPGEN: SWAPGEN 203 409600 ( REUSE FBA SWAPGEN 204 2097152 ( REUSE FBA You need REUSE because SWAPGEN will refuse to overwrite pre-existing disks without it. You can also let SWAPGEN define the disk for you (instead of putting 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 <userid> EXEC file so it's customized for each guest. ---------------------------------------------------------------------- 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/
