// Module included in the following assemblies:
//
// storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.adoc

:_mod-docs-content-type: PROCEDURE
[id="lvms-scaling-storage-of-clusters-using-cli_{context}"]
= Scaling up the storage of clusters by using the CLI

[role="_abstract"]
Scale up worker node storage capacity when running out of space, adding new applications, or expanding cluster capacity by using the OpenShift CLI (`oc`) to add new devices or worker nodes.

.Prerequisites
* You have additional unused devices on each cluster to be used by {lvms-first}.
* You have installed the OpenShift CLI (`oc`).
* You have created an `LVMCluster` custom resource (CR).

.Procedure
. Edit the `LVMCluster` CR by running the following command:
+
[source, terminal]
----
$ oc edit <lvmcluster_file_name> -n <namespace>
----

. Add the path to the new device in the `deviceSelector` field.
+
include::snippets/lvms-scaling-up-storage-lvmcluster-cr-snippet.adoc[]

. Save the `LVMCluster` CR.
