Indeed, pcompact is just a wrapper that essentially running ploop
balloon discard for all containers
(as you can see by reading its source code at
https://src.openvz.org/projects/OVZ/repos/pcompact/browse/main.c)

vzctl compact from OpenVZ Legacy was also a wrapper, just for
individual containers, that saved you the hassle
of figuring out the path to DiskDescriptor.xml and typing 'ploop
balloon discard'.

What's new is defrag option, that runs OpenVZ's ext4 defragmenter,
e4defrag2, written by Dmitry Monakhov.
Its source code is at https://github.com/dmonakhov/e2fsprogs/tree/e4defrag2

Kir

On 20 August 2017 at 20:14, Konstantin Bukharov <b...@virtuozzo.com> wrote:
> Hi Artyom,
>
>
>
> No, it’s not dropped. Look at ‘man ploop’, look for:
>
>
>
>        ploop balloon discard [--automount] [--to-free size] [--min-block
> min_size] [--defrag] DiskDescriptor.xml
>
>
>
> Best regards,
>
> Konstantin
>
>
>
>
>
>
>
> From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf
> Of Artyom Tolstobrov
> Sent: Sunday, August 20, 2017 17:51
> To: users@openvz.org
> Subject: [Users] OpenVZ 7 -- ploop compact not implemented?
>
>
>
> After version 6 to 7 upgrade (clean install, VEs moved through vzmigrate) I
> found that "vzctl compact" is no longer supported.
>
>
>
> Documentation suggests I should use "pcompact" but if fails with "Login
> failed: Unable to connect to Virtuozzo" message (which suggests that it is
> only for the commercial version).
>
>
>
> Is ploop compacting dropped from version 7?
>
>
>
> --
>
> Best Regards,
>
> Artyom
>
>
> _______________________________________________
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>

_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to