A postscript to my earlier reply: Instead of trying to deactivate your FBA vdisk swap and reactivate them to use DIAG before running mkinitrd, you could modify the /boot/initrd file to change the /sbin/dasd_configure's to activate your vdisks to use DIAG Change from /sbin/dasd_configure <busid> 1 0 to /sbin/dasd_configure <busid> 1 1
mkdir temp cd temp gzip -d -S "" < /boot/initrd-2.6.16.60-0.29-default | cpio -i ## edit file /init to change the /sbin/dasd_configure statements. ## archive and recompress: find . |cpio -o -H newc |gzip -9c > /boot/initrd-2.6.16.60-0.29-default #remove the temp directory # zipl <reboot> #But first have a fallback plan. > -----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