When you run mkinitrd, for each dasd it finds online it generates an initrd containing a /sbin/dasd_configure command to activate the dasd with the same discipline (ECKD, FBA, DIAG) its currently using (FBA in the case of your vdisk swap).
If you could <swapoff, deactivate/reactivate w-DIAG/swapon> each vdisk swap device to use DIAG before you run mkinitrd, zipl, it'd work (I think). > -----Original Message----- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of > Mrohs, Ray > Sent: Wednesday, July 29, 2009 10:05 AM > To: LINUX-390@VM.MARIST.EDU > Subject: Dasd_diag_mod question > > Hi All, > > We are running SLES10 SP2, and I am trying to switch our vdisk swap > from > fba to diag. So far I: > > 1) run SWAPGEN EXEC with the reuse option (vdisks are defined in the CP > directory) > 2) included dasd_diag_mod in the kernel configuration and ran mkinitrd > (verified with lsmod) > 3) set the yast DASD option to use diag for the vdisk devices (verified > in /etc/sysconfig/hardware/*) > 4) included the devices in fstab as swap > 5) reboot > > /etc/fstab: > /dev/dasdf1 none swap sw > 0 0 > /dev/dasdg1 none swap sw > 0 0 > /dev/dasdh1 none swap sw > 0 0 > > Swapon -s: > Filename Type Size Used > Priority > /dev/dasdf1 partition 123948 0 > -1 > /dev/dasdg1 partition 247912 0 > -2 > /dev/dasdh1 partition 371872 0 > -3 > > But the disks still show up like this: > 0.0.0105(FBA ) at ( 94: 20) is dasdf : active at blocksize 512, > 250000 blocks, 122 MB > 0.0.0106(FBA ) at ( 94: 24) is dasdg : active at blocksize 512, > 500000 blocks, 244 MB > 0.0.0107(FBA ) at ( 94: 28) is dasdh : active at blocksize 512, > 750000 blocks, 366 MB > > How can I figure out what's missing? > Any help is appreciated. > > Ray Mrohs > US DOJ > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 > or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390