// Module included in the following assemblies
//
// * storage/expanding-persistent-volumes.adoc
//* microshift_storage/expanding-persistent-volumes-microshift.adoc

:_mod-docs-content-type: PROCEDURE
[id="expanding-local-volumes_{context}"]
= Expanding local volumes

[role="_abstract"]
To expand your Local Storage Operator (LSO) storage capacity and meet growing data needs, update the storage request in your persistent volume (PV) and persistent volume claim (PVC). This increases capacity for existing volumes without recreating them.

.Procedure

. Expand the underlying devices. Ensure that appropriate capacity is available on these devices.

. Update the corresponding PV objects to match the new device sizes by editing the `.spec.capacity` field of the PV.

. For the storage class that is used for binding the PVC to PV, set the `allowVolumeExpansion` field to `true`.

. For the PVC, set `.spec.resources.requests.storage` to match the new size.

.Result
Kubelet should automatically expand the underlying file system on the volume, if necessary, and update the status field of the PVC to reflect the new size.
