On any Linux distribution, you can in a pinch create swap space from a
regular file:
mkdir -p -m 700 /var/swap
touch -m 600 /var/swap/moreswap
dd if=/dev/zero of=/var/swap/moreswap bs=8192 count=8192
mkswap /var/swap/moreswap
swapon /var/swap/moreswap
This would instantly give you 64M additional swap space (assuming that
you have that much room under /var to start with).
You could add an extra swap DISK almost as easily, if you don't mind
going through the machinations of adding disk in the first place.
-- Rick; <><
On Wed, Nov 26, 2008 at 11:59 AM, 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]
>
>