systemd mounts don't work when the path contains a symbolic link so the operator needs to resolve the path before configuring the mount service.
sh-5.2# ls -ld /mnt
lrwxrwxrwx. 2 root root 7 Nov 20 2023 /mnt -> var/mnt
sh-5.2# systemctl status 'mnt-persistent\x2dvolumes.mount'
× mnt-persistent\x2dvolumes.mount - Managed mount by Scylla Operator
Loaded: loaded (/etc/systemd/system/mnt-persistent\x2dvolumes.mount; enabled; preset: disabled)
Active: failed (Result: resources)
Where: /mnt/persistent-volumes
What: /dev/md127
Jun 21 13:29:57 ip-10-0-15-175 systemd[1]: mnt-persistent\x2dvolumes.mount: Failed with result 'resources'.
Jun 21 13:29:57 ip-10-0-15-175 systemd[1]: Failed to mount mnt-persistent\x2dvolumes.mount - Managed mount by Scylla Operator.
Jun 21 13:29:58 ip-10-0-15-175 systemd[1]: mnt-persistent\x2dvolumes.mount: Mount path /mnt/persistent-volumes is not canonical (contains a symlink).
Jun 21 13:29:58 ip-10-0-15-175 systemd[1]: mnt-persistent\x2dvolumes.mount: Failed to run 'mount' task: Too many levels of symbolic links
Jun 21 13:29:58 ip-10-0-15-175 systemd[1]: mnt-persistent\x2dvolumes.mount: Failed with result 'resources'.
Jun 21 13:29:58 ip-10-0-15-175 systemd[1]: Failed to mount mnt-persistent\x2dvolumes.mount - Managed mount by Scylla Operator.
Jun 21 13:30:03 ip-10-0-15-175 systemd[1]: mnt-persistent\x2dvolumes.mount: Mount path /mnt/persistent-volumes is not canonical (contains a symlink).
Jun 21 13:30:03 ip-10-0-15-175 systemd[1]: mnt-persistent\x2dvolumes.mount: Failed to run 'mount' task: Too many levels of symbolic links
Jun 21 13:30:03 ip-10-0-15-175 systemd[1]: mnt-persistent\x2dvolumes.mount: Failed with result 'resources'.
Jun 21 13:30:03 ip-10-0-15-175 systemd[1]: Failed to mount mnt-persistent\x2dvolumes.mount - Managed mount by Scylla Operator.
systemd mounts don't work when the path contains a symbolic link so the operator needs to resolve the path before configuring the mount service.