Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Man/ploop.8

3,696 bytes added, 05:31, 4 April 2014
Automated import of articles *** existing text overwritten ***
<b>-m</b> <i>mount_point</i> | <i>DiskDescriptor.xml</i> |
<i>image_file</i> }</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="20%">
 
<p style="margin-top: 1em"><b>ploop&nbsp;replace</b></p></td>
<td width="69%">
 
<p style="margin-top: 1em">{ <b>-u</b> <i>uuid</i> |
<b>-l</b> <i>level</i> | <b>-o</b> <i>cur_image_file</i> }
<b>-i</b> <i>image_file DiskDescriptor.xml</i></p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
</table>
<p style="margin-left:11%;">[<b>-u&nbsp;</b><i>UUID</i>]<i>DiskDescriptor.xml</i></p> <table width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="17%"> <p style="margin-top: 1em"><b>ploop&nbsp;check</b></p></td><td width="72%"> <p style="margin-top: 1em">[<b>--force</b>]
[<b>--hard-force</b>] [<b>--check</b>] [<b>--ro</b>]
[<b>--silent</b>] [<b>--drop-inuse</b>] [<b>--raw</b>]
[<b>--blocksize&nbsp;</b><i>size</i>]
[<b>--repair-sparse</b>] <i>DiskDescriptor.xmlimage_file</i> |<i/p>image_file</itd></p> <table width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="1517%">
<p style="margin-top: 1em"><b>ploop&nbsp;info</b></p></td>
<td width="2%"></td><td width="3572%">
<p style="margin-top: 1em">[<b>-s</b>]
<i>DiskDescriptor.xml</i></p> </td><td width="37%"></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="1517%">
<p style="margin-top: 1em"><b>ploop&nbsp;list</b></p></td>
<td width="2%"></td><td width="3572%">
<p style="margin-top: 1em">[<b>-a</b>]</p></td><td width="37%"></td></tr>
</table>
<p style="margin-left:11%;">[<b>-H</b>]
[<b>-u&nbsp;</b><i>uuid</i>] [<b>-s</b>]
[<b>-o&nbsp;</b><i>field</i>[,<i>field</i>...]]
<i>DiskDescriptor.xml</i></p>
</td></tr>
</table>
 
==== replace ====
 
<p style="margin-top: 1em">Replaces a ploop image by a
different (but identical) one, on a running ploop device.
Only a read-only image (e.g. a non-top one in a stacked
configuration) can be replaced. An image to be replaced is
specified by either one of level, UUID, or the current image
file.</p>
 
<p style="margin-top: 1em">If a new image is not identical
to the old one (i.e. its content differs) or not suitable
for ploop in any other way (e.g. it is sparse, or resides on
a file system not supported by ploop), the result is
undefined.</p>
 
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="20%">
 
<p style="margin-top: 1em"><b>ploop&nbsp;replace</b></p></td>
<td width="1%"></td>
<td width="68%">
 
<p style="margin-top: 1em">{ <b>-u</b> <i>uuid</i> |
<b>-l</b> <i>level</i> | <b>-o</b> <i>cur_image_file</i> }
<b>-i</b> <i>image_file DiskDescriptor.xml</i></p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="20%">
 
<p><b>-u</b> <i>uuid</i></p></td>
<td width="1%"></td>
<td width="68%">
 
<p>A <i>uuid</i> of an image to be replaced.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="20%">
 
<p><b>-l</b> <i>level</i></p></td>
<td width="1%"></td>
<td width="68%">
 
<p>A level of image to be replaced. A level is a distance
of an image from the base delta.</p></td></tr>
</table>
 
<p style="margin-left:11%;"><b>-o</b>
<i>cur_image_file</i></p>
 
<p style="margin-left:32%;">A current image file (the one
to replace).</p>
 
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="20%">
 
<p><b>-i</b> <i>image_file</i></p></td>
<td width="1%"></td>
<td width="37%">
 
<p>A new replacement image.</p></td>
<td width="31%">
</td></tr>
</table>
 
<p style="margin-left:11%;"><i>DiskDescriptor.xml</i></p>
 
<p style="margin-left:32%;">Path to the DiskDescriptor.xml
file with information about images.</p>
==== resize ====
<p style="margin-top: 1em">Check the internal consistency
of (and possibly repair) a ploop image (or images). Note
that image(s) to be tested should not be in use. If</p> <table width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="17%"> <p style="margin-top: 1em"><b>ploop&nbsp;check</b></p></td><td width="1%"></td><td width="43%"> <p style="margin-top: 1em">[<b>-u&nbsp;</b><i>UUID</i>]<i>DiskDescriptor.xml</i> is supplied, </p> </td><td width="28%"></td></tr></table> <p style="margin-top: 1em">Check all the images in<i>DiskDescriptor.xml</i> up to the one denoted bytheone <i>UUID</i> (or default top delta, if UUID is notspecified). Default built-in check options are used, and theones specified on the command line, if any, are checkedignored.</p>
<table width="100%" border="0" rules="none" frame="void"
<p style="margin-top: 1em">[<b>-H</b>]
[<b>-u&nbsp;</b><i>uuid</i>] [<b>-s</b>]
[<b>-o&nbsp;</b><i>field</i>[,<i>field</i>...]]
<i>DiskDescriptor.xml</i></p> </td></tr>
<p style="margin-left:42%;">Filter the output to a
specified <i>uuid</i>.</p>
 
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="21%">
 
<p><b>-s</b>, <b>--snapshot</b></p></td>
<td width="10%"></td>
<td width="58%">
 
<p>List in terms of snapshots. By default (i.e. without
this option) the command lists all deltas, and top delta is
marked as current. When this option is used, top delta is
not listed, and the snapshot which is the parent of top
delta is marked as current.</p></td></tr>
</table>
<p style="margin-left:11%;"><b>-o</b>, <b>--output</b>
2,253
edits