Skip to content

Commit e8b8b2e

Browse files
committed
Temp: Add back uppercase PVC file name
1 parent 3399420 commit e8b8b2e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
:_content-type: ASSEMBLY
2+
[id="virt-cloning-vm-disk-into-new-block-storage-pvc"]
3+
= Cloning a virtual machine disk into a new block storage persistent volume claim
4+
include::_attributes/common-attributes.adoc[]
5+
:context: virt-cloning-vm-disk-into-new-block-storage-pvc
6+
7+
toc::[]
8+
9+
You can clone the persistent volume claim (PVC) of a virtual machine disk into
10+
a new block PVC by referencing the source PVC in your clone target data volume configuration
11+
file.
12+
13+
[WARNING]
14+
====
15+
Cloning operations between different volume modes are supported, such as cloning from a persistent volume (PV) with `volumeMode: Block` to a PV with `volumeMode: Filesystem`.
16+
17+
However, you can only clone between different volume modes if they are of the `contentType: kubevirt`.
18+
====
19+
20+
[TIP]
21+
====
22+
When you enable preallocation globally, or for a single data volume, the Containerized Data Importer (CDI) preallocates disk space during cloning. Preallocation enhances write performance. For more information, see xref:../../../virt/virtual_machines/virtual_disks/virt-using-preallocation-for-datavolumes.adoc#virt-using-preallocation-for-datavolumes[Using preallocation for data volumes].
23+
====
24+
25+
== Prerequisites
26+
27+
* Users need xref:../../../virt/virtual_machines/cloning_vms/virt-enabling-user-permissions-to-clone-datavolumes.adoc#virt-enabling-user-permissions-to-clone-datavolumes[additional permissions] to clone the PVC of a virtual machine disk into another namespace.
28+
29+
:blockstorage:
30+
include::modules/virt-about-datavolumes.adoc[leveloffset=+1]
31+
32+
include::modules/virt-about-block-pvs.adoc[leveloffset=+1]
33+
34+
include::modules/virt-creating-local-block-pv.adoc[leveloffset=+1]
35+
36+
include::modules/virt-cloning-pvc-of-vm-disk-into-new-datavolume.adoc[leveloffset=+1]
37+
38+
include::modules/virt-cdi-supported-operations-matrix.adoc[leveloffset=+1]
39+
40+
:blockstorage!:

0 commit comments

Comments
 (0)