Symptoms
The migration of a container from VZLin4.x (Virtuozzo Containers for Linux) or PSBM5 (Server Bare Metal) node to Virtuozzo 6 (Parallels Cloud Server) via "vzmigrate" fails with a similar message:
Can't move/copy CT#CTID - CT#CTID, [], [] : Note: During migration, the utility will convert the Container to a new ploop-based layout.
If the migration is initiated from the Virtuozzo 6 destination via the "pmigrate" tool, it may fail with the following message:
Can't move/copy CT#CTID - CT#CTID, [], [] : Can't migrate this private area on shared FS (old layout)
Cause
The container has an old VZFS layout (VZFS3 or layout 3).
Resolution
Convert the container to the latest VZFS4 layout prior to the migration:
-
Upgrade the OS template:
~# vzpkg upgrade area OS_Template_Name -
Convert the container to the new layout:
~# vzctl convert CTID -
Upgrade the container's VZFS version:
~# vzfsutil -t /vz/template/ /vz/private/CTID --upgrade -
Retry the migration.
NOTE: The container should be stopped and not mounted during conversion.
Related issue:
Container converted from VZFS3 to VZFS4 got incorrect layout