Skip to content

Commit 9fc40e7

Browse files
authored
Merge pull request #47085 from emarcusRH/ocprhv-694
ocprhv-694 Preallocating Disks - additions to default install-config.yaml
2 parents b879200 + 05853e2 commit 9fc40e7

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

modules/installing-rhv-example-install-config-yaml.adoc

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,19 @@ compute:
3434
- architecture: amd64
3535
hyperthreading: Enabled
3636
name: worker
37-
platform: {}
37+
platform:
38+
ovirt:
39+
sparse: false <1>
40+
format: raw <2>
3841
replicas: 3
3942
controlPlane:
4043
architecture: amd64
4144
hyperthreading: Enabled
4245
name: master
43-
platform: {}
46+
platform:
47+
ovirt:
48+
sparse: false <1>
49+
format: raw <2>
4450
replicas: 3
4551
metadata:
4652
creationTimestamp: null
@@ -76,6 +82,13 @@ capabilities:
7682
- openshift-samples
7783
----
7884

85+
<1> Setting this option to `false` enables preallocation of disks. The default is `true`. Setting `sparse` to `true` with `format` set to `raw` is not available for block storage domains. The `raw` format writes the entire virtual disk to the underlying physical disk.
86+
<2> Can be set to `cow` or `raw`. The default is `cow`. The `cow` format is optimized for virtual machines.
87+
+
88+
[NOTE]
89+
====
90+
Preallocating disks on file storage domains writes zeroes to the file. This might not actually preallocate disks depending on the underlying storage.
91+
====
7992

8093
[discrete]
8194
== Example minimal `install-config.yaml` file

0 commit comments

Comments
 (0)