Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating managed cluster on digital ocean does not add volumes to fstab #42

Open
halindrome opened this issue Oct 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@halindrome
Copy link

When Galera Manager creates a new node at Digital Ocean, it allocates a new volume for database storage and mounts it on /var/lib/mysql. However, it does not add this to the /etc/fstab file, so the volume is not automatically remounted at that point on a reboot. This results in a node failure.

I think there are two decent ways to fix this.

  1. Add an fstab entry that mounts the volume in a format like: /dev/disk/by-id/scsi-0DO_Volume_gmd-ssazr-xxxx /var/lib/mysql ext4 defaults,nofail,discard 0 0
  2. Let the system mount the volume in the standard place in /mnt and make a symbolic link from /var/lib/mysql to the location in /mnt.
@denisgcm denisgcm added the enhancement New feature or request label Nov 20, 2022
@denisgcm
Copy link
Collaborator

Thank you for your proposal. I will add it on our enhancement list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants