OpenVZ Forum


Home » General » Support » vzcfgvalidate and vzctl (seems incompatible with the new vswap features)
vzcfgvalidate and vzctl [message #43598] Fri, 30 September 2011 04:35 Go to next message
Rene is currently offline  Rene
Messages: 40
Registered: September 2006
Member
Seems vzcfgvalidate doesn't even like the samples provided for the new vswap UBC configurations:

# vzcfgvalidate /etc/vz/conf/ve-vswap-512m.conf-sample
Error: limit should be = 9223372036854775807 for physpages (currently, 131072)
Warning: dcachesize.lim should be > 9223372036854775424 (currently, 134217728)

Also vzctl seems to be confused, for example

vzctl set 1402 --save --physpages 0:512M --swappages 0:1G --dcachesize 116M:128M --lockedpages 256M --kmemsize 233M:256M

change this

PHYSPAGES="0:512M"
SWAPPAGES="0:1G"
KMEMSIZE="233M:256M"
DCACHESIZE="116M:128M"
LOCKEDPAGES="256M"

to this

PHYSPAGES="0:131072"
SWAPPAGES="0:262144"
KMEMSIZE="244318208:268435456"
DCACHESIZE="121634816:134217728"
LOCKEDPAGES="65536"

Anyone know if this is being addressed and if so, when a fix can be expected?

Assuming the samples are correct I guess we'll just have to make configuration changes directly in the conf files for now. No big deal of course, but how do you get OVZ to reread the conf file without rebooting the container?

I tried making another change using vzctl but it seems unless you make a change to UBC parameters it dosen't reload the conf file.

Just tried the latest version of vzctl released yesterday (3.0.29.3) but it also has this problem.

[Updated on: Fri, 30 September 2011 05:25]

Report message to a moderator

Re: vzcfgvalidate and vzctl [message #43602 is a reply to message #43598] Fri, 30 September 2011 08:54 Go to previous message
Rene is currently offline  Rene
Messages: 40
Registered: September 2006
Member
Apologies, the vzcfgvalidate issue is already reported as [http://bugzilla.openvz.org/show_bug.cgi?id=1969]bug 1969[/url]

Updated Bugzilla with the vzctl issue.
Previous Topic: Package loss in virtual machine (don not have arp-reply)
Next Topic: 1 machine multiple disks
Goto Forum:
  


Current Time: Sun Nov 17 17:21:59 GMT 2024

Total time taken to generate the page: 0.04061 seconds