Skip to main content

/var/lib/mysql + symlink + SSD + Idera + MySQL restore = FAIL

Comments

5 comments

  • vanessa
    I've dealt with Idera before. Use a bind mount, and it should work fine.
    0
  • robb3369
    Thanks! I was leaning towards that one but wanted a better vote of confidence than a few random search results.
    0
  • robb3369
    I'v submitted ticket # 4738539 to see if this would be "officially supported" vs the symlink in this scenario... Added to fstab: /ssd/mysql /var/lib/mysql none bind
    0
  • cPanelMichael
    Hello :) I believe a bind mount would work out better compared to a symbolic link in this scenario. One alternative mentioned in the support ticket was to mount the partition directly to /var/lib/mysql to avoid using a symlink or bind mount at all. Thank you.
    0
  • robb3369
    We proposed that when the SSD drive was added, but the DC the built out the server proposed the symlink. While we are backing up mySQL we can't restore in this condition, but this looks pretty "safe"... We will do a full dump of the databases first then drop the link and create the bind mount. And everything "should" be good. Now to find the time to do this...
    0

Please sign in to leave a comment.