Skip to content

Commit 05853e2

Browse files
committed
ocprhv-694 disk preallocation - additions to RHV default install-config.yaml
1 parent c0a2c1e commit 05853e2

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
@@ -72,6 +78,13 @@ pullSecret: '{"auths": ...}'
7278
sshKey: ssh-ed12345 AAAA...
7379
----
7480

81+
<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.
82+
<2> Can be set to `cow` or `raw`. The default is `cow`. The `cow` format is optimized for virtual machines.
83+
+
84+
[NOTE]
85+
====
86+
Preallocating disks on file storage domains writes zeroes to the file. This might not actually preallocate disks depending on the underlying storage.
87+
====
7588

7689
[discrete]
7790
== Example minimal `install-config.yaml` file

0 commit comments

Comments
 (0)