IBM / power-openstack-k8s-volume-driver

power-openstack-k8s-volume-driver
Apache License 2.0
2 stars 13 forks source link

Query: Supported File system when a volume is provisioned as ReadWriteMany #4

Open gautpras opened 4 years ago

gautpras commented 4 years ago

PowerVC Flex volume diver allows a volume to be mounted in RWX mode and uses PowerVC shared volume feature for it. However, if the file system is XFS or EXT4, which are not parallel file systems, it can cause corruption in File system.

Below is analysis from Daniel De souza casali and Bogdan Savu: After we provision the LUN Flex volume will format the file system (not a parallel one). As soon as the second container on a different node mounts the same disks and both are writing at the same time (if there is no reservation that will avoid this happening) it will corrupt the Filesystem. If there is a reservation lock the container will fail to be created because it will not be able to access the volume.