提交 d38a7c17 编写于 作者: C Cole Robinson

man: Clarify virsh vol-clone works within a single pool

virsh vol-clone is expected to clone a volume within a single
pool; it doesn't work for cloning across pools. Clarify the docs

https://bugzilla.redhat.com/show_bug.cgi?id=1103714
(cherry picked from commit 2f1dc3de)
上级 2908ace2
...@@ -546,7 +546,7 @@ static const vshCmdInfo info_vol_clone[] = { ...@@ -546,7 +546,7 @@ static const vshCmdInfo info_vol_clone[] = {
.data = N_("clone a volume.") .data = N_("clone a volume.")
}, },
{.name = "desc", {.name = "desc",
.data = N_("Clone an existing volume.") .data = N_("Clone an existing volume within the parent pool.")
}, },
{.name = NULL} {.name = NULL}
}; };
......
...@@ -3518,10 +3518,10 @@ only slightly higher initial disk space usage. ...@@ -3518,10 +3518,10 @@ only slightly higher initial disk space usage.
=item B<vol-clone> [I<--pool> I<pool-or-uuid>] I<vol-name-or-key-or-path> =item B<vol-clone> [I<--pool> I<pool-or-uuid>] I<vol-name-or-key-or-path>
I<name> [I<--prealloc-metadata>] [I<--reflink>] I<name> [I<--prealloc-metadata>] [I<--reflink>]
Clone an existing volume. Less powerful, but easier to type, version of Clone an existing volume within the parent pool. Less powerful,
B<vol-create-from>. but easier to type, version of B<vol-create-from>.
I<--pool> I<pool-or-uuid> is the name or UUID of the storage pool to create I<--pool> I<pool-or-uuid> is the name or UUID of the storage pool
the volume in. that contains the source volume, and will contain the new volume.
I<vol-name-or-key-or-path> is the name or key or path of the source volume. I<vol-name-or-key-or-path> is the name or key or path of the source volume.
I<name> is the name of the new volume. I<name> is the name of the new volume.
[I<--prealloc-metadata>] preallocate metadata (for qcow2 images which don't [I<--prealloc-metadata>] preallocate metadata (for qcow2 images which don't
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册