On Jan 25, 2012, at 8:41 AM, Alan Altmark wrote: > On Tuesday, 01/24/2012 at 03:07 EST, James Vincent > <jamesscottvinc...@gmail.com> wrote: >> We have dump devices set up with the zIPL tool from the s390utils > package >> (the 1.8.2 level). The tool has worked great but we have noticed > something >> interesting. We are setting up our linux guests with a default amount > of >> storage, along with a max and standby amount. For example, a server may >> have the following in the directory: >> >> STORAGE 1G >> MAXSTORAGE 16G >> COMMAND DEFINE STORAGE STANDBY 15G RESERVED 0M >> >> When we use the dump device on one of these servers, it dumps all 16G > even >> though only 1G is defined/active! Is this "normal behavior" for the > tool, >> or should it (can it?) be looking at what storage is active? > > I wouldn't think so. For it to dump all 16GB, Linux would have to > activate the standby memory, but that would be meaningless since it going > to be filled with zeroes. Or does it simply *appear* to have dumped all > 16GB? Is the dump file actually 16GB? > > Look at CP Q V STOR before and after the dump. Before the dump I would > expect something similar to > STORAGE = 1G MAX = 16G INC = 1M STANDBY = 15G RESERVED = 0 > > If Linux activated the storage, you would see > STORAGE = 16G MAX = 16G INC = 1M STANDBY = 0 RESERVED = 0 > > Alan Altmark > > Senior Managing z/VM and Linux Consultant > IBM System Lab Services and Training > ibm.com/systems/services/labservices > office: 607.429.3323 > mobile; 607.321.7556 > alan_altm...@us.ibm.com > IBM Endicott
I see the same behavior on our system. In my test, with 512M stor and 512M standby, all 1G is dumped. Just for fun I tried this with zipl from the latest s390-tools and the same thing happens. Here's a capture: 03: HCPGSP2630I The virtual machine is placed in CP mode due to a SIGP stop and store status from CPU 00. 00: zIPL v1.16.0-build-20120125 dump tool (64 bit) 00: Dumping 64 bit OS 00: 00000128 / 00001024 MB [...] 00: 00001024 / 00001024 MB 00: Dump successful 00: HCPGIR450W CP entered; disabled wait PSW 00020000 80000000 00000000 00000000 00: 00: CP Q V STOR 00: STORAGE = 512M MAX = 2G INC = 1M STANDBY = 512M RESERVED = 0 James, could you open a bug report? -Brad > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/