-
Notifications
You must be signed in to change notification settings - Fork 144
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
Migrate EC2 Instance #139
Comments
It should work. We migrated a large chunk of our CentOS 8 infra to Rocky 8 in AWS and haven't had issues. Wouldn't hurt to take backups/snapshots, though. |
I definitely will take backups and snapshots. Thanks for the info. |
I made an image first, but the migration seems to have worked great. I just had to manually remount one EFS drive afterwards, but other than that, all tests I have passed. |
That's great to hear! As we're always looking to improve migrate2rocky, can you elaborate on the issue with the EFS drive? |
I am migrating another and will give better notes. But after the restart the EFS drive did not mount, although it was in the fstab. Before trying anything, I reinstalled this tool (https://github.com/aws/efs-utils) and then performed an |
Error message after rebooting:
I confirmed that the EFS drive won't mount until I manually re-install the
|
I can see why this has happened. 10 days ago, Rocky was officially merged into amazon-efs-utils. I wonder if you update amazon-efs-utils before you migrate if that would avoid the issue altogether. |
If you have another one and can try what Luis suggested then I'll wait on those results and then add a note to the known issues section of the README file for others who come across this. |
Yes, that solves the issue. I was performing the efs-utils update only after the migration when running into the issue, but updating efs-utils before the migration works without issue. Edit: Pretty convenient timing for me! |
Thanks. I'll make a note of it under known issues, both the recommendation to update efs-utils first and the fix of reinstalling them after (probably updating them after will work as well). |
Not sure if this is a dumb question or not, but would migrate2rocky theoretically work for an AWS EC2 instance that was started from a Centos 8 image, or are there some behind the scenes things that EC2 is doing that would definitely cause issues.
The text was updated successfully, but these errors were encountered: