Mysql EBS instance rebooted but volume is not attached and nothing is in /mnt
Having a major issue in that the EBS volume is not attached on a newly rebooted mysql server... So not data in /mnt and mysql obviously is not running. Some help on this matter asap would be great. Thanks.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Igor Savchenko on 05 Sep, 2010 01:11 PM
Please provide FarmID, ServerID and volume ID.
Regards,
Igor
3 Posted by Ryan Tremblay on 05 Sep, 2010 01:14 PM
Farm id - 583
Server - i-2d655344
Volume - vol-1123da78
I believe the volume is attached but not in the correct place for mysql.
Thanks
Support Staff 4 Posted by Igor Savchenko on 05 Sep, 2010 01:53 PM
This volume was attached manually?
By default volumes no being detached during reboot. Also, by default scalr attach mysql master volume to /dev/sdo .
Anyway I've mounted this volume manually and started mysql daemon. Everything should be okay.
Regards,
Igor
5 Posted by Ryan Tremblay on 05 Sep, 2010 01:55 PM
Igor- I had a tech before I took over this farm and I think he may have an attachment script running on boot. I will check this and make sure its removed.
Can you explain the steps you took to attached correctly so I can do it in the future.
Thanks again for your help.
6 Posted by Ryan Tremblay on 09 Sep, 2010 01:09 AM
Igor, can you explain the steps you took to correct this so we can do it in the future. Thanks.
Support Staff 7 Posted by Nick Toursky on 09 Sep, 2010 06:43 AM
Hi Ryan,
We've attached the volume by hands on the instance (via command line) and mounted it.
I'm pretty sure you won't require to do this in the future, but anyway. You should attach the master volume to /dev/sdo and mount it to /mnt.
Regards,
Nick
Nick Toursky closed this discussion on 17 Sep, 2010 09:58 AM.