XFS does not allow to mount two volumes that have the same UUID on the same machine. The second mount fails with:
[44557.612032] XFS (vde): Filesystem has duplicate UUID fadf19ab-bbcc-4f40-8d4f-44550e822db1 - can't mount
This is problematic when using a cloned volume or a restored snapshot - the original volume and the new volume cannot be mounted on the same compute node.
On what level should be the issue solved?
-
CSI spec could mention that it's CSI plugin problem to make sure cloned / restored volumes are usable on the same node as the original vol (e.g. by using -o nouuid mount opt. for xfs volumes or using xfs_admin -U genereate to re-generate UUID on the first mount after volume restore / clone).
-
CSI spec could mention that it's CO problem to pass e.g. -o nouuid mount option to all XFS NodeStage/NodePublish calls.
In both cases, someone must check that XFS is used and know that it needs a special handling.
XFS does not allow to mount two volumes that have the same UUID on the same machine. The second mount fails with:
This is problematic when using a cloned volume or a restored snapshot - the original volume and the new volume cannot be mounted on the same compute node.
On what level should be the issue solved?
CSI spec could mention that it's CSI plugin problem to make sure cloned / restored volumes are usable on the same node as the original vol (e.g. by using
-o nouuidmount opt. for xfs volumes or usingxfs_admin -U genereateto re-generate UUID on the first mount after volume restore / clone).CSI spec could mention that it's CO problem to pass e.g.
-o nouuidmount option to all XFS NodeStage/NodePublish calls.In both cases, someone must check that XFS is used and know that it needs a special handling.