Get SWAPON EXEC from http://www.sinenomine.net/downloads/. You then don't
have to worry about doing anything special, it just works.

> -----Original Message-----
> From: Marist EDU [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 2:05 PM
> To:   [EMAIL PROTECTED]
> Subject:      vdisk swap question
> 
> 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.


______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of or taking of any action in reliance 
upon, this information by persons or entities other than the intended recipient or 
delegate is strictly prohibited. If you received this in error, please contact the 
sender and delete the material from any computer. The integrity and security of this 
message cannot be guaranteed on the Internet. The Sender accepts no liability for the 
content of this e-mail, or for the consequences of any actions taken on the basis of 
the information provided. The recipient should check this e-mail and any attachments 
for the presence of viruses. The sender accepts no liability for any damage caused by 
any virus transmitted by this e-mail. This disclaimer is the property of the TTC and 
must not be altered or circumvented in any manner.

Reply via email to