Ray,

When you include dasd_diag_mod in the kernel configuration, did you put
the dasd drivers in the correct order?
Ours is:
INITRD_MODULES="reiserfs dm_mod dasd_diag_mod dasd_eckd_mod dasd_fba_mod"
If dasd_fba_mod is first, then the vdisk will always be detected at
bootup as fba.

Once upon a time, it was also necessary to include the diag information
in zipl.conf.
dasd=0100,0102-0105,106-107(diag)
This was set up some time ago.  Since we have gone to SLES10 SP2, I have
not tried booting
one of our vdisk systems without the diag parameter.

Ron



Mrohs, Ray wrote:
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



----------------------------------------------------------------------
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

Reply via email to