I can not get the VDISK SWAP  to work at boot time on SLES9.
I've read the posts on DIAG vs FBA.
I'd be happy if I could just get FBA to work.

Here's the part I don't understand....if I reissue  /etc/init.d/boot.swap
command
after the system is up, then the commands in boot.swap do the trick....

I do see a message in the log at boot-up time that says
device  /dev/dasdb1 unknown...

Is this a timing issue?

TIA
Dave


Here are the contents of the pertinant files:

(PROFILE EXEC)

queue '1'
queue 'LNXSWAP'
'FORMAT 200 E ( BLK 4096'
if rc <> 0 then exit rc
queue '1'
'RESERVE LINUX SWAP E6'
if rc <> 0 then exit rc



(/etc/init.d/boot.swap)

# After mounting we may activate swap files in /etc/fstab
        # .. this should work know with the new swapon behavio(u)r
        #
        ########################################
        #########   Activate DASD Device for swap ##########
        ########################################
        modprobe dasd_fba_mod
        modprobe dasd_diag_mod
        echo "Creating swap file signature"
        mkswap /dev/dasda1
        ########################################
        echo "Activating remaining swap-devices in /etc/fstab..."
        swapon -a &> /dev/null
        rc_status -v1 -r

(/etc/fstab)

/dev/dasdb1      /               ext3       defaults                   1 1
/dev/dasda1      swap         swap      defaults                   0 0
devpts               /dev/pts   devpts    mode=0620,gid=5  0 0
proc                  /proc         proc       defaults                  0
0

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

Reply via email to