From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search

vzctl is a tool to control OpenVZ containers.

Warning.svg Warning: this is an old version of vzctl. For the latest version, see Download/vzctl/4.11.1.


Since 3.1:

New features

  • vzctl console now accepts tty number argument
  • vzctl console: add ESC ! to issue SAK
  • vzlist: show diskspace/diskinodes usage/limit for ploop CTs
  • vzlist: add more new fields
    • layout (simfs/ploop)
    • private/root (to show VE_PRIVATE and VE_ROOT)
    • features
    • smart_ctid (CT name if available, otherwise numeric CTID)


  • vzctl start: ability to start containers with systemd (such as Fedora 16 and SUSE 12.1)
    • Console and upstart/systemd hacks removed
    • Note this requires recent RHEL6-based kernel
  • vzctl set --ram, --swap: default value is now in bytes
  • vzctl set --save: do not save parameters if failed to apply (#2032)
  • vzctl restore: fix non-working in-CT quota after restore for ploop case
  • vzctl restore: do not ignore DUMPDIR value
  • Fix giving excessive permissions for ugid quota disk device
  • vzctl console: do not issue SAK on detach (it can kill scripts)
  • vzctl start: umount ploop image on CT start
  • vzctl set/start/convert: check for max possible ploop size (#2250)
  • vzlist: do not show UBC from proc for stopped CTs (#2151)
  • init.d/initd-functions: fixes for dash
  • vzubc: fix mixed up qheld/qmaxheld (#2238)
  • vzctl snapshot: resume CT if creating snapshot failed
  • vzmigrate: skip vzquota ops for ploop-based CTs (related to #2252)
  • vzmigrate: do not migrate ploop CT if ploop is not available on dst
  • vzmigrate: do not use --sparse for ploop CTs (related to #2252)
  • Fix error handling in vps_is_run() (#2243)


  • vps-download: accept relative template cache paths (#2222)
  • vzlist: use smart_ctid instead of ctid in default output format
  • vzctl set --ram/swap and vzctl start: check if kernel is vswap capable (#2251)
  • bash_completion: only complete simfs CTs for vzctl convert
  • bash_completion: only complete ploop CTs for vzctl snapshot*
  • vzubc: allow -qh/-qm argument to be per cent (if > 1)
  • vzctl snapshot: removed snapshot-create command alias
  • vzctl snapshot: add --skip-suspend option
  • vzctl set --features/--iptables/--capability: ability to specify several comma-separated values at once
  • vzmigrate: make -vvv add -vv to rsync
  • Code cleanups:
    • include/*.h: remove non-existent function prototypes
    • remove NULL checks before free()
    • some functions marked as static, moved to there they belong
    • get rid of setup_resource_management()
    • whitespace nitpicks


  • Add --ram, --swap to vzctl --help output (#2219)
  • vzctl(8): explain host_mac value for bridge (#2210)
  • vzctl(8): better description of --quotaugidlimit wrt ploop
  • vzctl(8): do not use "second-level quota" term
  • vzctl(8): document ttynum vzctl console argument
  • vzctl(8): add/improve escape sequences description for vzctl console
  • vzctl(8): document --reset_ub
  • vzctl(8): describe --name and --description for vzctl snapshot
  • vzctl(8): various formatting fixes and improvements
  • vzmigrate(8): add missing exit codes description
  • man/ fix Copyright years
  • vzctl.spec: add changelog

For the complete list of changes in this release, see git changelog for vzctl-3.2.


OpenVZ project would like to thank the following people who contributed patches and/or provided bug reports for this vzctl release (in no particular order):

  • Michael Shigorin
  • Slava Dubrovskiy
  • Artur Cichocki
  • cybernet
  • Antonis Christofides
  • boris
  • Todd Mueller
  • Ilja Livenson
  • Paparaciz
  • Nils Breunese
  • Roman (RXL_)



x86 (i686, IA32)[edit]

File Date Size
vzctl-3.2-1.i386.rpm 2012-05-03 10:56:16 179 Kb
vzctl-lib-3.2-1.i386.rpm 2012-05-03 10:56:16 97 Kb

x86_64 (AMD64, EM64T)[edit]

File Date Size
vzctl-3.2-1.x86_64.rpm 2012-05-03 10:56:16 175 Kb
vzctl-lib-3.2-1.x86_64.rpm 2012-05-03 10:56:16 98 Kb


x86 (i686, IA32)[edit]

File Date Size
vzctl-3.2-1.i386.tar.gz 2012-05-03 10:56:15 160 Kb
vzctl-3.2-1.i386.tar.gz.asc 2012-05-03 10:56:18 189 b 
vzctl-lib-3.2-1.i386.tar.gz 2012-05-03 10:56:15 90 Kb
vzctl-lib-3.2-1.i386.tar.gz.asc 2012-05-03 10:56:18 189 b 

x86_64 (AMD64, EM64T)[edit]

File Date Size
vzctl-3.2-1.x86_64.tar.gz 2012-05-03 10:56:15 160 Kb
vzctl-3.2-1.x86_64.tar.gz.asc 2012-05-03 10:56:18 189 b 
vzctl-lib-3.2-1.x86_64.tar.gz 2012-05-03 10:56:15 90 Kb
vzctl-lib-3.2-1.x86_64.tar.gz.asc 2012-05-03 10:56:18 189 b 


File Date Size
vzctl-3.2-1.src.rpm 2012-05-03 10:56:16 447 Kb
vzctl-3.2.tar.bz2 2012-05-03 10:56:15 434 Kb
vzctl-3.2.tar.bz2.asc 2012-05-03 10:56:18 189 b 
vzctl.spec 2012-05-03 10:56:15 13 Kb


For other vzctl releases, see download/vzctl/Archives.

For other tools, see download/utils.

vzctl • ploop • vzquota • vzstats
Versions of vzctl