Mark, I just tried that and the disks showed up as DIAG. But when I reboot, they are not there: lnxm500:/tmp # swapon -a swapon: cannot stat /dev/dasdf1: No such file or directory swapon: cannot stat /dev/dasdg1: No such file or directory swapon: cannot stat /dev/dasdh1: No such file or directory
When I re-run the script with your commands, they show up again: 0.0.0105(DIAG) at ( 94: 20) is dasdf : active at blocksize 512, 250000 blocks, 122 MB 0.0.0106(DIAG) at ( 94: 24) is dasdg : active at blocksize 512, 500000 blocks, 244 MB 0.0.0107(DIAG) at ( 94: 28) is dasdh : active at blocksize 512, 750000 blocks, 366 MB lnxm500:/tmp # swapon -a lnxm500:/tmp # swapon -s Filename Type Size Used Priority /dev/dasdg1 partition 247912 0 -1 /dev/dasdf1 partition 123948 0 -2 /dev/dasdh1 partition 371872 0 -3 Is this the expected behavior, or should mkinitrd/zipl have made it all transparent? I do see the DIAG DASDS during the mkinitrd process. Ray -----Original Message----- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, July 29, 2009 12:34 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Dasd_diag_mod question >>> On 7/29/2009 at 10:04 AM, "Mrohs, Ray" <ray.mr...@usdoj.gov> wrote: > Hi All, > > We are running SLES10 SP2, and I am trying to switch our vdisk swap from > fba to diag. So far I: -snip- Ray, Try this: swapoff /dev/dasdh1 dasd_configure 0.0.0107 0 dasd_configure 0.0.0107 1 1 swapon /dev/dasdh1 swapoff /dev/dasdg1 dasd_configure 0.0.0106 0 dasd_configure 0.0.0106 1 1 swapon /dev/dasdg1 swapoff /dev/dasdf1 dasd_configure 0.0.0105 0 dasd_configure 0.0.0105 1 1 swapon /dev/dasdf1 mkinitrd zipl Mark Post ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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