On Sun, Mar 14, 2004 at 02:56:19PM -0500, Steve Gentry wrote:
> I'm running RHEL AS and I'm trying to set up a V-DISK swap file.  VM
> definition goes ok; I do a format and then a reserve.
> When I try and do a dasdfmt  I get the following:
> 
> 
you don't have to run dasdfmt on a V-DISK. Just run mkswap and swapon on it.

These are my changes to use V-DISK swap:

In the guests profile.exec:
queue '1'                
queue 'LXSWAP'           
'FORMAT 204 E ( BLK 4096'
if rc <> 0 then exit rc  
queue '1'                
'RESERVE LINUX SWAP E6'  
(This is from the HOWTO on linuxvm.org)

As early as possible in /etc/rc.sysinit if you're running a Linux
guest with less than 48Mb storage:
 mkswap /dev/dasde  (dasdd is my 204 device)
 swapon /dev/dasde

If you have more than 48Mb storage defined, a normal swap entry in /etc/fstab
will suffice.

   Karsten

--
 Karsten Hopp <[EMAIL PROTECTED]>   GPG 1024D/70ABD02C
 Fingerprint D2D4 3B6B 2DE4 464C A432 210A DFF8 A140 70AB D02C
 Red Hat Deutschland, Hauptstaetter Str.58
 70178 Stuttgart, Tel.+49-711-96437-0, Fax +49-711-96437-111

----------------------------------------------------------------------
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: pgp00000.pgp
Description: PGP signature

Reply via email to