Symptoms

The migration of a container from a Parallels Virtuozzo Containers for Linux or Parallels Server Bare Metal node to 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 Parallels Cloud Server 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.

Resolution

Convert the container to the latest VZFS layout prior to the migration:

  1. Upgrade the OS template:

    ~# vzpkg upgrade area OS_Template_Name
    
  2. Convert the container to the new layout:

    ~# vzctl convert CTID
    
  3. Upgrade the container's VZFS version:

    ~# vzfsutil -t /vz/template/ /vz/private/CTID --upgrade
    
  4. Retry the migration.

NOTE: The container should be stopped and not mounted during conversion.

Related issue:

118971 Container converted from VZFS3 to VZFS4 got incorrect layout

Internal content