Symptoms
There are cases when a container's old layout cannot be converted to ploop on a migration from Virtuozzo containers 4.0 or 4.6 to a Virtuozzo location:
1363039660: 1363039660: error [-64] : Note: During migration, the utility will convert the Container to a new ploop-based layout.
1363039660: Note: During migration, the utility will convert the Container to a new ploop-based layout.
1363039660: Can't move/copy CT#CTID - CT#CTID, [], [] : Note: During migration, the utility will convert the Container to a new ploop-based layout.
1363039660: close channel
Resolution
To resolve the issue, follow these steps:
-
Prepare the container for migration to ensure all packages from the template area are transferred properly. This is described in the KB article Preparing VZFS containers for migration.
-
Stop the container and migrate it to the local partition on Virtuozzo:
[root@pvcfl40 ~]# vzmigrate root@10.10.10.10 CTID --new-private=/vz/private2/CTIDIf the stage fails, copy container's private area (and the template area, if needed) to the destination node manually with rsync.
-
Convert the container to ploop:
[root@pcs]# vzctl convert CTID -
Move the container's private area to Pstorage:
[root@pcs]# vzmlocal CTID::/vz/private/CTID:
After taking these steps, the container should work on Virtuozzo storage without problems. Please also check the Odin end of life policy.