Could it be that you just might need to refer to /dev/dasdb instead of
/dev/dasdb1? You don't have any partitions on it after executing that CMS
EXEC snippet.

--Jim--
James S. Tison
Senior Software Engineer
TPF Laboratory / Architecture
IBM Corporation
My brain works just like lightning -- one brilliant flash, and it's gone!



Dave Myers <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[email protected]>
16-02-05 21:51
Please respond to
Linux on 390 Port


To
[email protected]
cc

Subject
Need help with VDISK SWAP on SLES9






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

Dave Myers
Sirius Enterprise Systems Group
Sr. Systems Engineer
Office Phone:   (303) 996-7112
Cellular Phone: (303) 619-0782
Home Office:    (303) 948-0027
Fax:                  (303) 706.1713
e-mail: [EMAIL PROTECTED]

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



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to