Closed hanumanhuda closed 1 month ago
Hello! The error is exposed by vmstorage itself, as vmstorage tries to create a flock.lock file under "/vm-data" to make sure it's the only process has exclusive access to "/vm-data". It's needed to avoid data conflicted. Could you elaborate your use case here? Why do you want all the vmstorage nodes to use the same PVC?
thanks @Haleygo for responding, I was able to resolve the issue by using PVC templating for multiple replica of storage instead of using pre-created pvc.
Values for vmstorage
We can provide a single pvc for the vmstorage and all the pods are trying to use the same volume, therefore failing with below errors, however we can't provide multiple PVC for the same. Also can't we use the same volume for all the pods and have different subdirectory at pod level.
Error