On 7/3/20 9:37 AM, Chris Murphy wrote:
To give the nodatacow suggestion a try: ## shutdown the database # mkdir /var/lib/mysql2 # chattr +C /var/lib/mysql2 # cp /var/lib/mysql/* /var/lib/mysql2/ # rm /var/lib/mysql/ # mv /var/lib/mysql2/ /var/lib/mysql/ ## resume operation
To avoid possible issues, I would suggest this order: # mv /var/lib/mysql/ /var/lib/mysql2/ # mkdir /var/lib/mysql # chattr +C /var/lib/mysql # cp -a /var/lib/mysql2/* /var/lib/mysql/ # rm -rf /var/lib/mysql2/ _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx