On Apr 11, 2012, at 8:15 AM, Bruce Hayden wrote:

> You need the storage to be "standby" and not "reserved".  Change your
> command to:
> "DEFINE STORAGE AS 700M STANDBY 300M"
> 
> As was discussed in another thread, "reserved" storage is memory that
> may become available (either to your virtual machine or to an LPAR)
> but is not currently available.  "Standby" storage *is* available and
> can be dynamically added to your virtual machine or to an LPAR.  In an
> LPAR, the amount of standby storage can change if other LPARs have
> unassigned storage added to their storage.  In a virtual machine, you
> control the amount of standby storage vs. reserved storage with the CP
> command.
> 
> To add it to Linux, look at the "Device Drivers" book for SLES 11:
> http://public.dhe.ibm.com/software/dw/linux390/docu/l26edd01.pdf

For RHEL:
http://public.dhe.ibm.com/software/dw/linux390/docu/l26fdd00.pdf
(see Chapter 25 "Managing hotplug memory")

> 
> 2012/4/11 Lu GL Gao <[email protected]>:
>> 
>> How to dynamically increase/decrease storage for linux running on z/VM?
>> 
>> Assumption: Define LPAR profile with 4G initial and 0 reserved storage.
>>           z/VM version is 5.4
>>           User Direct statement for linux guest is "USER LNX1 LNX1 1G 2G
>> EG"
>> Objective:  Dynamically increase/decrease guest storage.
>> 
>> Before booting linux, use command"DEFINE STORAGE AS 700M RESERVED 300M" to
>> set 300M reserved storage for linux.
>> 
>> 
>> Question 1: If linux guest is SUSE11 or above, how to dynamically
>> increase/decrease storage ??
>> 
>> Question 2: If linux guest is Redhat, how to dynamically increase/decrease
>> storage ??
>> 
>> 
>> 
>> 
>> Best Regards!
>> 
>> Gao Lu (高路)
>> I/T Specialist
>> Global Technology Services
>> IBM Global Services (China) Company Limited.
>> Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang
>> District, Beijing, 100101
>> 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
>> BeiJing 100027, PRC
>> Cell Phone: 15001327619
>> Internet ID: [email protected]
> 
> 
> 
> -- 
> Bruce Hayden
> z/VM and Linux on System z ATS
> IBM, Endicott, NY
> 
> ----------------------------------------------------------------------
> 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