Skip to content

Commit 37d2d5d

Browse files
authored
Merge pull request #93623 from prithvipatil97/patch-57
Edit command in Removing a local volume or local volume set
2 parents 1b9de83 + 7f3d981 commit 37d2d5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/persistent-storage-local-removing-devices.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Deleting a persistent volume that is still in use can result in data loss or cor
3030
+
3131
[source,terminal]
3232
----
33-
$ oc edit localvolume <name> -n openshift-local-storage
33+
$ oc edit localvolume <local_volume_name> -n openshift-local-storage
3434
----
3535

3636
.. Navigate to the lines under `devicePaths`, and delete any representing unwanted disks.
@@ -39,7 +39,7 @@ $ oc edit localvolume <name> -n openshift-local-storage
3939
+
4040
[source,terminal]
4141
----
42-
$ oc delete pv <pv-name>
42+
$ oc delete pv <pv_name>
4343
----
4444

4545
. Delete directory and included symlinks on the node.
@@ -51,6 +51,6 @@ The following step involves accessing a node as the root user. Modifying the sta
5151
+
5252
[source,terminal]
5353
----
54-
$ oc debug node/<node-name> -- chroot /host rm -rf /mnt/local-storage/<sc-name> <1>
54+
$ oc debug node/<node_name> -- chroot /host rm -rf /mnt/local-storage/<sc_name> <1>
5555
----
5656
<1> The name of the storage class used to create the local volumes.

0 commit comments

Comments
 (0)