VZFS-based container cannot be migrated or converted to
On destination side in /var/log/messages the following errors are logged:
vzctl : quotaon: using //aquota.group on /dev/vzfs [/]: No such device vzctl : quotaon: using //aquota.user on /dev/vzfs [/]: No such device vzctl : Failed to turn quota on vzctl : Failed to setup 2nd level quota vzctl : Failed to start the Container /usr/sbin/vzctl exited with code 65
- The container has second level quota enabled.
quotapackage inside the container is older than
quota package with versions older than 3.13-8.el5 is not supported.
There are two solutions, it is possible to use one of them:
Update quota package inside the container before the migration.
Turn off second level quota before the migration, turn it on after, and restart the container to apply the quota settings:
[root@source ~]# vzctl set $CTID --save --quotaugidlimit 0 [root@dest ~]# vzctl set $CTID --save --quotaugidlimit $QUOTAVALUE [root@dest ~]# vzctl restart $CTID