Yes, there is...

This will create a 128MB swapfile:

cd /mnt
dd if=/dev/zero of=one.swp bs=1024 count=131072
mkswap -c /mnt/one.swp
swapon /mnt/one.swp
free -m


After that, add the folloowing line to /etc/fstab:
/mnt/one.swp    none    swap    defaults        0 0


Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.



On Wed, Nov 26, 2008 at 2:58 PM, Martin, Terry R. (CMS/CTR) (CTR)
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> Is there a way to add a SWAP file to a running z/Linux guest and have
> that guest start using the SWAP file while that guest is running?
>
>
>
> I am running REDHAT 4.6.
>
>
>
> Thank You,
>
>
>
> Terry Martin
>
> Lockheed Martin - Information Technology
>
> z/OS & z/VM Systems - Performance and Tuning
>
> Cell - 443 632-4191
>
> Work - 410 786-0386
>
> [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

Reply via email to