Skip to content

Commit 5734a75

Browse files
author
Bob Gaydos
committed
CNV-14317: Adding annotation CNV docs recommending RBD Block mode PVCs when using OCS
1 parent e6a490b commit 5734a75

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

modules/virt-creating-storage-class.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66
= Creating a storage class
77

88
When you create a storage class, you set parameters that affect the
9-
dynamic provisioning of persistent volumes (PVs) that belong to that storage class. +
9+
dynamic provisioning of persistent volumes (PVs) that belong to that storage class.
10+
11+
[IMPORTANT]
12+
====
13+
When using {VirtProductName} with {product-title} Container Storage, specify RBD block mode persistent volume claims (PVCs) when creating virtual machine disks. With virtual machine disks, RBD block mode volumes are more efficient and provide better performance than Ceph FS or RBD filesystem-mode PVCs.
14+
15+
To specify RBD block mode PVCs, use the 'ocs-storagecluster-ceph-rbd' storage class and `VolumeMode: Block`.
16+
====
17+
1018
[NOTE]
1119
====
1220
You cannot update a `StorageClass` object's parameters after you create it.

virt/virtual_machines/virtual_disks/virt-creating-data-volumes.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ toc::[]
77

88
When you create a data volume, the Containerized Data Interface (CDI) creates a persistent volume claim (PVC) and populates the PVC with your data. You can create a data volume as either a standalone resource or by using a `dataVolumeTemplate` resource in a virtual machine specification. You create a data volume by using either the PVC API or storage APIs.
99

10+
[IMPORTANT]
11+
====
12+
When using {VirtProductName} with {product-title} Container Storage, specify RBD block mode persistent volume claims (PVCs) when creating virtual machine disks. With virtual machine disks, RBD block mode volumes are more efficient and provide better performance than Ceph FS or RBD filesystem-mode PVCs.
13+
14+
To specify RBD block mode PVCs, use the 'ocs-storagecluster-ceph-rbd' storage class and `VolumeMode: Block`.
15+
====
16+
1017
[TIP]
1118
====
1219
Whenever possible, use the storage API to optimize space allocation and maximize performance.

0 commit comments

Comments
 (0)