I sort of understand what you are saying here, but I had to forward it to our LINUX guy and haven't heard back from him..
Has SWAPGEN ben updated recently? .. the version I have was from about MARCH of this year. -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of RPN01 Sent: Thursday, July 31, 2008 12:24 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: VDISK-SWAP-SWAPGEN ??? >From one of my systems, here's the contents of /proc/dasd/devices: iwydzl03:/home/rpn01 # cat /proc/dasd/devices 0.0.0391(ECKD) at ( 94: 0) is dasda : active at blocksize: 4096, 22500 blocks, 87 MB 0.0.0392(ECKD) at ( 94: 4) is dasdb : active at blocksize: 4096, 1802880 blocks, 7042 MB 0.0.0393(ECKD) at ( 94: 8) is dasdc : active at blocksize: 4096, 1802880 blocks, 7042 MB 0.0.0394(ECKD) at ( 94: 12) is dasdd : active at blocksize: 4096, 1802880 blocks, 7042 MB 0.0.0395(ECKD) at ( 94: 16) is dasde : active at blocksize: 4096, 5896620 blocks, 23033 MB 0.0.0396(ECKD) at ( 94: 20) is dasdf : active at blocksize: 4096, 5896620 blocks, 23033 MB 0.0.0397(ECKD) at ( 94: 24) is dasdg : active at blocksize: 4096, 5896620 blocks, 23033 MB 0.0.0398(ECKD) at ( 94: 28) is dasdh : active at blocksize: 4096, 5896620 blocks, 23033 MB 0.0.0399(ECKD) at ( 94: 32) is dasdi : active at blocksize: 4096, 5896620 blocks, 23033 MB 0.0.039a(ECKD) at ( 94: 36) is dasdj : active at blocksize: 4096, 1440000 blocks, 5625 MB 0.0.07ff(FBA ) at ( 94: 40) is dasdk : active at blocksize: 512, 2097152 blocks, 1024 MB iwydzl03:/home/rpn01 # The last entry (0.0.7ff) ends up being /dev/dasdk. Using udev, entries for each disk are made in the path /dev/disk/by-path directory such as follows: iwydzl03:/dev/disk/by-path # ls . ccw-0.0.0395 ccw-0.0.0396 ccw-0.0.0397 ccw-0.0.0398 ccw-0.0.0399 ccw-0.0.039a ccw-0.0.07ff .. ccw-0.0.0395p1 ccw-0.0.0396p1 ccw-0.0.0397p1 ccw-0.0.0398p1 ccw-0.0.0399p1 ccw-0.0.039a1 ccw-0.0.07ff1 iwydzl03:/dev/disk/by-path # (Sorry for the formatting, or lack thereof) The entry I'm interested in for swap is ccw-0.0.07ff1 (the first partition of ccw device 07ff). This is used in fstab, as so: /dev/vg_system/lv_var /var reiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.07ff1 swap swap defaults,pri=100 0 0 /dev/vg_system/lv_swap swap swap defaults,pri=50 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 This allows me to access the swap without having to know what /dev/dasd? Device it is, or be worried about it changing positions in the list. Swapgen, used in a CMS profile which starts the boot process, makes sure that the swap space is formatted. -- Robert P. Nix Mayo Foundation .~. RO-OE-5-55 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 7/31/08 11:51 AM, "Huegel, Thomas" <[EMAIL PROTECTED]> wrote: > Tried changing to /dev/dasdb1 ... > Still getting these messages.. > > FBA SWAP DISK DEFINED AT VIRTUAL ADDRESS 151 (12498 4K PAGES OF SWAP SPACE) > > > ACTIVATING SWAP-DEVICES IN /ETC/FSTAB...""" > [1A..FAILED > > ACTIVATING REMAINING SWAP-DEVICES IN /ETC/FSTAB...""" > [1A..FAILED > > and no swap space gets defined. > > > > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of > Adam Thornton > Sent: Thursday, July 31, 2008 11:02 AM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: VDISK-SWAP-SWAPGEN ??? > > > On Jul 31, 2008, at 10:48 AM, Huegel, Thomas wrote: > >> /dev/dasdb swap swap sw 0 0 >> /dev/dasda1 / ext3 >> acl,user_xattr 1 1 >> devpts /dev/pts devpts >> mode=0620,gid=5 0 0 >> proc /proc proc >> defaults 0 0 >> sysfs /sys sysfs >> noauto 0 0 > > If you didn't run SWAPGEN in FBA mode, you want to swap to /dev/dasdb1. > > 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 ---------------------------------------------------------------------- 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