Converting VZFS Containers to the New Layout
After upgrading your system to Parallels Cloud Server 6.0, all legacy Containers continue operating on VZFS—the file system used by Containers in previous versions of Parallels Server Bare Metal and Parallels Virtuozzo Containers.
Note:
You can convert VZFS-based Containers to the new Container-in-an-image-file (ploop) layout while you migrate them to the host running Parallels Cloud Server 6.0. To do this, use the
vzmigrate --convert-vzfs --online
command.
To convert a Container based on VZFS to use the new Container-in-an-image-file layout:
-
Make sure that the
/vz
partition is formatted as
ext4
.
Containers with the Container-in-an-image-file layout can be used only on
/vz
partitions formatted as
ext4
. For more information on converting the
/vz
partition to
ext4
, see
Creating Containers with the New Layout
.
-
Use the
vzctl convert
command to convert the Container. For example, to convert Container 101, you can run this command:
# vzctl convert 101 --velayout 5
If the
--velayout
option is omitted, the command converts a Container to the layout defined by the
VEFSTYPE
parameter in the global configuration file
/etc/vz/vz.conf
. For the Container-in-an-image-file layout, this parameter must be set to
ext4
.
|