On Mon, 2004-06-14 at 13:38, Scorch Burnet wrote: > we issue the swapgen command as follows: > swapgen 0205 30000 ( FBA ) > we receive in response: > Error 91 from CP DEFINE VFB-512 AS 0205 BLK 30000: > HCPLNM091E DASD 0205 not defined; vdisk space not available
OK. You can just drop the line where it detaches the device you give it, and then also the 'CP DEF FBA-512' line from SWAPGEN. That's probably easiest. That way it'll use the existing VDISK. > So...we decide to just do a mkswap, swapon for a VDISK defined in the > user directory > MDISK 0205 FB-512 V-DISK 30000 WV > from mkswap we get: > lnx2142:~# mkswap /dev/dasdf1 > /dev/dasdf1: No such file or directory > lnx2142:~# mkswap /dev/dasd/0205 > mkswap: error: swap area needs to be at least 40kB > Usage: mkswap [-c] [-v0|-v1] [-pPAGESZ] /dev/name [blocks] > lnx2142:~# If you want to use the whole volume, mkswap /dev/dasd/0205/disc Or you could do a dasdfmt and then mkswap /dev/dasd/0205/part1 Personally, I would just comment out the lines in SWAPGEN where it detaches and then creates the device. We put those in there so that you wouldn't overwrite a real device you had. But since that's what you want to do and you're not set up to let guests ask for VDISK, toss 'em. Adam ---------------------------------------------------------------------- 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