James, In order to use vdisks, they have to configured similar to an FBA device. Block size must be 512. If you define the vdisk in the VM directory and run SWAPGEN with the proper device number, you should be alright. I am no expert, just tried it once.
Cheers, Loren Charnley, Jr. IT Systems Engineer Family Dollar Stores, Inc. [EMAIL PROTECTED] (704) 847-6961 x 2000 -----Original Message----- From: James Melin [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 9:49 AM To: [EMAIL PROTECTED] Subject: Re: New version of SWAPGEN available K. I've just gotten to the point where our VM guy is going to finally let me USE vdisk for swap (took much convincing) and he assigned that device at dev 300. swapgen not withstanding, I've been unable to get linux to recognize the device. I've tried adding it using an add command echoed to /proc/dasd/devices and I get 0203(ECKD) at ( 94: 12) is dasdd : active at blocksize: 4096, 216000 blocks, 843 MB 0300(none) at ( 94: 16) is dasde : unknown I wanted to resolve THIS part before I tried to do something slick with swapgen. Perhaps I am being premature? Dave Jones <[EMAIL PROTECTED] e.net> To Sent by: Linux on [EMAIL PROTECTED] 390 Port cc <[EMAIL PROTECTED] IST.EDU> Subject Re: New version of SWAPGEN available 06/25/2004 09:24 AM Please respond to Linux on 390 Port <[EMAIL PROTECTED] IST.EDU> Yes, it's ready for Linux use as a swap device. You just need an entry for "swap" in the /etc/fstab file....... DJ James Melin wrote: >So this swapgen utility makes the V-Disk linux ready? Does that mean it's >formatted as swap? What do you do then within in the Linux guest to use >the device as swap? > > > > > Adam Thornton > <[EMAIL PROTECTED] > mine.net> To > Sent by: Linux on [EMAIL PROTECTED] > 390 Port cc > <[EMAIL PROTECTED] > IST.EDU> Subject > New version of SWAPGEN available > > 06/24/2004 05:00 > PM > > > Please respond to > Linux on 390 Port > <[EMAIL PROTECTED] > IST.EDU> > > > > > > >Version 5 of SWAPGEN is now available from >http://www.sinenomine.net/downloads > >It's pretty much the same as version 4, but there's a new option: >REUSE > >If your system policy doesn't allow your guests to define their own >VDISKs, but instead mandates that they be present in the directory >entry, you can use, for example, > >SWAPGEN 152 200000 ( REUSE > >(which would write a Linux swap signature on a DIAG-accessible, >CMS-FORMATted and RESERVEd 200000 block V-DISK at address 152). > >Note that if you're using REUSE you still have to specify the size in >512-blocks, and it needs to match the actual device size. I agonized >over putting the feature in at all, because it makes it possible to >destroy extant data with SWAPGEN (which was not previously possible), >and I finally compromised by only touching devices whose size you've >specified on the command line. Consider that the safety catch: if >you've said REUSE and you know the size of the device, we assume you >really do mean to overwrite it. > >REUSE is *not* the default. The default is still to detach whatever's >at the address you specify, allocate a V-DISK at that address, and use >it. > >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 > >---------------------------------------------------------------------- >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 > > > -- Dave Jones Sine Nomine Associates Houston, TX 281.578.7544 ---------------------------------------------------------------------- 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 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 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