Changes

Jump to: navigation, search

Man/vzctl.8

1,135 bytes added, 16:02, 25 September 2012
Automated import of articles *** existing text overwritten ***
<td width="80%">
<p>[<i>flags</i>] <b>stop</b> <i>CTID</i>[<b>--fast</b>][<b>--fastskip-umount</b>]</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<p>[<i>flags</i>] <b>convert</b> <i>CTID</i>
[<b>--layout&nbsp;ploop</b>[<b>:</b>{<b>expanded</b>|<b>plain</b>|<b>raw</b>}]]</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="7%">
 
<p><b>vzctl</b></p></td>
<td width="2%"></td>
<td width="80%">
 
<p>[<i>flags</i>] <b>compact</b> <i>CTID</i></p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
[<b>--root&nbsp;</b><i>path</i>]
[<b>--private&nbsp;</b><i>path</i>]
[<b>--mount_opts&nbsp;</b><i>options</i>]
[<b>--userpasswd&nbsp;</b><i>user</i>:<i>pass</i>]
[<b>--disabled&nbsp;yes</b>|<b>no</b>]
[<b>--quotatime&nbsp;</b><i>seconds</i>]
[<b>--quotaugidlimit&nbsp;</b><i>num</i>]
[<b>--noatime&nbsp;yes</b>|<b>no</b>]
[<b>--capability&nbsp;</b><i>capname</i>:<b>on</b>|<b>off</b>[<b>,</b>...]]
[<b>--devnodes&nbsp;</b><i>param</i>]
stored. Argument can contain literal string <b>$VEID</b>,
which will be substituted with the numeric CT ID.</p>
 
<p style="margin-left:11%;"><b>--mount_opts</b>
<i>option</i>[<b>,</b><i>option</i>...]</p>
 
<p style="margin-left:17%;">Sets additional mount options
for container file system. Only applicable for <b>ploop</b>
layout, ignored otherwise.</p>
<p style="margin-left:11%;"><b>--userpasswd</b>
&bull; <b>P</b>, <b>p</b> - memory pages (arch-specific,
usually 4KB); <br>
&bull; <b>B</b>, <b>b</b> - bytes(this is the default). <b><br>
--ram</b> <i>bytes</i></p>
container. Actually, the option is a shortcut for setting
<b>--swappages</b> limit (the barrier is set to 0).</p>
 
<p style="margin-left:11%; margin-top: 1em">Note that
<b>vzctl</b> checks if running kernel is VSwap capable, and
refuses to use these parameters otherwise. This behavior can
be overriden by using <b>--force</b> flag before
parameters.</p>
<p style="margin-left:11%; margin-top: 1em">Here is an
container restart, so consider using <b>--setmode</b>
option.</p>
 
==== Mount option ====
 
<p style="margin-left:11%;"><b>--noatime yes</b> |
<b>no</b></p>
 
<p style="margin-left:22%;">Sets noatime flag (do not
update inode access times) on filesystem.</p>
==== Capability option ====
<p style="margin-left:11%;"><b>stop</b> <i>CTID</i>
[<b>--fast</b>] [<b>--skip-umount</b>]</p>
<p style="margin-left:17%;">Stops a container and unmounts a containerit (unless <b>--skip-umount</b> is given).Normally, <b>halt</b>(8) is executed inside a container;optionoption <b>--fast</b> makes <b>vzctl</b> use <b>reboot</b>(2)
syscall instead which is faster but can lead to unclean
container shutdown.</p>
<p style="margin-left:17%; margin-top: 1em">Sixth word, if
exists, is <b>suspended</b>. It appears if both a containerand its dump file exist exists for a stopped container (see <b>chkpnt</b>).</p>
<p style="margin-left:17%; margin-top: 1em">This command
when a container is stopped, plus disk space quota should be
set.</p>
 
<p style="margin-left:11%;"><b>compact</b> <i>CTID</i></p>
 
<p style="margin-left:17%;">Compact container image. This
only makes sense for ploop layout.</p>
<p style="margin-left:11%;"><b>quotaon</b> <i>CTID</i></p>
<p>OS template not found</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
 
<p>99</p></td>
<td width="7%"></td>
<td width="78%">
 
<p>Ploop is not supported by either the running kernel or
vzctl.</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<p>Error switching ploop snapshot</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
 
<p>161</p></td>
<td width="7%"></td>
<td width="78%">
 
<p>Error compacting ploop image</p></td></tr>
</table>
2,253
edits

Navigation menu