Skip to content

Commit 0dad061

Browse files
authored
Merge pull request #81709 from aravipra/OSDOCS-11768
OSDOCS-11768: clarifying LVM thin pool configuration in microshift
2 parents f4d36b7 + 98748b7 commit 0dad061

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

modules/microshift-lvm-thin-volumes.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ To use advanced storage features such as creating volume snapshots or volume clo
1717
To create Container Storage Interface (CSI) snapshots, you must configure thin volumes on the {op-system-ostree} host. The CSI does not support volume shrinking.
1818
====
1919

20+
[IMPORTANT]
21+
====
22+
When using thin provisioning, it is important that you monitor the storage pool and add more capacity as the available physical space runs out. You can configure the storage pool to auto expand when there is available space within the volume group (VG). See link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/configuring_and_managing_logical_volumes/index#creating-thinly-provisioned-logical-volumes_creating-and-managing-thin-provisioned-volumes[Creating thinly provisioned logical volumes].
23+
====
24+
2025
For LVMS to manage thin logical volumes (LVs), a thin-pool `device-class` array must be specified in the `etc/lvmd.yaml` configuration file. Multiple thin-pool device classes are permitted.
2126

2227
If additional storage pools are configured with device classes, then additional storage classes must also exist to expose the storage pools to users and workloads. To enable dynamic provisioning on a thin-pool, a `StorageClass` resource must be present on the cluster. The `StorageClass` resource specifies the source `device-class` array in the `topolvm.io/device-class` parameter.
@@ -31,15 +36,15 @@ device-classes: <2>
3136
spare-gb: 0 <4>
3237
thin-pool:
3338
name: thin
34-
overprovision-ratio: 10 <5>
39+
overprovision-ratio: 1 <5>
3540
type: thin <6>
3641
volume-group: ssd <7>
3742
----
3843
<1> String. The UNIX domain socket endpoint of gRPC. Defaults to `/run/lvmd/lvmd.socket`.
3944
<2> A list of maps for the settings for each `device-class`.
4045
<3> String. The unique name of the `device-class`.
4146
<4> Unsigned 64-bit integer. Storage capacity in GB to be left unallocated in the volume group. Defaults to `0`.
42-
<5> If you have multiple thin-provisioned devices that share the same pool, then these devices can be over-provisioned. Over-provisioning requires a float value of 1 or greater.
47+
<5> Specify a float factor by which you can provision additional storage based on the available storage in the thin pool. For example, if this field is set to 10, you can provision up to 10 times the amount of available storage in the thin pool. To disable over-provisioning, set this field to `1`.
4348
<6> Thin provisioning is required to create volume snapshots.
4449
<7> String. The group where the `device-class` creates the logical volumes.
4550

0 commit comments

Comments
 (0)