Or if you have one of the latest Linux versions
you can specify memory with a startvalue and a maxvalue giving room
for adding memory on the fly.
Use lsmem to see if it is possible.
Add more with chmem -e 256     or any multiple of 256, it also must be 
available of course.
NOTE!  Do NOT use chmem -d nnn    to remove memory, that is not safe (yet)

________________________________________________ 
Tore Agblad 
System programmer, Volvo IT certified IT Architect
Volvo Information Technology 
IMO Mainframe Databases & zOpen Gothenburg
Dept.  DE56430
SE-405 08, Gothenburg  Sweden 
Telephone: +46-31-3233569 
E-mail: [email protected] 
http://www.volvo.com/volvoit/global/en-gb/ 

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Rick Troth
Sent: den 21 december 2012 00:12
To: [email protected]
Subject: Re: VDISK on the fly

Not to worry.  Adding more swap space is easy.

On Thu, Dec 20, 2012 at 12:30 PM, Victor Echavarry Diaz
<[email protected]> wrote:
> Is there a way to expand the swapgen vdisk swap without reboot the server or 
> define a new vdisk using swapgen without ipl?

Expand it?  No.
But the norm (for Linux on any HW) is to add more swap volumes, not
enlarge them.
This can be done on-the-fly.  Remember to make it permanent ... if the
need is expected to persist.  (Or remember to enlarge what you run
through SWAPGEN.)

For VDISK, create another with 'vmcp define', then bring it online
with 'chccwdev -e', then 'mkswap' against the new device, and then
'swapon' that same device.  This is not permanent.

If you are in a crisis (any HW), you can use a file for swap.  Again
'mkswap' and then 'swapon'.

HTH


--
-- R;   <><

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to