We are running SLES7 and trying to initailize swap space that exists on a
VDISK.  I realize that the space needs to be formated using mkswap everytime
the instance is logged off.  

I added the following two lines to /etc/rc.d/boot.local

/sbin/mkswap /dev/dasdd
/sbin/swapon /dev/dasdd -p 1

But after I did this I get the following error when I IPL.

Setting up swapspace version 1, size = 10477568 bytes                    
dasd(fba):device 0210 on irq 13: I/O status report:                      
end_request: I/O error, dev 5e:0c (dasd), sector 2                       
Unable to find swap-space signature                                      
swapon: /dev/dasdd: Invalid argument                                     
  failed                                                                 
Creating /var/log/boot.msg  

After the IPL is completed if I log in and manually enter the commands, they
work as expected.  Why don't they work using boot.local ?

TIA

Josh Konkol, CNE MCSE
Technical Research Specialist
 .~.    GuideOne Insurance
 /V\    
/( )\   
^^-^^   

   
This message and accompanying documents are covered by the Electronic
Communications Privacy Act, 18 U.S.C. �� 2510-2521, and contains information
intended for the specified individual(s) only. This information is
confidential. If you are not the intended recipient or an agent responsible
for delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review, dissemination,
copying, or the taking of any action based on the contents of this
information is strictly prohibited. If you have received this communication
in error, please notify us immediately by e-mail, and delete the original
message.

Reply via email to