MySQL Database creation during import from cPanel

When I try and migrate a site into Virtualmin professional I am getting the following error:

Re-creating and loading MySQL databases ..

Creating MySQL database wwwpowa_gallery ..
.. done

Error loading wwwpowa_gallery : ERROR 3 (HY000) at line 21: Error writing file './wwwpowa_gallery/g2_AccessMap.frm' (Errcode: 122)

The result is the database and users are created - but none of the tables are created.

The same error has occurred on 3 different site migrations.

I read somewhere that this Errcode was due to a lack of hard disk/memory resources. So I also tested the migration on another machine that has a lot of free space and memory. I got the same problem.

I am using the updated /usr/libexec/webmin/virtual-server/migration-cpanel.pl that was created to correct the bug of mail users and content not being migrated (see Virtualmin issue FS#4967).

I can provide a backup file if that would be helpful.

Regards,

Martyn

Status: 
Closed (fixed)