[Users] OpenVZ 7 -- ploop compact not implemented?

Kirill Kolyshkin kolyshkin at gmail.com
Mon Aug 21 13:11:01 MSK 2017


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 <bkb at 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-bounces at openvz.org [mailto:users-bounces at openvz.org] On Behalf
> Of Artyom Tolstobrov
> Sent: Sunday, August 20, 2017 17:51
> To: users at 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 at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>



More information about the Users mailing list