From 3cb9245a95e3347ca2213e596d7713c89f62ef97 Mon Sep 17 00:00:00 2001 From: sbeskin Date: Mon, 17 Feb 2025 17:07:46 +0200 Subject: [PATCH] CNV-47330 --- modules/virt-expanding-vm-disk-pvc.adoc | 31 +++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/modules/virt-expanding-vm-disk-pvc.adoc b/modules/virt-expanding-vm-disk-pvc.adoc index 0f918d052bda..58f364cebf3d 100644 --- a/modules/virt-expanding-vm-disk-pvc.adoc +++ b/modules/virt-expanding-vm-disk-pvc.adoc @@ -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