Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion modules/storage-multi-attach-error.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Unable to attach or mount volumes: unmounted volumes=[sso-mysql-pvol], unattache
Multi-Attach error for volume "pvc-8837384d-69d7-40b2-b2e6-5df86943eef9" Volume is already used by pod(s) sso-mysql-1-ns6b4
--

.Procedure

To resolve the multi-attach issue, use one of the following solutions:

* Enable multiple attachments by using RWX volumes.
Expand All @@ -28,4 +30,11 @@ For most storage solutions, you can use ReadWriteMany (RWX) volumes to prevent m
+
For storage that does not support RWX, such as VMware vSphere, RWO volumes must be used instead. However, RWO volumes cannot be mounted on multiple nodes.
+
If you encounter a multi-attach error message with an RWO volume, you can either recover or delete the failed node to make the volume available to other nodes.
If you encounter a multi-attach error message with an RWO volume, force delete the pod on a shut down or crashed node.
+
[source,terminal]
----
$ oc delete pod <old_pod> --force=true --grace-period=0s
----
+
This command deletes the volumes stuck on shutdown or crashed nodes after six minutes.