Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions modules/virt-expanding-vm-disk-pvc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,38 @@

:_mod-docs-content-type: PROCEDURE
[id="virt-expanding-vm-disk-pvc_{context}"]
= Expanding a VM disk PVC
= Increasing a VM disk size by expanding the PVC of the disk

You can increase the size of a virtual machine (VM) disk by expanding the persistent volume claim (PVC) of the disk.
You can increase the size of a virtual machine (VM) disk by expanding the persistent volume claim (PVC) of the disk. To specify the increased PVC volume, you can use the web console with the VM running. Alternatively, you can edit the PVC manifest in the CLI.

[NOTE]
====
If the PVC uses the file system volume mode, the disk image file expands to the available size while reserving some space for file system overhead.
====

[id="virt-expanding-vm-disk-pvc-web-console_{context}"]
== Expanding a VM disk PVC in the web console

You can increase the size of a VM disk PVC in the web console without leaving the *VirtualMachines* page and with the VM running.

.Procedure

. In the *Administrator* or *Virtualization* perspective, open the *VirtualMachines* page.
. Select the running VM to open its *Details* page.
. Select the *Configuration* tab and click *Storage*.
. Click the options menu {kebab} next to the disk you want to expand. Select the *Edit* option.
+
The *Edit disk* dialog opens.
. In the *PersistentVolumeClaim size* field, enter the desired size.
. Click *Save*.

[NOTE]
====
You can enter any value greater than the current one. However, if the new value exceeds the available size, an error is displayed.
====

[id="virt-expanding-vm-disk-pvc-editing-manifest_{context}"]
== Expanding a VM disk PVC by editing its manifest

.Procedure

Expand Down