Skip to content

Commit f9d702e

Browse files
authored
Merge pull request #27703 from bmcelvee/BZ1884643
Bug 1884643 update resolving multi-attach errors procedure
2 parents b1a6e0b + 22578a1 commit f9d702e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

modules/storage-multi-attach-error.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Unable to attach or mount volumes: unmounted volumes=[sso-mysql-pvol], unattache
1818
Multi-Attach error for volume "pvc-8837384d-69d7-40b2-b2e6-5df86943eef9" Volume is already used by pod(s) sso-mysql-1-ns6b4
1919
--
2020

21+
.Procedure
22+
2123
To resolve the multi-attach issue, use one of the following solutions:
2224

2325
* Enable multiple attachments by using RWX volumes.
@@ -28,4 +30,11 @@ For most storage solutions, you can use ReadWriteMany (RWX) volumes to prevent m
2830
+
2931
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.
3032
+
31-
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.
33+
If you encounter a multi-attach error message with an RWO volume, force delete the pod on a shut down or crashed node.
34+
+
35+
[source,terminal]
36+
----
37+
$ oc delete pod <old_pod> --force=true --grace-period=0s
38+
----
39+
+
40+
This command deletes the volumes stuck on shutdown or crashed nodes after six minutes.

0 commit comments

Comments
 (0)