`odo` lets users manage storage volumes that are attached to the components. A storage volume can be either an ephemeral volume using an `emptyDir` Kubernetes volume, or a link:https://kubernetes.io/docs/concepts/storage/volumes/#persistentvolumeclaim[Persistent Volume Claim] (PVC). A PVC allows users to claim a persistent volume (such as a GCE PersistentDisk or an iSCSI volume) without understanding the details of the particular cloud environment. The persistent storage volume can be used to persist data across restarts and rebuilds of the component.
== Adding a storage volume
To add a storage volume to the cluster, run the command:
Please use `odo push` command to make the storage accessible to the component
----
In the above example, the first storage volume has been mounted to the `/data` path and has a size of `1Gi`, and the second volume has been mounted to `/tmp` and is ephemeral.
== Listing the storage volumes
To check the storage volumes currently used by the component, run the command:
Please use `odo push` command to delete the storage from the cluster
----
In the above example, using the `-f` flag force deletes the storage without asking user permission.
== Adding storage to specific container
If your devfile has multiple containers, you can specify which container you want the storage to attach to, using the `--container` flag in the `odo storage create` command.
The following example is an excerpt from a devfile with multiple containers :